A CA IDMS COBOL program abends with 3298 error

Document ID : KB000006447
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

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.

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.