Field conversion records
The layout of the field conversion records are described.
A field conversion record has the following layout:
| CNVRLEN | CNVRTYPE | Reserved | CNVDATTY | CNVDATAO | CNVDATAL |
|---|---|---|---|---|---|
| Record length | Record type | Reserved | Data type | Data offset | Data length |
| Byte 1 | Byte 2 | Byte 3 | Byte 4 | Byte 5-8 | Byte 9-12 |
In Table 1, record length and type refer to the length and type of the field conversion record. The names in the first row are those used in the DSECT DFHCNVDS, which maps field conversion records (see DFHCNVDS, DSECT for field conversion records). A template has as many field conversion records as are necessary to describe all the fields in the data record or key.
For DFHUCNV, CNVRLEN is X'0C' and CNVRTYPE is always X'04' (field). DFHUCNV must interpret CNVDATTY values in the range X'50' through X'80' according to user specifications, and apply the appropriate conversions. DFHUCNV should ignore fields with CNVDATTY values outside the range X'50' to X'80'.