smoningi
New User
Joined: 14 Jul 2011 Posts: 8 Location: Hyderabad, INDIA
|
|
|
|
Hi,
I want to get the dataset name from which the my rexx program is being executed. I have used Parse Source command.
Code: |
PARSE SOURCE A B C D E F |
When I am executing my rexx program directly from the dataset, I am getting the dataset name into E variable.
Quote: |
TSO COMMAND EXAMPLE1 SYS00105 DEVSXM2.CLIST.TEST ? TSO ISPF ? |
But When I am executing my rexx program as a TSO command like "TSO program name", I am getting the E variable as ?.
Quote: |
TSO COMMAND EXAMPLE1 SYSEXEC ? ? TSO ISPF ? |
So, is there any other way to get the dataset name in the second case? |
|