

User Exits › Changing Message Text Through Exit Routines
Changing Message Text Through Exit Routines
You can change the text of messages through the GCMSRCXT exit routine. To do this, use the message text table that is passed to these routines in the parameter list at Register 1
If you use this table, you should follow these restrictions:
- You cannot change the length of the message text. If you remove text, replace it with spaces.
- Some of the routing data associated with a message (for example, the message ID) may be duplicated in the message text. If you want this information to be consistent, change both the routing data and the message text.
- The JOBSTMP and ACTION fields are used only when a message is displayed on a z/OS system.
- The JOBSTMP field may contain a system ID along with the user ID when EDITMESSAGE=EXTERNAL.
MSGDATA DSECT ,
DS C Reserved - do not use
TIMESTMP DC CL8'HH.MM.SS' Time stamp
DS C Reserved - do not use
JOBSTMP DC CL8'USERID ' MVS job stamp or CMS user ID
DS C Reserved - do not use
ACTION DS C '*','@', or blank
MSGTEXT DS OC Beginning of the message text
Copyright © 2014 CA.
All rights reserved.
 
|
|