How to resolve error "Error Reading input G1FILE - File Status = 04" when installing Canadian CODE-1 Plus database on IBMi platform

UPDATED: April 28, 2017

The error:

Error Reading input G1FILE - File Status = 04 

typically means the record length of the file on the IBMi machine is incorrect.  The recommendation would be to create a physical file in a user's library that has an LRECL of 24576 and set with *NOMAX for maximum number of initial records (by default is 10k) for the TAPBLK01.CD file.  Make certain to FTP the TAPBLK01.CD file as binary to this physical file.  Then proceed with the database install.


Environment Details

Operating System: IBMi, I-series



  • No Downloads