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

Reply via email to