I have been gradually converting RPG II programs to RPG/400 programs and running them in the S/36 Environment using OCL procedures. During this step-by- step conversion process, one of my RPG/400 programs crashed due to a missing file. The missing file, which was a program-described file, should have been built according to the method traditionally used on the S/36, which places the // FILE NAME-xxx,RECORDS-xxx statement between the LOAD and RUN statements. It seems that this method will not work after // LOADing an RPG/400 program. After removing the RECORDS parameter from the // FILE statement and using the BLDFILE procedure to create the file beforehand, the RPG/400 program ran successfully.
Using //FILE to Build Files
Typography
- Smaller Small Medium Big Bigger
- Default Helvetica Segoe Georgia Times
- Reading Mode
LATEST COMMENTS
MC Press Online