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.