Page 1 of 1
message subfile
Posted: Mon Mar 23, 2015 2:42 pm
by msuhr
I have created a RDF with a message subfile and am getting a I/O error of MCH3601 when trying to write to the subfile. Attached is the code for the RDF, the rpg program, the cl program that sends the message and the various error. What am I doing wrong.
Re: message subfile
Posted: Mon Mar 23, 2015 3:33 pm
by Scott Klement
The most common cause for an MCH3601 is a parameter problem. For example, if you define a parameter, but then call the program/procedure without passing the parameter, you can get an MCH3601.
Re: message subfile
Posted: Mon Mar 23, 2015 3:53 pm
by msuhr
Scott, not sure if the RDF and RPG source code files posted but will try again. No parms when calling the RPG, the MCH error happens when I try to write to the message subfile.
Re: message subfile
Posted: Mon Mar 30, 2015 6:10 pm
by Scott Klement
The problem here was a case-sensitivity issue between your bound fields (pgm_que and msg_key) and the DDS record format (which has the smae fields in uppercase, PGM_QUE and MSG_KEY). You can work around the problem by re-typing these fields in uppercase... just re-open the binding dialog in the visual designer and type the field names in all uppercase, and it should work again.
This is a bug in Profound UI -- I have changed it on my development box so that it is not case-sensitive like this. This update will be included in future versions of Profound UI. If you'd like a patch to fix your version 5.0.8 copy of the OA Handler, please contact
support@profoundlogic.com and ask for a patch for issue 1441.