SNDESCMSG4 SEND ESCAPE MESSAGE 4 TAAMSIC |
The Send Escape Message 4 command allows you to send an escape
message using QCMDEXC or similar functions. The system command
SNDPGMMSG or other TAA SNDESCMSGx commands require that the command
be in a CL program. SNDESCMSG4 may be used from a Command Exit to
cause an escape message.
A typical command would be:
SNDESCMSG4 MSG('...')
The message is sent as message ID TAA1020 from the TAAMSGF in
TAATOOL. The second level text identifies it as coming from
SNDESCMSG4.
Differences with other methods of sending escape messages
---------------------------------------------------------
The intent of SNDESCMSG4 is that it can be used as the command to be
executed in a command exit program (see the TAA Tool CMDEXIT).
The system SNDPGMMSG command and the other TAA SNDESCMSG commands may
only be used in a CL program. You cannot execute one of these types
of commands in a function such as QCMDEXC or in the return command
for a command exit program.
SNDESCMSG4 is not restricted to CL program use. Consequently, it may
be used whenever an escape message must be sent using a function like
QCMDEXC.
SNDESCMSG4 escape messages you can monitor for
----------------------------------------------
TAA1020 The message ID sent as an escape message
Command parameters *CMD
------------------
MSG The first level message text. Up to 512 bytes may
be entered. No period is added at the end (as on
CPF9898).
Restrictions
------------
None.
Prerequisites
-------------
None.
Implementation
--------------
None, the tool is ready to use.
Objects used by the tool
------------------------
Object Type Attribute Src member Src file
------ ---- --------- ---------- ----------
SNDESCMSG4 *CMD TAAMSIC QATTCMD
TAAMSICC *PGM CLP TAAMSICC QATTCL
|
Added to TAA Productivity tools October 15, 2001