|
Regina
The last posting I submited was wrong. This how I debug a job that is submitted
to batch.
I use a CL program to pause the program. The do a strsrvjob to debug it.
James
*---------------------------------------------------------------*
0000-MAIN-SECTION.
*---------------------------------------------------------------*
CALL 'DELAYCL'
PERFORM 8000-INITIALIZATION THRU 8000-EXIT.
START: PGM
DCL VAR(&TIME) TYPE(*CHAR) LEN(03)
DLYJOB DLY(&TIME)
EXIT: ENDPGM
-----Original Message-----
From: regina.c.rafols@xxxxxxxxxxxxx
[mailto:regina.c.rafols@xxxxxxxxxxxxx]
Sent: Wednesday, February 19, 2003 11:08 PM
To: cobol400-l@xxxxxxxxxxxx
Subject: STRSRVJOB - Job cannot be serviced.
Hi All,
I'm trying to debug a batch job. I did the following:
1. Submit job
2. Hold job (Job queue is set to auto-release, but job isn't running)
3. Do a STRSRVJOB
Problem is, I get a message saying, Job cannot be serviced.
Does this have to do with the job queue? The job queue for this
particular job is set to auto-release. Is there any way I can debug this
without having to change the default queue of the job? I don't have the
authority to change the default job queues.
_______________________________________________
This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing list
To post a message email: COBOL400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/cobol400-l
or email: COBOL400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/cobol400-l.
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.