list of members with PDS name.



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

list of members with PDS name.

Postby ranga_subham » Fri Oct 14, 2011 6:43 pm

Hi,

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

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


Thanks.
ranga_subham
 
Posts: 279
Joined: Fri Jul 18, 2008 7:46 pm
Has thanked: 0 time
Been thanked: 1 time

Re: list of members with PDS name.

Postby Akatsukami » Fri Oct 14, 2011 6:51 pm

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?
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: list of members with PDS name.

Postby BillyBoyo » Fri Oct 14, 2011 7:26 pm

"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"... :-)
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: list of members with PDS name.

Postby dick scherrer » Fri Oct 14, 2011 8:12 pm

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
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: list of members with PDS name.

Postby steve-myers » Fri Oct 14, 2011 9:20 pm

IEHLIST. though it's fairly difficult to use.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: list of members with PDS name.

Postby ranga_subham » Tue Oct 18, 2011 4:01 pm

Hi, I used IEHLIST but not got the results in expected way !

Thanks.
ranga_subham
 
Posts: 279
Joined: Fri Jul 18, 2008 7:46 pm
Has thanked: 0 time
Been thanked: 1 time

Re: list of members with PDS name.

Postby Akatsukami » Tue Oct 18, 2011 6:14 pm

ranga_subham wrote:Hi, I used IEHLIST but not got the results in expected way !

And what did you expect?
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: list of members with PDS name.

Postby dick scherrer » Tue Oct 18, 2011 10:32 pm

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.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: list of members with PDS name.

Postby ranga_subham » Wed Oct 19, 2011 4:02 pm

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.
ranga_subham
 
Posts: 279
Joined: Fri Jul 18, 2008 7:46 pm
Has thanked: 0 time
Been thanked: 1 time

Re: list of members with PDS name.

Postby dick scherrer » Wed Oct 19, 2011 10:59 pm

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. .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post