Page 1 of 1

How to make rexx code a macro and use it across ?

PostPosted: Wed May 29, 2013 5:40 pm
by ranjith7891
Hi all,

I am a begginer in Rexx,I have coded a Rexx Code

Objective : When the cursor is placed on the dataset of any job,by entering the macro in the job,we should be able to open it either in edit,view or browse mode directly rather than going through 3.14

Problem : Once the rexx is coded,how do i make it as a macro ?

Insense Example : When i get into a particular job ,and i place the cursor on a particular dataset,and give some macro,i should be able to open it in
edit,view or browse mode.

Please help me in this regard.

Re: How to make rexx code a macro and use it across ?

PostPosted: Wed May 29, 2013 5:47 pm
by NicC
look at the ISPF Edit & Edit Macros manual. Also, such a thing is quite popular so you should check to see if it is already available. And check the internet. Try a search string something like 'edit macro to edit dataset'

Re: How to make rexx code a macro and use it across ?

PostPosted: Thu May 30, 2013 9:10 pm
by ranjith7891
Thank you Nicc i will try to see if i can get any manual

Re: How to make rexx code a macro and use it across ?

PostPosted: Thu May 30, 2013 10:22 pm
by NicC
i will try to see if i can get any manual

Not very difficult as they are easily available online and you can, probably, link to them via the Manuals link at the top and bottom of each page in this forum.

Re: How to make rexx code a macro and use it across ?

PostPosted: Thu May 30, 2013 11:00 pm
by Pedro
Search this forum for ZOOM.

Re: How to make rexx code a macro and use it across ?

PostPosted: Fri May 31, 2013 1:20 am
by c62ap90
Just for fun try these 3-edit macros below. Maybe installed in your shop. Enter one of them on the command line while in edit-mode, place your cursor on the DSN name, then press enter. Worked on my last three contracting gigs. Good luck.
CURSORB
CURSORV
CURSORE