FAQ > PERCobol Compiler Notes > SELECT xxxx ASSIGN statement
I could not resolve an error that is claiming that the wrong file has generated in error. I think the issue is in my original source; it has a SELECT xxxx ASSIGN statement in it and the compiler generates an error. The message generated by the compiler is:
Y2KWINP 0: (Col 0) PRC2318E Could not resolve variable UT-S-GBSRPT
Answer:
The compiler could not resolve errors, and is saying that a forward reference was never resolved; the resolution could have occurred anywhere in the program, so the discovery of the error is not until the program is completely compiled.
The SELECT id_file ASSIGN TO external_filename does vary between compilers. You may have not included the filename in quotes (either double or single); if not included in quotes, it's assumed to be a variable name which will hold the filename at the time of the OPEN. If it's an external name instead of a variable name, then the variable will never 1- Under IDE when compiling with debug mode , seems that the name of program
Last updated on December 28, 2009 by Daniel Myers
