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
 
Executing the JCLSs in a PDS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    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

gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

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: 8666
Location: Back in jolly old England

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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Error executing Java program in OSGI ... danik56 CICS 0 Thu Apr 26, 2018 12:16 am
This topic is locked: you cannot edit posts or make replies. Unavailable RECON datasets while exec... abdulrafi JCL & VSAM 10 Fri Apr 06, 2018 12:45 pm
No new posts IMS error U4038 while executing my PL... abdulrafi IMS DB/DC 2 Thu Feb 08, 2018 1:05 pm
No new posts SQLCODE 518 while executing DB2 module. abdulrafi DB2 8 Wed Feb 07, 2018 10:46 am
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm

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