Differences

This shows you the differences between two versions of the page.

Link to this comparison view

crtsqlrpgi_-_record_length_to_small [2021/04/05 11:23] (current)
Line 1: Line 1:
 +====== CRTSQLRPGI - record length to small ======
 +
 +As we can code in **FREE and also include copybooks from the IFS the record length of the default temporary files for creating RPG programs with embedded SQL may be too small.
 +
 +A workaround is to create a source physical file on your own with an appropriate record length.
 +
 +    CRTSRCPF FILE(QTEMP/QSQLPRE) RCDLEN(200)
 +
 +{{tag>ibm devel rpg sql}}