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

How to list PDS member names in2 a flat file?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
giri_82

New User


Joined: 19 Jul 2006
Posts: 6

PostPosted: Mon Aug 28, 2006 11:36 am
Reply with quote

How to list the member names of a PDS in2 a flat file using JCL?
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Mon Aug 28, 2006 11:45 am
Reply with quote

hi,
Try this JCL.

//*THE UTILITY PGM IEHLIST LIST DOWN THE DETAILS OF THE MEMBERS IN
//*PDS ETC............
//*IN STEP NAME VOLDD VOL=SER=LTST13 LTST13 IS THE VOLUME SERIAL NO
//*IN SYSIN , VOL=3390 3390 IS THE DEVICE TYPE
//* LISTCTLG VOL=3390=LTST13 FOR UNIT INFORMATION
//PGMNAME EXEC PGM=IEHLIST
//SYSPRINT DD SYSOUT=*
//VOLDD DD UNIT=SYSDA,VOL=SER=LTST13,DISP=OLD
//SYSIN DD *
LISTPDS DSNAME=(KBY@V1.TEST.CNTL),VOL=3390=LTST13,FORMAT
/*

~Vamsi
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Mon Aug 28, 2006 11:47 am
Reply with quote

Tune this JCl to output the SYSPRINT into a dataset as per your requirement.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
Search our Forums:

Back to Top