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: 10254
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 TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Copying Panvalet members to PDS LOGESHWARAN K CA Products 4 Mon Mar 06, 2017 10:45 am
No new posts Customizing the ISPF HILITE Command Pedro TSO/ISPF 3 Fri Mar 03, 2017 11:49 pm
No new posts Submit job from Cobol with input data abdulrafi COBOL Programming 4 Wed Feb 01, 2017 12:41 pm
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm


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