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
 
Given DSN belongs to which Team..?
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL
Author Message
gcicchet

Active User


Joined: 28 Jul 2006
Posts: 156

PostPosted: Mon May 05, 2008 4:26 am    Post subject:
Reply with quote

Hi Anuj,
if you have FILEAID, you can also use it to list the volumes

Code:
//STEP0001 EXEC PGM=FILEAID                                 
//SYSPRINT DD SYSOUT=*                                     
//SYSLIST  DD DSN=OUTPUT DSN,                               
//            DISP=(,CATLG,DELETE),                         
//            UNIT=SYSDA,                                   
//            SPACE=(TRK,(50,10),RLSE),                     
//            DCB=(RECFM=FBM,LRECL=133,BLKSIZE=27930)       
//SYSIN    DD *                                             
$$DD01 VTOCDSN UNIT=3390,DSNAME=*,VOLSER=(CTL0)             
/*                                                         


Above example will list all volumes prefixed with CTL0

Gerry
Back to top
View user's profile Send private message
References
PostPosted: Mon May 05, 2008 4:26 am    Post subject: Re: Reply with quote

Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 HoursGoto page Previous  1, 2, 3
Page 3 of 3