|
Here is how to do it: 1) SBMJOB CMD(CALL PGM(yourlib/yourpgm)) JOBQ(yourlib/yourjobq) HOLD(*YES) 2) Start your Code debugger from Start->Programs->WebSphere Development... ->IBM Distributed Debugger->IBM Distributed Debugger 3) Select the debugger Start up window and key into the job name entry field */##########/* where ########## is your user id. 4) You may have to log in and specify the AS/400 system name. 5) Select the job that is being held in yourjobq. 6) Click the ok push button. 7) Enter the library and program name into the Program entry field 8) Click the Load push button on the debugger Startup information window. A debugger message will appear telling you to start the program. 9) Click Ok on the message push button, even though it tells you to start your program first. 10) Switch to a 5250 emulation window. 11) WRKJOBQ JOBQ(yourlib/yourjobq) 12) Release your job. Rob Berendt ================== A smart person learns from their mistakes, but a wise person learns from OTHER peoples mistakes. "Parvez Mirza" <meinhindustani@ho To: RPG400-L@midrange.com tmail.com> cc: Sent by: Subject: How to Debug ILE RPG Batch Pgm owner-rpg400-l@mid range.com 08/02/2001 08:38 AM Please respond to RPG400-L 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-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.