LegacyJ CICS and COBOL technology for the J2EE Enterprise Environment

Products     Services     Support     Sales     News     Partners

  

Academic
Programs

Customer
Information

News &
Information

Technical
Information

White
Papers

About Us

LegacyJ FAQ

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

PERCobol

Home         About Us         Privacy        Legal        
© Copyright LegacyJ Corp. 1998, 2005
All Rights Reserved.

All trademarks are the properties of their respective owners or licensers.