Browse / View dataset

Browse / View dataset

Browse / View dataset

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

RE: Browse / View dataset

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.