IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Macro for reading from screen


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nickyboy

New User


Joined: 26 Aug 2005
Posts: 16

PostPosted: Sat Aug 27, 2005 5:54 pm
Reply with quote

Hi,

Can anybody help me in writing a macro which will read the information from the line pointed by the cursor.

My aim is to open a dataset, from jcl, in edit/browse mode by just positioning the cursor on it and running a macro.

Thanks in advance,
Nick.
Back to top
View user's profile Send private message
Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Sat Aug 27, 2005 6:03 pm
Reply with quote

That sounds a lot like the EDIT macro called ZOOM. Here is a link to the source:

www.mainframeweek.com/code/showcode.php/0057/mw57mvs3.txt
Back to top
View user's profile Send private message
nickyboy

New User


Joined: 26 Aug 2005
Posts: 16

PostPosted: Sat Aug 27, 2005 6:08 pm
Reply with quote

Thanks Kevin for your quick reply..
Back to top
View user's profile Send private message
nickyboy

New User


Joined: 26 Aug 2005
Posts: 16

PostPosted: Sat Aug 27, 2005 6:21 pm
Reply with quote

Hi Kevin,

Could you please tell me where this macro should to be kept in order to get activated automatically upon typing ZOOM on CMD line

Thanks,
Nick
Back to top
View user's profile Send private message
Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Sun Aug 28, 2005 4:26 am
Reply with quote

It's an ISPF EDIT macro, so it MUST be in a library allocated to SYSPROC.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
No new posts Find the size of a PS file before rea... COBOL Programming 13
No new posts PRINTOUT macro PL/I & Assembler 0
No new posts create rexx edit Macro that edits the... CLIST & REXX 3
No new posts Issues with executing a REXX MACRO th... TSO/ISPF 4
Search our Forums:

Back to Top