|
Hans: boldt@ca.ibm.com wrote: > 1) What do you normally do in a *PSSR? Do you do more than > DUMP and give the user a "submit an APAR" message? Most of the time, the graceful exit. Currently use QMHMOVPM and return to the called cl program for it to display the message and send a message to the "idiot" (me). > 2) If you return back into the program, where do you normally > resume processing? Also, how do you distinguish between > expected and unexpected exceptions? Sometimes *GETIN or *DETL. Of course, this is useless if program is not doing rpg fixed cycle. > 3) In what situations would you use a *CONTINUE option on the > ENDSR? > Like a divide overflow, record locks, receiver variable length not sufficient etc. anybody heard of 10000.0001 and eval? I am sure there are more situations, but *CONTINUE leaves the control of the error in our hands. *GETIN, *TOTC, *DETL, *CANCL etc. are just inflexible. Give me the *CONTINUE and an updated PSDS on the error and I can take care of myself. PSDS does have some vague statement number field available 8-) -- Thank You. Regards Dave Mahadevan.. mailto:mahadevan@fuse.net * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is the RPG/400 Discussion Mailing List! To submit a new * * message, send your mail to "RPG400-L@midrange.com". To unsubscribe * * from this list send email to MAJORDOMO@midrange.com and specify * * 'unsubscribe RPG400-L' in the body of your message. Questions should * * be directed to the list owner / operator: david@midrange.com * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
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.