After recompiling a COBOL program and varying it new copy, it abends with a 3298.
The 3298 error code is a result of a GET STORAGE that has a problem.
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.
Supported options for COBOL can be found in the CA IDMS DML Reference for COBOL, which can be found here: