Troubleshooting
Problem
When RPG programs are created with the CRTRPGPGM command, you can specify *YES or *NO for the 'IGNORE DECIMAL DATA ERROR' (IGNDECERR) OPTION. Currently there is no system command that shows what value was specified for the IGNDECERR option.
Resolving The Problem
When RPG programs are created with the CRTRPGPGM command, specify *YES or *NO for the 'IGNORE DECIMAL DATA ERROR' (IGNDECERR) OPTION. Currently, there is no system command that shows what value was specified for the IGNDECERR option.
Following is a method to determine if an RPG program was created with the IGNDECERR(*YES) option. Display program variable ZIGNDECD in the DEBUG mode. If it is 1, DECIMAL DATA ERRORS are IGNORED.
This can be done by using the following CL COMMANDS:
STRDBG PGM(PGMNAME) UPDPROD(*NO)
ADDBKP STMT('/1') PGMVAR(ZIGNDECD)
CALL PGMNAME
Parameters are not required for the CALL. After the variable is displayed, press F3 to exit the program.
Do not attempt to continue running the RPG program.
Historical Number
13760031
Was this topic helpful?
Document Information
Modified date:
18 December 2019
UID
nas8N1018254