View previous topic :: View next topic
|
Author |
Message |
Govindaswamy
New User
Joined: 26 Dec 2007 Posts: 5 Location: india
|
|
|
|
Hi,
A PDS has nearly 2000 members , I need to submit all the jobs in that PDS. Is there any command to do it? If so how? |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Although it sounds to me like a bad practice or bad planning, you can automate it pretty easily using REXX. Simply loop through all members in the PDS (either with LMMLIST or LISTDS) and issue SUBMIT for each one of them.
O. |
|
Back to top |
|
|
Govindaswamy
New User
Joined: 26 Dec 2007 Posts: 5 Location: india
|
|
|
|
Hi ofer71,
Im running these jobs to do a JCL ERROR check ie TYPRUN=SCAN in all these jobs. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Do you have some JCL check utility at your shop? These tools should have a process to test a complete PDS (I know JCLCheck have...)
O. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Govindaswamy wrote: |
I need to submit all the jobs in that PDS. |
Experment or a business requirement it is? |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
It would take about 3 minutes to create a dataset with a list of members from ISPF Option 3.1, edit it and create SUB commands for all the members. |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
if you have FILEAID you can run the following:-
Code: |
//FILEAID EXEC PGM=FILEAID
//SYSPRINT DD SYSOUT=*
//DD01 DD DSN=INPUT.IBM, PDS-NAME
// DISP=SHR
//DD01O DD SYSOUT=(A,INTRDR)
//SYSIN DD *
$$DD01 COPY MEMBERS=ALL
|
Gerry |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
If you copy these into one file, then one SUBMIT should do, as it will submit the entire job stream. You don't need a separate SUBMIT for each job. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
go to option 3.4
list Your pds
put an m ( member list ) in front of it
in the command line enter "s * sub" |
|
Back to top |
|
|
|