Example of DFHCNV macro sequence

The picture shows an example DFHCNV conversion table. The table begins with a DFHCNV TYPE=INITIAL macro and ends with a DFHCNV=FINAL macro. It specifies three resources for which conversion is required--a file, a temporary storage queue, and a transient data queue. The entry for each resource starts with a DFHCNV TYPE=ENTRY macro, on which the RTYPE operand specifies the resource type. Each entry contains one or more conversion templates.

The entry for the file contains one key template and three conversion templates. The key template consists of a DFHCNV TYPE=KEY macro and a DFHCNV TYPE=FIELD macro. Each conversion template consists of a DFHCNV TYPE=SELECT macro, followed by one or more DFHCNV TYPE=FIELD macros.

The entry for the temporary storage queue contains two conversion templates. Each conversion template consists of a DFHCNV TYPE=SELECT macro, followed by one or more DFHCNV TYPE=FIELD macros.

The entry for the transient data queue contains one conversion template, consisting of a DFHCNV TYPE=SELECT macro followed by two DFHCNV TYPE=FIELD macros.