Oh I think I've made more than my share of mistakes of the years :)
But yeah, you have to find something close and look out if //SYSUT2
happens to be above //SYSUT1, or //FROM and //TO are not exactly what
you think they are.
On 12/22/2020 3:01 PM, Seymour J Metz wrote:
That's OK if you understand what you're copying; it can be deadly if you don't.
--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of Tom
Brennan [[email protected]]
Sent: Tuesday, December 22, 2020 3:24 PM
To: [email protected]
Subject: Re: Build and submit proc
Whew! Then I'm lucky I never really wrote any JCL - I always copy
something similar. In fact, if JCL had DNA I bet most could be traced
back to a single IEBGENER job, formed in a tide pool eons ago.
On 12/22/2020 11:14 AM, Hobart Spitz wrote:
You can do it in batch REXX.
Stop being brain-dead and thinking about everything in terms of JCL.
I've don't write JCL anymore.
JCL causes brain-damage.
On Tuesday, December 22, 2020, Jousma, David <
[email protected]> wrote:
I would build the JCL, and then FTP it with the filetype below. That
will submit and run the job.
SITE FILEtype=JES NOJESGETBYDSN
put your.modified.jcl.
____________________________________________________________
_________________________________________
Dave Jousma
AVP | Director, Technology Engineering
Fifth Third Bank | 1830 East Paris Ave, SE | MD RSCB2H | Grand
Rapids, MI 49546
616.653.8429 | fax: 616.653.2717
-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf
Of Fred Kaptein
Sent: Tuesday, December 22, 2020 12:11 PM
To: [email protected]
Subject: Build and submit proc
**CAUTION EXTERNAL EMAIL**
**DO NOT open attachments or click on links from unknown senders or
unexpected emails**
Hello,
I would like to build a JCL batch job called BACKUPS, that does the
following:
1) STEP01
Create a JCL proc in MYLIB.PROCLIB(BKUP)
2) STEP02
Execute the proc MYLIB.PROCLIB(BKUP)
My testing finds that STEP02 runs the proc in MYLIB.PROCLIB(BKUP) that was
built prior to submitting job BACKUPS.
Is there a way to do these two steps in one job and not two?
Thanks
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email
to [email protected] with the message: INFO IBM-MAIN **CAUTION
EXTERNAL EMAIL**
**DO NOT open attachments or click on links from unknown senders or
unexpected emails**
This e-mail transmission contains information that is confidential and may
be privileged. It is intended only for the addressee(s) named above. If
you receive this e-mail in error, please do not read, copy or disseminate
it in any manner. If you are not the intended recipient, any disclosure,
copying, distribution or use of the contents of this information is
prohibited. Please reply to the message immediately by informing the sender
that the message was misdirected. After replying, please erase it from your
computer system. Your assistance in correcting this error is appreciated.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN