|
Hope this helps..... Todd IBM Support Line Technical Document Document Title: Determining if an RPG OPM Program Was Compiled Using IGNDECERR Document Description: When RPG programs are created with the CRTRPGPGM command, you can specify *YES o r *NO for the 'IGNORE DECIMAL DATA ERROR' (IGNDECERR) OPTION. Currently there is no system command that shows what value w as specified for the IGNDECERR option. The following is a method to determine if an RPG program was created with the IG NDECERR(*YES) option. Display program variable ZIGNDECD in the DEBUG mode. If its a '1', then 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, exit the program by pressing F3. Do not attempt to continue running the RPG program. -----Original Message----- From: Bob cozzi [mailto:cozzi@xxxxxxxxx] Sent: Wednesday, May 28, 2003 3:52 PM To: rpgiv@xxxxxxxxxxxxxxx Cc: rpg400-l@xxxxxxxxxxxx Subject: IGNDECERR info Does anyone know how to read/retrieve whether or not a program was compiled with the IGNDECERR(*YES) parameter set? I'm finding the FIXNBR attribute in the various DSPxxx commands and APIs but no the ignore decimal data error. Thanks Bob Cozzi
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.