Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
can we assign a mainframe macro to a key in the keyboard?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
sraj

New User


Joined: 21 Dec 2009
Posts: 4
Location: india

PostPosted: Mon Mar 15, 2010 5:29 pm    Post subject: can we assign a mainframe macro to a key in the keyboard?
Reply with quote

can we assign a mainframe macro to a key in the keyboard so that the macro can be ran by just hitting the key. I am using Attachmate emulator
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10326
Location: italy

PostPosted: Mon Mar 15, 2010 5:31 pm    Post subject: Reply to: can we assign a mainframe macro to a key in the ke
Reply with quote

and... how does this relate to COBOL ???
topic moved where it belongs
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Mon Mar 15, 2010 5:34 pm    Post subject:
Reply with quote

Have you tried Help on the attachmate screen?
Back to top
View user's profile Send private message
Ronald Burr

Active User


Joined: 22 Oct 2009
Posts: 293
Location: U.S.A.

PostPosted: Mon Mar 15, 2010 6:13 pm    Post subject:
Reply with quote

You could try re-mapping one of the PF keys ( e.g. PF14 ) to the name of the macro. Then, whenever you press that PF key, the macro will be invoked.
Back to top
View user's profile Send private message
sraj

New User


Joined: 21 Dec 2009
Posts: 4
Location: india

PostPosted: Mon Mar 15, 2010 7:22 pm    Post subject: Reply to: can we assign a mainframe macro to a key in the ke
Reply with quote

Hi,

I typed keys on command line to assign the macro to the function key, my macro name is ENTER so what should i give to assign this macro to pf6?

I tried mainframe help couldn't find related info.
Back to top
View user's profile Send private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 401
Location: Mumbai

PostPosted: Mon Mar 15, 2010 7:27 pm    Post subject:
Reply with quote

Assign the command to a pf key an then assign the key you want to act as that key. You are limited to 24 keys but some commands like autotype, and nretrieve really belong on the at your finger tips rather than up on that row of function keys.

Update: you are confusing emulator macros and mainframe macros. You don't assign a pf key to an emulator macro since the mainframe know nothing about your emulator.
Back to top
View user's profile Send private message
sraj

New User


Joined: 21 Dec 2009
Posts: 4
Location: india

PostPosted: Mon Mar 15, 2010 7:42 pm    Post subject: Reply to: can we assign a mainframe macro to a key in the ke
Reply with quote

My Macros is a mainframe macro, just by giving the macro name to the pf key it wont take do i need to give the library or something so that the pf key will pick my particular macro?
Back to top
View user's profile Send private message
Ronald Burr

Active User


Joined: 22 Oct 2009
Posts: 293
Location: U.S.A.

PostPosted: Tue Mar 16, 2010 1:25 am    Post subject:
Reply with quote

Brief answer is 'YES'.
1) 'ENTER' is a poor choice for a macro name assigned to a key other than the ENTER key itself.
2) All the same, to avoid confusion, the macro "value" should be set to "%ENTER" not just plain "ENTER".
3) You must either place the Macro into one of the libraries concatenated to SYSEXEC or SYSPROC, OR insure that the library containing the Macro is "temporarily" allocated to SYSUEXEC ( if the Macro library contains only REXX Execs ) or SYSUPROC ( if the Macro library contains both CLISTs and REXX Execs ). Temporary assignment can be accomplished via the TSO 'ALTLIB' command.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts Mainframe scheduling tool ddhar Compuware & Other Tools 2 Wed Sep 27, 2017 12:48 am
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts exec macro in the end of edit anatol CLIST & REXX 8 Fri Sep 22, 2017 5:10 am
No new posts How to Run Rexx Macro? Kalaivignesh CLIST & REXX 5 Fri Sep 01, 2017 9:08 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us