I am certain the application doing the MQGET is setting Encoding as X'311' . We have a standard wrapper on the mainframe side that does not permit that
field to be overridden.  We are not certain what the sending application is doing since the wrapper code on the distributed side is less secure.
We stopped the messages being sent from the UNIX Qmgr (of which the sending app is a client on Win/NT) on the test system (where we are having the MQGET failure) and saw viewed the MQMD on the XMITQ with APPWATCH.   Encoding was 273 and the CCSID was 819. This became
ENCoding 273 and CCSID  of 437 when the MQGET failed.
We could not run a similar test for the 'successful' situation since we can not stop a channel in production..
(The channel conversion setting is the same in both environments - off).

In a way we  now have 3 questions
 1)  Why can't a MVS application GET a message with ENC=273, CCSID=437 with getting an RC=2119?
 2)  Why do messages from what is supposed to be the same application in test and production showing different values? (We are having developers
        dig through code to determine this one. Obviously the code must differ someplace.)
 3)  Why does the CCSID on the message = 819 when it is on the XMITQ and  437 when it reaches the mainframe?



"David C. Partridge" <[EMAIL PROTECTED]>
Sent by: "MQSeries List" <[EMAIL PROTECTED]>

02/20/2004 04:16 AM
Please respond to "MQSeries List"

       
        To:        [EMAIL PROTECTED]
        cc:        
        Subject:        Re: MQGET error 2119




Distinction between Encoding and CodedCharsetId.  MQCCSI_Q_MGR is defined to be ZERO.  The Encoding in the MD will be X'311' (The value of MQENC_NATIVE on OS/390) unless the app overwrites it.
 
The key question is are you certain the app is setting MQMD.CodedCharSetId to 0 *BEFORE* every MQGET.
 
You are showing the contents AFTER the GET.
 
Dave
-----Original Message-----
From:
MQSeries List [mailto:[EMAIL PROTECTED]On Behalf Of Ronald Weinger
Sent:
19 February 2004 20:38
To:
[EMAIL PROTECTED]
Subject:
Re: MQGET error 2119


The MVS Qmnangers are defined with 'defaulf' for the id.

In all of  our  MQGETS on all MVS systems, the MQMD encoding field is pre-set MQCCSI_Q_MGR = X'311'.


When our MQGETs are successful, on the mainframe the MQMD values are

  Encoding:  785 (X'311')                   CCSID: 500 (X'1F4)


When the MQGET fails

  Encoding:  273 (X'111')                   CCSID: 437 (X'1B5')





 


"David C. Partridge" <[EMAIL PROTECTED]>
Sent by: "MQSeries List" <[EMAIL PROTECTED]>

02/19/2004 12:04 PM
Please respond to "MQSeries List"

       
       To:        [EMAIL PROTECTED]

       cc:        

       Subject:        Re: MQGET error 2119





My MQ headers have

#define MQCCSI_Q_MGR      0

So, if it was set to x'311' then you're asking for conversion from 437 to
785.   Now my ccsid.tbl file for MQ 5.3 has never heard of CCSID 785 so I
guess that's the problem.

David

-----Original Message-----
From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of Ronald
Weinger
Sent: 19 February 2004 16:38
To: [EMAIL PROTECTED]
Subject: Re: MQGET error 2119



Yes, it is set to MQCCSI_Q_MGR  (=X'311') prior to the MQGET.




"David C. Partridge" <[EMAIL PROTECTED]>
Sent by: "MQSeries List" <[EMAIL PROTECTED]>
02/19/2004 10:21 AM
Please respond to "MQSeries List"

      To:        [EMAIL PROTECTED]
      cc:
      Subject:        Re: MQGET error 2119




Strange indeed.  CCSID 437 (US-ASCII) is a normally supported CCSID on 390
for conversion to 037 and, or 500 (subject to a few "quirks" with some
special characters).

You've covered the usual issues (e.g. MQFMT_STRING), and anyway you would
have got MQRC_FORMAT_ERROR if the format had been MQFMT_NONE.

The encoding x'111' is MQENC_INTEGER_NORMAL | MQENC_DECIMAL_NORMAL |
MQENC_FLOAT_IEEE_NORMAL which is the encoding I would expect from a Solaris
QM which is IIRC a big-endian system.

I assume that the field MQMD.CodedCharacterSetId was set by the application
to MQCCSI_Q_MGR just prior to the MQGET?   Is that correct or was it some
other value?   If it was set to MQCCSI_Q_MGR, then what is the qmgr CCSID?

David

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive




The information contained in this message may be CONFIDENTIAL and is for the
intended addressee only. Any unauthorized use, dissemination of the
information, or copying of this message is prohibited. If you are not the
intended addressee, please notify the sender immediately and delete this
message.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive



The information contained in this message may be CONFIDENTIAL and is for the intended addressee only. Any unauthorized use, dissemination of the information, or copying of this message is prohibited. If you are not the intended addressee, please notify the sender immediately and delete this message.

The information contained in this message may be CONFIDENTIAL and is for the intended addressee only. Any unauthorized use, dissemination of the information, or copying of this message is prohibited. If you are not the intended addressee, please notify the sender immediately and delete this message.

Reply via email to