Supplied user-replaceable conversion program

The supplied version of DFHUCNV checks for a resource type of TS. If it finds one, it scans down the passed template looking for fields defined with a type in the user-data range. If any are present, DFHUCNV converts them as characters; you can rewrite the conversion code to your own requirements.

Study the supplied version of DFHUCNV and its introductory comments to enable you to write your own conversion program. Your program must be able to handle 31 bit addresses.

The supplied sample is defined to CICS® with program attribute CONCURRENCY(THREADSAFE). Any code added to the sample must be threadsafe as the program might be started on an open TCB. Alternatively you can change the program definition to specify CONCURRENCY(QUASIRENT) but this change can produce a TCB switching overhead.