Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 967
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: 10375
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 OUTREC with ALter Command scorp_rahul23 DFSORT/ICETOOL 1 Wed Nov 22, 2017 3:10 pm
No new posts How many people submit job? Pedro All Other Mainframe Topics 2 Thu Oct 26, 2017 2:59 am
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts Historical/statistical details for me... elixir1986 TSO/ISPF 13 Wed Aug 30, 2017 9:02 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us