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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AS/400 Cobol Call Abend (MCH3601)

Status
Not open for further replies.

Reggaeboy

Programmer
May 12, 2004
1
AN
I get the following message MCH3601 (pointer not set for loacation referenced) when calling a Cobol program from another Cobol program, passing 2 paramters.
However this abend happens on the second call to this program as the first call was sucessful.
Can anyone help me.
 
Have you looked to see in which statement it is failing? is is a linkage field, a file field or something else?
This is a must do!!.



Without having a look at the program it is hard to say, but that would normally be either one of the calls is not using the same parameters, or one of the files defined is only processed the second time the program is called, or the parameters of the call are not the same size of the linkage/using on the called program.

If you are sure the parameters are correct, recompile both programs and try it again. Don't assume that the source corresponds to the object.







Regards

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

Part and Inventory Search

Sponsor

Back
Top