IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Executing the JCLSs in a PDS


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
som_infotech

New User


Joined: 25 Feb 2006
Posts: 38
Location: chennai-india

PostPosted: Thu May 08, 2008 11:58 pm
Reply with quote

I have 10 PDS with 100 JCLs in it and I want to submit the all the JCLs out of it. whether it is possible with any simple methods.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Fri May 09, 2008 3:51 am
Reply with quote

Hi,
here is one way if you have FILEAID.
Code:
//FILEAID  EXEC PGM=FILEAID                   
//SYSPRINT DD SYSOUT=*                         
//DD01     DD DSN=PDS1,                       
//            DISP=SHR                         
//         DD DSN=PDS2,                       
//            DISP=SHR                         
//INTRDR   DD SYSOUT=(A,INTRDR)               
//SYSIN    DD *                               
$$DD01 USER MEMBERS=ALL,WRITE=INTRDR           
/*                                             


Gerry
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri May 09, 2008 11:48 am
Reply with quote

Use REXX to get a list of members in each PDS, and then use the SUBMIT command.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts executing XCTL command in COBOL witho... CICS 10
No new posts Receiving RC 5 when executing REXX pr... CLIST & REXX 3
No new posts Issues with executing a REXX MACRO th... TSO/ISPF 4
No new posts Get name of Subsystem routine is exec... All Other Mainframe Topics 2
This topic is locked: you cannot edit posts or make replies. Control-m JOB executing even when the... Compuware & Other Tools 6
Search our Forums:

Back to Top