How to compile the RPG program when declared file does not exist on the system?
Page 1 of 1
How to compile the RPG program when declared file does not exist on the system?
There is a situation when we have to use the file which does not exist. In such a case, we would use an OVRDBF command to point to another file with the same layout.
But no need to do this, use the EXTDESC keyword instead of. EXTDESC keyword to an F-spec to indicate the actual file to use when compiling the program
Example:
EXTDESC( 'EMPMST' )
EXTDESC( '*LIBL/EMPMST' )
EXTDESC( 'PMS/EMPMST' )
But no need to do this, use the EXTDESC keyword instead of. EXTDESC keyword to an F-spec to indicate the actual file to use when compiling the program
Example:
EXTDESC( 'EMPMST' )
EXTDESC( '*LIBL/EMPMST' )
EXTDESC( 'PMS/EMPMST' )
Similar topics
» Restoring Spooled File Data After a System Restore
» Wanted to retain the spool file and remove the Job from the system after the jobs ends. How???
» Lower level program error handled in Higher level program
» What are the reasons a logical file may be "dropped" during the File definition load process?
» Define term 'File Type' and list various file types.
» Wanted to retain the spool file and remove the Job from the system after the jobs ends. How???
» Lower level program error handled in Higher level program
» What are the reasons a logical file may be "dropped" during the File definition load process?
» Define term 'File Type' and list various file types.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum