Previous Topic: XML File Processing

Next Topic: Codepage Indicators


Ddname Suffixes

The ddname suffixes are used to indicate the ddnames where the XML report and schema are to be written. The value coded in positions 65-66 is appended to CAIJX to form the ddname. So if 01 is coded in those positions, the ddname for CA JARS is CAIJX01.

The suffix for the schema has the same processing rules as the XML report data document ddname suffix. The suffix for the schema is appended to CAIJM to form the ddname. So, if S4 is coded in positions 67-68 on the SORT statement, the schema is written to the ddname CAIJMS4. If positions 67-68 are both blank, the suffix indicated in positions 65-66 is used.

Here are some examples:

Columns 65-68            XML DDName        Schema DDName
   0101                  CAIJX01           CAIJM01
   X1                    CAIJXX1           CAIJMX1
   A1B2                  CAIJXA1           CAIJMB2

The XML report data file and the XML schema file that are produced can be written to any device that can process a sequential file, such as disk (sequential file or PDS member) or tape. The files can also be written to the Hierarchical File System (HFS) using a PATH parameter on the DD statement. The output files can also be written to SYSOUT, or to DUMMY, if they are not needed.