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

How can we edit or create macro ?


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
shrinivas_3
Warnings : 1

New User


Joined: 05 Sep 2006
Posts: 34

PostPosted: Fri Sep 15, 2006 12:58 pm
Reply with quote

Hi All

Does any one has idea to edit or create a New macro .
My requirement is to use

" cut all " command in QW quick reference help menu. (I want to copy contents of QW help in my OWN PDS).

and then issue
!paste

macro command

But I am getting below message:

" The PASTE program macro could not be loaded. "


How can we find the current macros installed ?

Thanks
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Fri Sep 15, 2006 6:42 pm
Reply with quote

Hi !
The paste function name depends on how MVS/QuickRef was installed at
your site. If MVS/QuickRef was installed without using the ISPF libdef
facility, the paste function name should be ?PASTE. If MVS/QuickRef
was installed using the libdef facility, then the paste function name
should be QWPASTE. if you are not sure which name to use, first try
!PASTE and, if that does not work, then try QWPASTE.

If you will be doing a lot of pasting and are using a paste function name which is prefixed by an exclamation point (like ?PASTE), you can use the PDF EDIT command:

DEFINE XXXXX MACRO PGM

Where XXXXX is the paste function name without the exclamation point prefix to define XXXXX as a program form edit macro for the remainder of the edit session. When this is done, you can invoke the paste function without the exclamation point refix.

For example, if you are using ?PASTE as your paste function
name and you use the PDF EDIT command:

DEFINE PASTE MACRO PGM

then, for the rest of that edit session, you can use PASTE
(rather than ?PASTE) as your paste function name.

Regards, UmeySan
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Query on edit primary command CLIST & REXX 5
No new posts Query on edit primary command CLIST & REXX 1
No new posts PRINTOUT macro PL/I & Assembler 0
No new posts Need help to resolve a hard edit COBOL Programming 8
Search our Forums:

Back to Top