The DB2 formatting program
Use the CICS supplied sample DB2 formatting program to organize CSD data into a format suitable for the DB2 table load utility. Run the DFH$FORA sample program if you are using assembler, the DFH0FORC sample program if you are using COBOL, and the DFH$FORP sample program if you are using PL/I.
The CICS-supplied sample DB2® formatting program organizes the data into columns that correspond to the columns defined in the load utility’s input. Each selected resource causes a record to be written to this program’s output file, with the first 4 characters identifying the resource type.
The program must be run against an EXTRACT command of the form:
EXTRACT GROUP(group name) OBJECTS USERPROGRAM(program-name) or:
EXTRACT LIST(list name) OBJECTS USERPROGRAM(program-name) Note
that the sample program requires you to specify the OBJECTS keyword.