|
Parvez, As with any program that runs in batch it can be initially debugged interactively. In the instance you describe all you need to do is get the data queue and program in question into a test environment, start debug on the program, and then call the program. You can then step through every line in the program. You might want to compile the program with debug view as *LIST. This will make any copied statements available for debugging also. Debugging your program this way should help you eliminate most bugs in your ILE RPG program. Any bugs related to database overrides, etc. may still remain. But, you can use the same technique to find them also. Just apply it to the CL. -- Gary Monnier garymon@powertechgroup.com The PowerTech Group 253.872.7788 PowerLock Network Security www.400security.com -----Original Message----- From: owner-rpg400-l@midrange.com [mailto:owner-rpg400-l@midrange.com]On Behalf Of Parvez Mirza Sent: Thursday, August 02, 2001 6:38 AM To: RPG400-L@midrange.com Subject: How to Debug ILE RPG Batch Pgm Hi, There is an ILE RPG Batch Program which posts Transactions. It accepts data from Data Queue and then processes it. My problem is that I'm not able to debug that program. The program was running in batch. I did STRSRVJOB and then STRDBG. But when I reached there in the program, I pressed F10=Step and the program came out. Could you please suggest me how to do it. How to add the break points. ADDTRC doesn't work with ILE. Thanx, Parvez _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | 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-2025 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.