ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Resolving "B049 PARAMETER IGNORED" compiler error


Article ID: 16957


Updated On:


PanAudit Plus Easytrieve Report Generator PAN/SQL


Receiving this compiler error:

993 FILE RPTWRK2 F(730 13870) 

993 *******B049 PARAMETER IGNORED - 13870 

Please advise how to resolve it.


Release: EDBMSU00200-6.4-Easytrieve-Report Generator-Option for DB2-MSU


In order to code the second parameter on the FILE statement, you have to code "FB" instead of "F" for the Record Format. 

Resolved the compiler error by making the following coding changes:
    FILE RPTWRK1 FB(730 27740) 
    FILE RPTWRK2 FB(730 27740) 


Additional Information

The second parameter, the optional block-length parameter, is documented on page 122 of the Language Reference Guide for release 11.6: