COBOL START gets wrong record when using CICS VT and AIX

Technote (troubleshooting)


Problem(Abstract)

Your COBOL program issues a COBOL START statement using the alternate index (AIX) key to position the file for a subsequent COBOL READ statement. The file has been mapped and migrated to use CICS VSAM Transparency (CICS VT). The READ or READNEXT returns the next record instead of where the START has positioned the file.

Cause

The COBOL program is accessing a VSAM files alternate index directly instead of using the PATH. CICS VT only supports access to an AIX using the PATH.

Resolving the problem

Ensure your COBOL program opens the PATH for the alternate index.

Related information

Accessing records using an alternate index
COBOL file position indicator
COBOL START statement

Cross reference information
Segment Product Component Platform Version Edition
Operating System (z/OS- OS/390- MVS) Z/OS 5695DF106 - DFSMS/MVS VSAM AND MEDIA MANAGER z/OS, z/OS
Software Development Enterprise COBOL for z/OS

Product Alias/Synonym

CICSVT CICS VT

Rate this page:

(0 users)Average rating

Document information


More support for:

CICS VSAM Transparency for z/OS
Mapping

Software version:

1.2, 2.1

Operating system(s):

z/OS

Reference #:

1259588

Modified date:

2013-05-02

Translate my page

Machine Translation

Content navigation