|
Thanks to everyone who replied. We do have the debug method and were looking for a way to check the thousands of OPM RPGIII programs for the INGDECERR(*YES) attribute before moving some of them to RPGIV. Thanks again. Bob Cozzi Cozzi Consulting www.rpgiv.com -----Original Message----- From: todd.sabella@xxxxxxxxxx [mailto:todd.sabella@xxxxxxxxxx] Sent: Wednesday, May 28, 2003 3:28 PM To: rpg400-l@xxxxxxxxxxxx; rpgiv@xxxxxxxxxxxxxxx Subject: RPGIV: RE: IGNDECERR info 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 ------------------------ Yahoo! Groups Sponsor ---------------------~--> Get A Free Psychic Reading! Your Online Answer To Life's Important Questions. http://us.click.yahoo.com/Lj3uPC/Me7FAA/CNxFAA/saFolB/TM ---------------------------------------------------------------------~-> Use the RPG ToolKit for OS/400 and make difficult tasks easy! http://www.rpgiv.com/toolkit To unsubscribe from this list send an email to: rpgiv-unsubscribe@xxxxxxxxxxxxxxx Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
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.