Hi,
I'm new to Cobol and I'm trying to write an interactive program that allows you to enter a customer number and the resulting customer info is displayed (this is stored in another file).
I've encounted these errors -
1) "Variable is previously defined in program, use cannot be determined. Default item is assumed."
2) "file is not externally described, keyed file. External key specification ignored"
> I've created a DDS for the customer file that declares a key, however my program is not recognizing it. As a result, I have tried to declare the fields in my program.
3) In my screen display, the user enters a customer number. however, the program isn't reading it.
I know I probably don't make sense...thanks in advance to anyone who may have some tips!
cheers!
I'm new to Cobol and I'm trying to write an interactive program that allows you to enter a customer number and the resulting customer info is displayed (this is stored in another file).
I've encounted these errors -
1) "Variable is previously defined in program, use cannot be determined. Default item is assumed."
2) "file is not externally described, keyed file. External key specification ignored"
> I've created a DDS for the customer file that declares a key, however my program is not recognizing it. As a result, I have tried to declare the fields in my program.
3) In my screen display, the user enters a customer number. however, the program isn't reading it.
I know I probably don't make sense...thanks in advance to anyone who may have some tips!
cheers!