|
The start up is in batch. Here is an example:
DCL VAR(&JOBNAME) TYPE(*CHAR) LEN(10) VALUE('XXXXXXXXXX')
DCL VAR(&JOB ) TYPE(*CHAR) LEN(10)
DCL VAR(&TYPE) TYPE(*CHAR) LEN(1)
/* SELF SUBMITT TO BATCH
SUBMIT: RTVJOBA JOB(&JOB) TYPE(&TYPE)
RESUBMIT: IF COND((&TYPE *EQ '1') *OR (&JOB *NE +
&JOBNAME)) THEN(DO)
SBMJOB CMD(CALL PGM(XYZZY) PARM(&PARM1)) +
JOB(&JOBNAME) DSPSBMJOB(*NO ) MSGQ(*NONE)
GOTO CMDLBL(ENDPGM)
ENDDO
-----Original Message-----
From: Goodbar, Loyd (AFS-Water Valley) [mailto:LGoodbar@afs.bwauto.com]
Sent: Friday, June 21, 2002 6:23 AM
To: 'midrange-l@midrange.com'
Subject: Startup progeam batch or interactive
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--
[ Picked text/plain from multipart/alternative ]
We have several "self-submit-to-batch" programs that we are considering
adding to the startup program. Is the startup program considered batch or
interactive? Either from an IPL or coming out of restricted state. I don't
want to run into the situation that the startup program is batch, then our
job will "hang up" the startup program.
Thanks,
Loyd
This mailing list archive is Copyright 1997-2026 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.