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



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

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

Postby ranjith7891 » Wed May 29, 2013 5:40 pm

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.
ranjith7891
 
Posts: 2
Joined: Wed May 29, 2013 4:45 pm
Has thanked: 0 time
Been thanked: 0 time

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

 

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

Postby NicC » Wed May 29, 2013 5:47 pm

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'
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

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

Postby ranjith7891 » Thu May 30, 2013 9:10 pm

Thank you Nicc i will try to see if i can get any manual
ranjith7891
 
Posts: 2
Joined: Wed May 29, 2013 4:45 pm
Has thanked: 0 time
Been thanked: 0 time

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

Postby NicC » Thu May 30, 2013 10:22 pm

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.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

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

Postby Pedro » Thu May 30, 2013 11:00 pm

Search this forum for ZOOM.
Pedro Vera
User avatar
Pedro
 
Posts: 569
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 39 times

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

Postby c62ap90 » Fri May 31, 2013 1:20 am

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
c62ap90
 
Posts: 125
Joined: Thu Oct 11, 2012 10:24 pm
Has thanked: 1 time
Been thanked: 6 times


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post