Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Browse / View dataset

Status
Not open for further replies.

sandjlee

Programmer
Jan 9, 2015
4
CA
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
 
First, this is not a macro - macro is shorthand for 'edit macro' and needs to be executed within Edit or View.
Otherwise your logic is about correct. However, you can save yourself a lot of hassle by getting th program from the web. Not sure where #'i got mine but maybe from Marc Zelden.


Nic
 
Could please let me know where I can get this from Web?
 
I already gave you a big clue although Marc may be spelt Mark


Nic
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top