Skip to main content

My program aborted with the following message:

I/O error: file MY-FILE

error code: 9/006 (ANSI74), PC=0, CALL=1, SEG=0

6 ERROR MESSAGE TEXT NOT FOUND.

Looking in the Help I found errors 0, 2, 4, 5, 7, 10 and more, but # 6 is not described.  Does somebody know what 6 means?

When I run the program again, mostly no error is found, but suddenly it comes again.  Is the error due to the network?

Thanks for any help

Rolf      

My program aborted with the following message:

I/O error: file MY-FILE

error code: 9/006 (ANSI74), PC=0, CALL=1, SEG=0

6 ERROR MESSAGE TEXT NOT FOUND.

Looking in the Help I found errors 0, 2, 4, 5, 7, 10 and more, but # 6 is not described.  Does somebody know what 6 means?

When I run the program again, mostly no error is found, but suddenly it comes again.  Is the error due to the network?

Thanks for any help

Rolf      

Hello Rolf,

There are two issues here:

  1. what is 9/006?
  2. why does it say "ERROR MESSAGE TEXT NOT FOUND"?

9/nnn is actually an extended file status where nnn is a number that corresponds to a runtime system error. In your case, it is 006, which is the following according to the documentation:

COBRT006 Attempt to write to a file opened for INPUT (Recoverable)

You have tried to WRITE to a file that is open for input only.

When the runtime is unable to find the error message file, it displays "ERROR MESSAGE TEXT NOT FOUND" next to the error number. The message file is found in one of the MFLANG*.lbr, so you will need to set the COBDIR environment variable to point to the location of these .lbr files in order for the runtime to find it.

Regards,