Hello,
I'm trying to write a REXX Macro that can browse / view dataset which its name is in the DD card in JCL without copying and splitting screen and paste it in ISPF option 1 or 2 or 3.4.
1. enter the macro on command line
2. move cursor to a specific line which DD card is located
3. enter
4. browse dataset which is already allocated
I think I have to examine followings first but have no idea what to do.:
1. locate the cursor position first and
2. decode the line contains the DD card
3. retrieve dataset name
4. performs Browse / View dataset
Please guide me how to start.
Thanks,
Jong
I'm trying to write a REXX Macro that can browse / view dataset which its name is in the DD card in JCL without copying and splitting screen and paste it in ISPF option 1 or 2 or 3.4.
1. enter the macro on command line
2. move cursor to a specific line which DD card is located
3. enter
4. browse dataset which is already allocated
I think I have to examine followings first but have no idea what to do.:
1. locate the cursor position first and
2. decode the line contains the DD card
3. retrieve dataset name
4. performs Browse / View dataset
Please guide me how to start.
Thanks,
Jong