The CONVERT statement

A CONVERT statement can be specified instead of or in addition to a PRINT statement. Like PRINT, CONVERT tells CAZPRINT to write the report and specifies the output destination. Instead of writing the report in conventional line printer format, the CONVERT statement creates a report file in an alternate format; either PDF or XML. When XML is specified, a PRINT statement cannot be included in the job step. You cannot include a CONVERT statement for PDF and a CONVERT statement for XML in the same job step.

Two examples of CONVERT statements are shown here.

CONVERT DDNAME=PDF1 FORMAT=PDF MLD=N
CONVERT DDNAME=XML1 FORMAT=XML LANG=ENU MLD=N