View previous topic :: View next topic |
Author |
Message |
ds390 Beginner
Joined: 23 Jan 2007 Posts: 82 Topics: 39
|
Posted: Sun Jul 15, 2007 10:09 am Post subject: Submit 3 JCL's together. |
|
|
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 |
|
 |
CICS Guy Intermediate
Joined: 30 Apr 2007 Posts: 292 Topics: 3
|
Posted: Sun Jul 15, 2007 10:43 am Post subject: |
|
|
How about typing "sub" on all three lines?
How about putting them in the same member and sub that? |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12377 Topics: 75 Location: San Jose
|
Posted: Sun Jul 15, 2007 11:09 am Post subject: |
|
|
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 |
|
 |
ofer71 Intermediate
Joined: 12 Feb 2003 Posts: 358 Topics: 4 Location: Israel
|
Posted: Mon Jul 16, 2007 12:30 am Post subject: |
|
|
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 |
|
 |
Bill Dennis Advanced

Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Mon Jul 16, 2007 7:55 am Post subject: |
|
|
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 |
|
 |
Cogito-Ergo-Sum Advanced
Joined: 15 Dec 2002 Posts: 637 Topics: 43 Location: Bengaluru, INDIA
|
Posted: Wed Jul 18, 2007 1:27 am Post subject: |
|
|
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 |
|
 |
vjkumk Beginner
Joined: 28 Sep 2005 Posts: 98 Topics: 33
|
Posted: Sun Aug 12, 2007 8:27 am Post subject: |
|
|
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 |
|
 |
|
|