Page 1 of 1

list of members with PDS name.

PostPosted: Fri Oct 14, 2011 6:43 pm
by ranga_subham
Hi,

IS there any utility that gets PDS members name along with its dataset name?

Example:
PDSNAME.DATASET(MEMBER1)
PDSNAME.DATASET(MEMBER2)


Thanks.

Re: list of members with PDS name.

PostPosted: Fri Oct 14, 2011 6:51 pm
by Akatsukami
ranga_subham wrote:Hi,

IS there any utility that gets PDS members name along with its dataset name?

Example:
PDSNAME.DATASET(MEMBER1)
PDSNAME.DATASET(MEMBER2)


Thanks.

And if you don't know the DSN, how will you specify it to the utility?

Re: list of members with PDS name.

PostPosted: Fri Oct 14, 2011 7:26 pm
by BillyBoyo
"Yes, I know the DSN and I know all the member names, but it would be so covenient for my Tool if I could find something which did the output in that format so I could use it directly"... :-)

Re: list of members with PDS name.

PostPosted: Fri Oct 14, 2011 8:12 pm
by dick scherrer
Hello,

If one was actually creating a "tool", one should be able to string together the desired value using the already known dataset name and the individual member names. . . :?

Looks like i'm lost again. . .

d

Re: list of members with PDS name.

PostPosted: Fri Oct 14, 2011 9:20 pm
by steve-myers
IEHLIST. though it's fairly difficult to use.

Re: list of members with PDS name.

PostPosted: Tue Oct 18, 2011 4:01 pm
by ranga_subham
Hi, I used IEHLIST but not got the results in expected way !

Thanks.

Re: list of members with PDS name.

PostPosted: Tue Oct 18, 2011 6:14 pm
by Akatsukami
ranga_subham wrote:Hi, I used IEHLIST but not got the results in expected way !

And what did you expect?

Re: list of members with PDS name.

PostPosted: Tue Oct 18, 2011 10:32 pm
by dick scherrer
Hello,

Hi, I used IEHLIST but not got the results in expected way !
You have been here long enough to know this is not a proper post. . . :(

Why did you not post the jcl & control ststements you submitted as well as the output from the run. . . :?

If you provide nothing, we cannot help.

Re: list of members with PDS name.

PostPosted: Wed Oct 19, 2011 4:02 pm
by ranga_subham
This is what I tried

//STEP0001 EXEC PGM=IEHLIST,REGION=8M                   
//SYSPRINT DD SYSOUT=*                                   
//PDS1     DD DSN=INPUT.DATASET,DISP=SHR       
//SYSIN    DD *                                         
  LISTPDS DSNAME=INPUT.DATASET,VOL=3390=DASD12 
/*                                                       


Thanks.

Re: list of members with PDS name.

PostPosted: Wed Oct 19, 2011 10:59 pm
by dick scherrer
Hello,

This is worse than pulling teeth. . . Is there some reason you did not post the requested info. . .
Why did you not post the jcl & control ststements you submitted as well as the output from the run. .