0970 error status accessing a native VSAM file
search cancel

0970 error status accessing a native VSAM file

book

Article ID: 243886

calendar_today

Updated On:

Products

IDMS

Issue/Introduction

IDMS returns an 0970 error status when accessing a native VSAM file.

Error messages similar to the following are seen on the IDMS CV joblog:

IEC161I 120-163,DA004,DA004,D7221M00,,,<yourHLQ>.RTSDUP,
IEC161I <yourHLQ>.RTSDUP.INDEX,UCAT.PROD.ONLINE
+IDMS DC016922 VSOPEN   ERR=003 DDN=UNKNOWN

Environment

Release : All supported releases.

Cause

The native VSAM file definition in the DMCL is assigned to a buffer with a page size which is smaller than the CISIZE of the file.

Resolution

Ensure that the page size of the buffer to which the file is defined is at least as large as the CISIZE.
Be sure to confirm the CISIZE by listing the file in IDCAMS. There are some circumstances where VSAM will internally change the CISIZE from the original input.  

This error is documented at IDMS Minor Codes (scroll down to minor code 70).