A CA IDMS COBOL program abends with 3298 error
search cancel

A CA IDMS COBOL program abends with 3298 error

book

Article ID: 6447

calendar_today

Updated On:

Products

IDMS IDMS - Database IDMS - ADS

Issue/Introduction

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

Environment

IDMS - All Supported Releases

Cause

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

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 IDMS DML Reference for COBOL, which can be found here: