× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: How to debug a batch job?
  • From: SHISHIRKSINGH <SHISHIRKSINGH@xxxxxxx>
  • Date: Mon, 7 Feb 2000 17:22:21 +0530

1) Hold the jobq in which the job is to be submitted.
2) Submit the job.
3) Hold the job and release the jobq(it's a good practice to hold the job
and release the jobq).
4) STRSRVJOB on the submitted job.
5) STRDBG on the program/programs u want to debug.
6) F3.
7) Release the held job.
7) A screen will be displayed prompting u to press F10 or enter. Press F10.
This will take you to      
   command line. Type DSPMODSRC.
7) The source for the program is shown. Put break points whereever req.
8) F3. The screen as described in point 7 is again shown. This time press
Enter to start the job.
9) Ur job starts running and the the program will stop at the first break
point encountered.

After debug is ober, do ENDDBG and then ENDSRVJOB.


Happy debugging ..:)

Cheers
Shishir

 
-----Original Message-----
From: Seenivasan A K K, Gurgaon [mailto:akks@ggn.hcltech.com]
Sent: Monday, February 07, 2000 3:09 PM
To: RPG400-L@midrange.com
Subject: How to debug a batch job?


Hi all,
        Sorry for again asking this question. I know some one has already
sent a answer for this query in detail. I have deleted that one. Please send
me the detail once again. Thanks in advance.

Thanks & Regards,
Vasan.
+---
| 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 thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.