To get the datasetname inside the pds



IBM's Command List programming language & Restructured Extended Executor

To get the datasetname inside the pds

Postby airan002 » Wed Feb 18, 2009 2:59 am

Hi,

I want to get the datasetname inside the PDS. I knows to get the dataset name if i am in the editor but i am in the pds where i can see the member list. Is there any macro which give the current pds name?
airan002
 
Posts: 4
Joined: Fri Feb 13, 2009 12:59 am
Has thanked: 0 time
Been thanked: 0 time

Re: To get the datasetname inside the pds

Postby MrSpock » Wed Feb 18, 2009 3:29 am

A macro can only be executed from an ISPF EDIT or VIEW session. If I'm reading your topic correctly, then it appears that you're not in an active EDIT/VIEW session, so I'd have to say no.
User avatar
MrSpock
Global moderator
 
Posts: 807
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times

Re: To get the datasetname inside the pds

Postby airan002 » Wed Feb 18, 2009 3:41 am

so, is it not possbile to get the dsname out the member. There must be some system variable which stores the value of the ds name.
airan002
 
Posts: 4
Joined: Fri Feb 13, 2009 12:59 am
Has thanked: 0 time
Been thanked: 0 time

Re: To get the datasetname inside the pds

Postby dick scherrer » Wed Feb 18, 2009 3:53 am

Hello,

so, is it not possbile to get the dsname out the member.
Correct - the dsn is not "in" the member - the data is in the member.

I knows to get the dataset name if i am in the editor but i am in the pds where i can see the member list.
This confuses me. . . If you are not in the editor, how do you see the member list? How are you "in the pds"?

If you explain what you are trying to accomplish, someone may have a suggestion.
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 CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post