message subfile

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
msuhr
Profound User
Posts: 24
Joined: Wed Mar 21, 2012 3:02 pm
First Name: Mark
Last Name: Suhr
Company Name: Wellington Ins Group
Phone: 817-732-2111
Address 1: 6801 Calmont Ave
City: Ft. Worth
State / Province: Texas
Zip / Postal Code: 76116
Country: United States
Contact:

message subfile

Post 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.
Attachments
951570_000003_QPMHAMI_03232015_000001.PDF
(51.26 KiB) Downloaded 53 times
951570_000002_QPMHAMI_03232015_000001.PDF
(51.57 KiB) Downloaded 51 times
951570_000001_QPMHAMI_03232015_000001.PDF
(51.31 KiB) Downloaded 69 times
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: message subfile

Post 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.
msuhr
Profound User
Posts: 24
Joined: Wed Mar 21, 2012 3:02 pm
First Name: Mark
Last Name: Suhr
Company Name: Wellington Ins Group
Phone: 817-732-2111
Address 1: 6801 Calmont Ave
City: Ft. Worth
State / Province: Texas
Zip / Postal Code: 76116
Country: United States
Contact:

Re: message subfile

Post 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.
qrpglesrc.cm0310rt.txt
(1.58 KiB) Downloaded 56 times
qddssrc.cm0310st.txt
(6.02 KiB) Downloaded 54 times
qclsrc.cipgmmsg.txt
(523 Bytes) Downloaded 48 times
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: message subfile

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests