Extract a resource definition, group, or list from the CSD file.
EXTRACT syntax >>-EXtract--+-Group--(--groupname--)-+--------------------------> '-LIst--(--listname--)---' >--+-USerprogram--(--DFHxCRFy--)-------------+--+---------+---->< +-USerprogram--(--DFHxFORy--)-------------+ '-Objects-' +-USerprogram--(--DFH0CBDC--)-------------+ '-USerprogram--(--user-written program--)-'
You can use the EXTRACT command to extract resource definition data from the CSD file, either from a list or from a group, and invoke a user program to process the extracted data. You specify the user program on the USERPROGRAM parameter.
You must specify OBJECTS for the CICS-supplied sample user programs DFHxCRFy and DFHxFORy. It is optional for DFH0CBDC and user-written user programs.
CICS supplies three types of sample user program: DFHxCRFy, DFHxFORy, and DFH0CBDC. The letter x in the program name is $ for assembler or PL/I and 0 for COBOL. The letter y in the program name denotes the programming language, where y=A is the assembler version, y=C is the COBOL version, and y=P is the PL/I version. .
All other user programs are available in source form, in CICSTS31.SDFHSAMP, and the assembler versions are also available in pregenerated form in CICSTS31.SDFHLOAD.
EXTRACT GROUP(DFHTYPE) USERPROGRAM(DFH0CBDC) OBJECTS