A CA IDMS COBOL program abends with 3298 error

book

Article ID: 6447

calendar_today

Updated On:

Products

CA IDMS CA IDMS - Database CA IDMS - ADS

Issue/Introduction

After recompiling a COBOL program and varying it new copy, it abends with a 3298. 

Cause

The 3298 error code is a result of a GET STORAGE that has a problem.

Environment

Release: IDADSO00100-18.5-ADS-for CA-IDMS
Component:

Resolution

     The 3298 error code is a result of a GET STORAGE that has a problem. Usually it is a bad LENGTH statement or the LENGTH is missing. Also, if the GET STORAGE is for a WORKING-STORAGE data item instead of one in the LINKAGE SECTION you will get this error.  Please review the program and make sure the syntax is correct. 

      It is also possible to get a 3298 at run-time if the compile of the program specified an unsupported option, such as DEBUG. Please review the compiler options also and compare them to the list of supported options in the CA IDMS DML Reference for COBOL.

Additional Information

Supported options for COBOL can be found in the CA IDMS DML Reference for COBOL, which can be found here: 

 

https://docops.ca.com/ca-idms-ref/19/en/dml-reference-for-cobol.