Knowing PDS name



IBM's Command List programming language & Restructured Extended Executor

Knowing PDS name

Postby samb01 » Tue Sep 29, 2015 2:57 pm

Hell,

what is the command to know the PDS name when you are in a member ofthis PDS...


Thank's for your help.
samb01
 
Posts: 239
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Knowing PDS name

 

Re: Knowing PDS name

Postby BillyBoyo » Tue Sep 29, 2015 2:59 pm

I use the command "look, with eyes, at line above command line".

However, your question is very unclear.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 264 times

Re: Knowing PDS name

Postby prino » Tue Sep 29, 2015 6:48 pm

/* REXX */
"isredit macro"
"isredit (DSN) = dataset"
say dsn
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 536
Joined: Wed Mar 11, 2009 12:22 am
Location: Oostende, Belgium
Has thanked: 3 times
Been thanked: 21 times

Re: Knowing PDS name

Postby steve-myers » Tue Sep 29, 2015 7:04 pm

As BillyBoyo says, your request is most unclear.
  • As PRINO says, if you are editing or browsing a member on ISPF, what you want is right in front of your eyes.
  • If your are running a binary program, I know no practical way to obtain this information. I have never used the CSVINFO or CSVQUERY macros, but they do not seem to return the information you want.
  • I know of no API to retrieve this information for a Rexx EXEC.
steve-myers
Global moderator
 
Posts: 1886
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 197 times

Re: Knowing PDS name

Postby samb01 » Tue Sep 29, 2015 7:35 pm

prino wrote:
/* REXX */
"isredit macro"
"isredit (DSN) = dataset"
say dsn



Hello, thank's a lot.
It is the solution.
I'm so happy to see that someone anderstand my "bad" english :D
samb01
 
Posts: 239
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Knowing PDS name

Postby prino » Tue Sep 29, 2015 9:50 pm

samb01 wrote:
prino wrote:
/* REXX */
"isredit macro"
"isredit (DSN) = dataset"
say dsn



Hello, thank's a lot.
It is the solution.
I'm so happy to see that someone anderstand my "bad" english :D

Actually, it's not the solution, as it will fail miserably in a REXX exec that is executed by TSO EX 'mypds.exec(whatever)'
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 536
Joined: Wed Mar 11, 2009 12:22 am
Location: Oostende, Belgium
Has thanked: 3 times
Been thanked: 21 times

Re: Knowing PDS name

Postby BillyBoyo » Wed Sep 30, 2015 1:29 am

It's is not your English which was the problem, it was the lack of even a clue as to what you were trying to do, where you were trying to do it, or why.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 264 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post