PreviousSyntax Checking Error Messages Run-time System Error MessagesNext

Chapter 3: Code Generation Error Messages

Code Generation messages are output when the Compiler is producing generated code. Some are environment dependent, so your particular environment might not support them all. For each error message number, the text and severity of each message is described; where necessary, the error or problem that causes the message is described, and advice is given on how to prevent it.

3.1 Key to Code Generation Error Messages

Code generation messages have the following format:

NCG Error at INT Code Address - address 
nnn-s message

where the variables are:

address The address in the intermediate code at which the error occurred. Most errors of this type cause the code generator to display the line number and filename in error, provided that the program was compiled with the ANIM directive, and the .idy file is available.
nnn The message number.
s One of the following severity codes:
F Fatal. In the unlikely event that one of these errors occurs, contact Technical Support to solve the problem.
R Recoverable. This ends code generation, as you must correct the error.
C Cautionary. This tells you either that you have specified an invalid combination of directives or that PERFORM statements cannot be optimized. It does not end code generation or prevent the generated code being executed.

3.2 List of Code Generation Error Messages


File open failure: filename (Recoverable)

Filename does not exist or permissions are incorrect.

Resolution:
Check that the file exists and that the permissions are correct.


File I-O error: filename (Recoverable)

For .int files, the file is corrupted or truncated.

For .gnt or .o files, you have run out of disk space.

Resolution:
For .int files, syntax-check the program again.

For .gnt files, create disk space if required.


001 Internal error nn. Contact technical support. (Fatal)

002 Attempted to redefine symbol symbol-name. (Recoverable)

006 Read failure on input file, not intermediate code or wrong version (Recoverable)

One of the following has occurred:

Resolution:
Ensure that you specify an intermediate code file.


007 Write failure on generated code file (Recoverable)

The disk is probably full.

Resolution:
Delete any files you no longer need.


012 Dictionary or dynamic paging error (Fatal)

The disk is probably full.

Resolution:
If the disk is full, delete any files you no longer need. If you receive this message and your disk is not full, contact Technical Support.


013 Illegal intermediate code (at nnnnnn in seg mm) (Recoverable)

You are trying to create generated code from intermediate code that has been corrupted.

nnnnnn is an intermediate code address; mm is an intermediate code segment number.

Resolution:
Resubmit your source code to your COBOL system to try to obtain valid intermediate code.


014 Too many IF levels (Recoverable)

You have nested IF statements beyond the maximum of 254 levels.

Resolution:
Change your program so you do not have a nest of more than 254 conditions.


028 Segmented program - ANIM ignored (Cautionary)

You have tried to generate for animation a segmented program

Resolution:
Remove any segments from your original program.


035 INT code not produced with ANIM (Cautionary)

You must use the ANIM directive when creating intermediate code.

See Also:
The ANIM Compiler directive in the chapter Directives for Compiler in your Server Express User's Guide.


039 Errors detected during creation of intermediate code (Recoverable)

You are trying to generate code from intermediate code that was found to contain severe errors when it was submitted to your COBOL system.

Resolution:
Correct all the severe errors in your source code.


040 Bad program-id or entry name (Recoverable)

The name you have given in the PROGRAM-ID clause or the ENTRY...USING phrase, or as the root of the input file-name, cannot be handled correctly by your system assembler.

Resolution:
Change the name to comply with your operating system's rules for a function-name.


054 Parameter type cannot be passed by value (Recoverable)

Only those COMP-5 items that are 4 bytes or smaller can be passed by value.

Resolution:
Ensure that any COMP-5 items are no larger than 4 bytes.


055 Opcodes file corrupt or unknown machine type (Recoverable)

Your $cobdir/etc/ncg.ops file has become corrupted.

Resolution:
Reinstall your ncg.ops file.


056 Option not implemented: "option name" (Recoverable)

This language option is not supported on your environment.


066 Write failure on .IDY file (Recoverable)

Either the disk is full or the .idy file produced by the checker has been marked read-only.

Resolution:
Delete any files you no longer need, or mark the .idy file read/write.


068 IDY file not found - SOURCEASM ignored (Cautionary)

069 Source file not found - SOURCEASM ignored (Cautionary)

075 Call-convention not supported (Recoverable)

Illegal call-convention on an entry-point.


076 Inefficient code produced for this statement (Cautionary)

077 Generated code module too large (limit = limit bytes) (Recoverable)

Resolution:
Split your program into smaller subprograms


078 Too many code relocations (limit = limit, actual = limit (Recoverable)

Resolution:
Split your program into smaller subprograms


079 Too many data relocations (limit = limit, actual = limit (Recoverable)

Resolution:
Split your program into smaller subprograms


080 Too many symbol table entries (limit = limit, actual = limit (Recoverable)

Resolution:
Split your program into smaller subprograms



Copyright © 2000 MERANT International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.

PreviousSyntax Checking Error Messages Run-time System Error MessagesNext