ANIM

Makes the Compiler produce extra information so that you can debug your program.

Syntax:

>>-.---.-.----.--ANIM----------------------><
   +-/-+ +-NO-+

Parameters:

None

Properties:

Default: On the Windows command line, when building for JVM COBOL code, NOANIM.On the UNIX command line, when building for JVM COBOL code, ANIM. On the command line, when building for native code, NOANIM for generated code, and ANIM for intermediate code. Be aware that the Eclipse IDE overrides these defaults, and sets ANIM or NOANIM depending on the setting of the Compile for debugging COBOL property (Yes or No respectively).
Phase: Both
$SET: Initial

Dependencies:

ANIM sets RECURSECHECK

Comments:

The ANIM directive causes a file with extension .idy to be created. This contains the additional information needed to debug the program. The location of the .idy file is controlled by the COBIDY directive. In native code, if you set ANIM on in the syntax check phase and do not delete the .idy file, the Compiler includes source filename and line number information, which is output in a number of error messages, so that you can more easily debug your program.