Page 1 of 1

How to "print index" of a PDS in batch mode?

PostPosted: Tue May 25, 2010 11:59 am
by phantom987
How to "print index" of a PDS in batch mode?

Re: How to "print index" of a PDS in batch mode?

PostPosted: Tue May 25, 2010 1:16 pm
by swd
Something like this will do it

//STEP10 EXEC PGM=IKJEFT01               
//SYSTSPRT DD SYSOUT=*                   
//SYSPRINT DD SYSOUT=*                   
//SYSIN DD DUMMY                         
//SYSTSIN DD *                           
LISTDS 'your.pds.dataset' MEMBERS         
/*