Start of change

Analyzing return code or reason code differences

A difference in the return code or reason code is most probably an indication that the data in the original VSAM data set is not the same as the data in the migrated data set. For example, a record exists in VSAM but not in DB2®.

If the return code or reason code is different, CICS VT produces the following diagnostics:

Figure 1. DMF diagnostics for return code differences in batch programs
VIDSS228 DUALMODE ERROR FOR SUBSYS=VIDZ VSAM DDNAME=ENTITLV
         FEEDBACK DIFFERENT ON PUT                         
         DB2  RPLRTNCD=00 RPLERRCD=00                      
         VSAM RPLRTNCD=08 RPLERRCD=08                      
         ACB MACRF=(ADR,SEQ,DIR,IN)                        
         RPL OPTCD=(SEQ,KEY) KEYL=0025

The application program is abnormally terminated with a U3141 abend code.

Review the diagnostics that are written to the joblog. The significant fields are RPLRTNCD and RPLERRCD. Compare the VSAM and DB2 data by running the VIDREAD utility with DMF enabled. See Step 4 - Verify data migration for sample JCL. If there is any difference between the data in VSAM and DB2, the VIDREAD utility will abnormally terminate with the abend code U3139.

If there is an FBE on any field that is part of the key, review the FBE. If the file is being accessed by an alternate index and there is an FBE on any field that is part of the alternate index, review the FBE.


Information Information

Feedback


Timestamp icon Last updated: Monday, 10 February 2014


http://pic.dhe.ibm.com/infocenter/cicsts/v5r1/topic/com.ibm.cics.vt.doc//topics/cvtug_dmf_codes.html
End of change