CICS VSAM Transparency for z/OS, Version 1.2


Using conversion routines

CICS® VT uses the conversion routines based on mapping information and stores it in the DIM. For example, if you have a field defined as type P for packed decimal and you map it to a DECIMAL column, CICS VT will use the PACKDEC routine for update and insert calls and DECPACK for retrieval calls.

Most of the conversion routines are provided for user-written FBE exits. If you are writing CICS VT exits that use the VIDCONV routines, you can test that your parameter list is correct and that the correct conversion is occurring using the VIDFCTST program in the VID.SVIDLODE library. Input into the program consists of an 80-byte record describing the name of the field conversion routine that is to be invoked, the source and destination lengths, the picture, and the source data.

Output from the program is an 80-byte record that tests both conversion routines. For example, if a test is performed for CHARDATE, the output also includes a test for DATECHAR.

Member VIDCONVT in my.SVIDSAMP.custom contains sample JCL and instructions on how to use this testing facility.



Concept topic


Last updated: December 6, 2013 20:44:58

Concept Concept

Feedback


Timestamp icon Last updated: Friday, 6 December 2013


http://pic.dhe.ibm.com/infocenter/cicsts/v5r1/topic///topics/UsingConversionRoutines.html