PRTMNYSRCF PRINT MANY SOURCE FILE MEMBERS TAASRCK
The PRTMNYSRCF command allows you to print multiple source members
from one or more source files. The PRTSRCF command from TAATOOL is
used to print the output so that the width of the print line is 8 1/2
A typical command would look as follows:
PRTMNYSRCF LIST((PAYROLL *CMD)(PAYROLLC *CLP)(PAY99 *CLP) +
The command would print 4 members from three different source files.
Since the PRTSRCF command sends out a status message during the
printing of the member, these messages are automatically sent to the
display. This provides feedback for the end user during the
operation of the command.
If an error occurs during processing (e.g. the member name cannot be
found), a diagnostic message is sent and the command will continue.
This will normally allow you to see the cause of the problem although
in some cases the low level messages must be reviewed. When all
members have been processed, an escape message will be sent stating
the number of members printed and the number not printed.
Because PRTMNYSRCF can be a long running command, it should be
submitted to batch. The cost to the system to process separately
entered interactive functions, exceeds the cost of a single
Command parameters *CMD
LIST This is a double entry of:
MEMBER The member to be listed.
SRCF A source file name or the special values *CL,
*RPG etc. to indicate the standard system
supplied source files names of QCLSRC and
OUTQ The output queue to be used. The default is *JOB.
FROMLIB The library containing the source files. The
default is *LIBL.
CHGBARS If change bars are desired, this is a 6 digit date
field in job format to use for a comparison against
the source statement change date. A change bar will
print if the parameter date is less than or equal to
the source statement date.
CHGBARCHAR The change bar character that will be printed if
change bars are requested. An '*' is the default.
The following TAA Tools must be on your system:
EDTVAR Edit variable
EXTLST Extract list
PRTSRCF Print source file
SNDCOMPMSG Send completion message
SNDESCMSG Send escape message
None, the tool is ready to use.
Objects used by the tool
Object Type Attribute Src member Src file
------ ----- --------- ---------- -----------
PRTMNYSRCF *CMD TAASRCK QATTCMD
TAASRCKC *PGM CLP TAASRCKC QATTCL
Added to TAA Productivity tools April 1, 1995