MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Submit 3 JCL's together.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
ds390
Beginner


Joined: 23 Jan 2007
Posts: 82
Topics: 39

PostPosted: Sun Jul 15, 2007 10:09 am    Post subject: Submit 3 JCL's together. Reply with quote

Hi,

I have three JCL's ready in a PDS. I need to find an easy way to submit them all together in one shot.

What is the best way of doing it?
Back to top
View user's profile Send private message
CICS Guy
Intermediate


Joined: 30 Apr 2007
Posts: 292
Topics: 3

PostPosted: Sun Jul 15, 2007 10:43 am    Post subject: Reply with quote

How about typing "sub" on all three lines?
How about putting them in the same member and sub that?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12377
Topics: 75
Location: San Jose

PostPosted: Sun Jul 15, 2007 11:09 am    Post subject: Reply with quote

ds390,

1. Open the PDS in edit/browse mode

2. Type J on the left hand side on the 3 members you want submit and press enter

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ofer71
Intermediate


Joined: 12 Feb 2003
Posts: 358
Topics: 4
Location: Israel

PostPosted: Mon Jul 16, 2007 12:30 am    Post subject: Reply with quote

OR write a small REXX:
Code:
ADDRESS TSO "SUBMIT 'MY.PDS(JOBA)'"
ADDRESS TSO "SUBMIT 'MY.PDS(JOBB)'"
ADDRESS TSO "SUBMIT 'MY.PDS(JOBC)'"


O.
________
herbalire vaporizer review


Last edited by ofer71 on Sat Feb 05, 2011 12:02 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Mon Jul 16, 2007 7:55 am    Post subject: Reply with quote

How about a batch JCL to concatenate and pass them to INTRDR?
Code:
//J   EXEC PGM=IEBGENER                                 
//SYSPRINT   DD    DUMMY                               
//SYSUT1     DD    DSN=your.PDS(JOB1),DISP=SHR 
//           DD    DSN=your.PDS(JOB2),DISP=SHR 
//SYSUT2     DD    SYSOUT=(A,INTRDR),DCB=BLKSIZE=80     
//SYSIN      DD    DUMMY                                 

_________________
Regards,
Bill Dennis

Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.
Back to top
View user's profile Send private message
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Wed Jul 18, 2007 1:27 am    Post subject: Reply with quote

Or, code a new member which holds the contents of all the other PDS members. In other words, three or more job cards (and the subsequent JCL statements, of course) in a single PDS member. Then, type SUB on the command line, or type J against the member name in 3.4, or direct them to INTRDR, etc.
_________________
ALL opinions are welcome.

Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes.
Back to top
View user's profile Send private message
vjkumk
Beginner


Joined: 28 Sep 2005
Posts: 98
Topics: 33

PostPosted: Sun Aug 12, 2007 8:27 am    Post subject: Reply with quote

the simple way is to have all the jcls in to one single member of pds and submit,then 3 jobs will be submitted.

example:
//job1 job ....
-----
----
//job2 job ...
---
---

//job3 job ...
--
--


cheers,
vj
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group