Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

command to submit all the members in a PDS???

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Govindaswamy

New User


Joined: 26 Dec 2007
Posts: 5
Location: india

PostPosted: Thu Jan 31, 2008 2:30 pm    Post subject: command to submit all the members in a PDS???
Reply with quote

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
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Jan 31, 2008 2:56 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Govindaswamy

New User


Joined: 26 Dec 2007
Posts: 5
Location: india

PostPosted: Thu Jan 31, 2008 4:45 pm    Post subject: Reply to: command to submit all the members in a PDS???
Reply with quote

Hi ofer71,
Im running these jobs to do a JCL ERROR check ie TYPRUN=SCAN in all these jobs.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Jan 31, 2008 4:55 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Thu Jan 31, 2008 6:56 pm    Post subject: Re: command to submit all the members in a PDS???
Reply with quote

Govindaswamy wrote:
I need to submit all the jobs in that PDS.
Experment or a business requirement it is?
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Thu Jan 31, 2008 7:03 pm    Post subject:
Reply with quote

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
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Fri Feb 01, 2008 10:20 am    Post subject: Reply to: command to submit all the members in a PDS???
Reply with quote

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
View user's profile Send private message
Phrzby Phil

Active Member


Joined: 31 Oct 2006
Posts: 962
Location: Richmond, Virginia

PostPosted: Fri Feb 01, 2008 6:30 pm    Post subject:
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Fri Feb 01, 2008 6:42 pm    Post subject: Reply to: command to submit all the members in a PDS???
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts SDSF Command Avtrix CLIST & REXX 4 Fri Sep 30, 2016 11:13 am
No new posts How to find a CICS resource used in C... Arunkumar Chandrasekaran CICS 8 Thu Sep 29, 2016 1:45 pm
No new posts COMPARE command sivatechdrive TSO/ISPF 7 Fri Sep 16, 2016 4:31 pm
No new posts I am unable to use SWAPBAR ON command... mrsidhu12 TSO/ISPF 3 Thu Sep 01, 2016 1:10 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us