Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


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.



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.


RE: Browse / View dataset

Could please let me know where I can get this from Web?

RE: Browse / View dataset

I already gave you a big clue although Marc may be spelt Mark


RE: Browse / View dataset

Thanks Nic, I got it.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close