CICS VSAM Transparency for z/OS, Version 1.2


Simplifying automated mapping by copybook editing

When you use the automated mapping facility, there are cases where you can reduce or avoid additional manual mapping by creating a version of the file copybook specifically for VT mapping.

To illustrate this, consider the following extract from a COBOL copybook:

09 OM-HEADDATE.
   11 OM-HEADDATE-CC PIC XX.
   11 OM-HEADDATE-YY PIC XX.
   11 OM-HEADDATE-MM PIC XX.
   11 OM-HEADDATE-DD PIC XX.

The automated mapping facility will generate four 2-byte columns for this field. If you want to map the field to OM-HEADDATE a single DATE column, you will have to delete the four mapping entries, insert a single 8-byte field, and map it to the appropriate DB2® column. You can eliminate part of this by updating the copybook to a single 8-byte field.



Concept topic


Last updated: December 6, 2013 20:45:4

Concept Concept

Feedback


Timestamp icon Last updated: Friday, 6 December 2013


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