Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

COBOL as/400 Call Error MCH3601

Status
Not open for further replies.

liquidsin

Programmer
Oct 8, 2004
1
CA
First i get this error message when i call the program after a clean compile

Message . . . . : I/O operation failed in program 'ASSIGN' in library

'F04MW113' (C D F G).

Cause . . . . . : COBOL program 'ASSIGNMENT' in program object 'ASSIGN' in

library 'F04MW113' issued an I/O operation on file 'PRINTFILE' at COBOL

statement 118 which failed with file status '90'; and no error handler

existed. When an unsuccessful file status is received from an I/O operation,

an AT END/INVALID KEY, USE PROCEDURE, or FILE STATUS should be coded to

handle the error.


Then after i push enter or G i get this error message which is severity 50

Message . . . . : Message 'MCH3601' in program object 'ASSIGN' in library

'F04MW113' (C D F G).

Cause . . . . . : Message 'MCH3601' was detected in COBOL statement 122 of

COBOL program 'ASSIGNMENT' in program object 'ASSIGN' in library 'F04MW113'.


Hopefully someone can fiqure this out, as looked for hours on these errors on
the net and couldn't find what i needed =/

Thanks
Rob
 

Look under programming - COBOL

You will find the COBOL users and reference manual's, and they will have the meaning of the file status 90.

As for the MCH3601 if you press F1 on the message you will have plenty of information regarding the error, including the program instruction where the error occurred.
It is then a matter of going to that instruction and see what could be causing the problem.

It is probably related to the previous error.

As a minor point you should not be selecting "G" to continue if you don't know what you are doing.

Regards

Frederico Fonseca
SysSoft Integrated Ltd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top