SNDAUDMSG SEND AUDIT MESSAGE TAAMSHK |
The Send Audit Message command provides a simple method of sending a
message to your own program message queue. This can be used for
auditing or debugging purposes. The SNDAUDM command processing
program may also be called from any HLL program.
A typical command would be:
SNDAUDMSG MSG('The payroll update completed normally')
You may call the CPP from any HLL program and pass it a 256 byte
message. The following is the RPG code required:
C* Left adjust the required text to the MSG field
C CALL 'SNDAUDM'
C PARM MSG 256
Command parameters *CMD
------------------
MSG The message text to be sent. Up to 256 bytes may be
sent. An expression may be used.
Restrictions
------------
None.
Prerequisites
-------------
None.
Implementation
--------------
None, the tool is ready to use.
Objects used by the tool
------------------------
Object Type Attribute Src member Src file
------ ---- --------- ---------- ----------
SNDAUDMSG *CMD TAAMSHK QATTCMD
SNDAUDM *PGM CLP TAAMSHKC QATTCL
|
Added to TAA Productivity tools February 1, 1997