Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Executing the JCLSs in a PDS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
Author Message
som_infotech

New User


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

PostPosted: Thu May 08, 2008 11:58 pm    Post subject: Executing the JCLSs in a PDS
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
References
PostPosted: Thu May 08, 2008 11:58 pm    Post subject: Re: Executing the JCLSs in a PDS Reply with quote

gcicchet

Active User


Joined: 28 Jul 2006
Posts: 156

PostPosted: Fri May 09, 2008 3:51 am    Post subject:
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: 2190
Location: Brussels once more ...

PostPosted: Fri May 09, 2008 11:48 am    Post subject:
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1