CHKRPGCALL CHECK RPG CALLs TAARPGG |
The Check RPG CALLs command checks an RPG or RPGLE source member to
determine if any CALL operation codes are used.
A typical series of commands would be:
CHKRPGCALL SRCMBR(yyy)
MONMSG MSGID(TAA9895) EXEC(DO) /* CALLs exist */
.
ENDDO /* Calls exist */
The source file defaults to QRPGSRC. If any CALL operation codes are
found, message ID TAA9895 is sent as an escape message.
If the type of source is RPGLE, both the CALL and CALLB operations
codes are considered.
Command parameters *CMD
------------------
SRCMBR The source member to be checked. It must be a type
of RPG, RPGLE, or RPG38.
SRCFILE The qualified file name of the source file. The
default is QRPGSRC. The library value defaults to
*LIBL. *CURLIB may also be specified.
Restrictions
------------
None.
Prerequisites
-------------
The following TAA Tools must be on your system:
EDTVAR Edit variable
SNDCOMPMSG Send completion message
SNDESCMSG Send escape message
Implementation
--------------
None, the tool is ready to use.
Objects used by the tool
------------------------
Object Type Attribute Src member Src file
------ ---- --------- ---------- ----------
CHKRPGCALL *CMD TAARPGG QATTCMD
TAARPGGC *PGM CLP TAARPGGC QATTCL
TAARPGGR *PGM RPG TAARPGGR QATTRPG
|
Added to TAA Productivity tools April 1, 1995