On Sun, 20 Nov 2016 09:25:47 +0200, Mike Shorkend wrote:

>Like Walt suggested, use the PARSE SOURCE function:
>
> /*rexx*/
> parse source . . . dd dataset .
> say "DD name is " dd
> say "dataset name is " dataset
> 
By experiment, that works if the command specifies the data set and
member (in which case you already know)  If it's fetched from SYSEXEC
I get only:

          1 *-* parse source .                                                  
    
        >.>   "TSO COMMAND WHOAMIY SYSEXEC ? ? TSO ISPF ?"  

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to