CL Command Reference - PRTTXTRDAR

CL Command List > PRTTXTRDAR Reference

Description:

The Print AFP Spooled File Text (PRTTXTRDAR) command allows you to print all or part of an AFPDS or LINEAFPDS report. This allows the reports administrator to see what the report looks like to STRCDSRDAR and to determine the values needed to define the report.



Examples:

Example 1: Simple Example

PRTTXTRDAR SPLF(CKSTMTPRTF)

This command submits a job to batch to print a text-only version of the first ten pages of the CKSTMTPRTF spooled file that was generated in the current job. (This function is of particular value to aid in indexing AFP (Advanced Function Presentation) spooled files.)



Example 2: More Complex Example

PRTTXTRDAR SPLF(CKSTMTPRTF) JOB(123456/OPERATOR/NIGHTBATCH)
SPLNBR(*LAST)REPORT(CHECKSTMTS) VERSION(*HIGHEST)

This command is similar to Example 1 but specifies a particular job and spooled file number (*LAST) for the spooled file as well as an OnDemand Spool File Archive report definition name and version to ensure the correct interpretation of the AFP (Advanced Function Presentation) data for definitions created prior to V4R4.