× 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.




You can do the DLYJOB, or if you hate to wait while the timer expires, you
can use the following program:

PGM

DCL    VAR(&MSGRPY)   TYPE(*CHAR)  LEN(1)
DCL    VAR(&USER)     TYPE(*CHAR)  LEN(10)

             RTVJOBA USER(&USER)
             SNDUSRMSG  MSG('Type ''C'' to continue...') VALUES(C c) +
                          DFT(C) TOUSR(&USER) MSGRPY(&MSGRPY)

ENDIT:
ENDPGM

Compile this program.

In the program you wish to debug, insert a CALL statement to this CL
program.

Submit the program to debug as a batch job.

When the CL program executes, the "Type 'C' to continue..." message will
appear in your user message queue.

Start your debug on the batch job with the STRSRVJOB/STRDBG commands.

Respond to the continue message.  The batch job will resume and your debug
should start, provided a breakpoint
gets tripped...

Hope this helps...

-Doc






devdmg @ silvon-server.uisinc.com on 25/09/97 22:46:15

Please respond to MIDRANGE-L@midrange.com

To:   tgrider @ arkansas.net, MIDRANGE-L @ midrange.com
cc:    (bcc: Ed Doxtator/SSAOT)
Subject:  Re: Batch Debug




On 25 Sep 97 at 13:34, Terry Grider wrote:
> Sorry to ask about something that's already been answered here
> before, but I'm unable to find the message I thought I had saved.
> Anyway, what are the steps to run the debugger on a program
> submitted to batch?
The easiest way is to inbed a "DLYJOB DLY(<# of seconds>)" at the
beginning of the CL with enough time for you to bring the debugger
up.
david
--
David Gibbs
Sr. Software Engineer
Silvon Software
Westmont, IL
(630) 655-3313 x6479
http://www.silvon.com
mailto:david.gibbs@silvon.com
Opinions expressed are strictly my own and do
not necessarily reflect those of my employer
Sometimes you have loose your mind to come to your senses.

                   -- DMRoth
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MAJORDOMO@midrange.com
|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---




+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MAJORDOMO@midrange.com
|    and specify 'unsubscribe MIDRANGE-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 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.