The REWORD keyword rewords the text of a message before it is displayed in the Merged Messages window, the Action Message Recall window, or the Normal Message Recall window; or rewords the text of a command before CA Automation Point sends it to the console.
This keyword has the following format:
REWORD(text)
Specifies the words of the message or command in the order in which you want them sent.
Usage Notes:
Examples:
$HASP373 TESTJOB STARTED - INIT 1 - CLASS C - SYS SYSA
To remove the last three words from the message and make it fit on one line, write the following rule:
MSGID($HASP373), WHEN (&JOBID(1:3) EQ JOB),
REWORD(&WORD1 &WORD2 &WORD3 &WORD4 &WORD5 &WORD6 &WORD7 &WORD8 &WORD9)
After the rule executes the message, the message appears like this:
$HASP373 TESTJOB STARTED - INIT 1 - CLASS C
SLIP0C1
The following rule rewords this pseudo command, and issues the complex z/OS command to the console instead:
CMDIN(SLIP0C1), REWORD(SLIP SET, ID=P0C1, COMP=0C1, A=SVCD, MATCHLIM=1, JOBNAME=TESTPGR, END)
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|