Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 10256
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 SNMP trap from Mainframe bipinpeter Compuware & Other Tools 6 Wed Apr 26, 2017 3:05 pm
This topic is locked: you cannot edit posts or make replies. Mainframe Opening in Allianz India- T... Rajesh Gopinathan Mainframe Jobs 0 Wed Apr 19, 2017 11:33 am
No new posts RC 20 for Address ISPEXEC "ISRED... pkmurali CLIST & REXX 3 Sun Apr 16, 2017 11:30 pm
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts FTP from Mainframe to Unix - with CRLF vasanthz All Other Mainframe Topics 7 Thu Mar 23, 2017 5:12 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us