MQ Series & IMS Bridge EBCDIC to ASCII Conversion
Hi All ! We are working on a Java application running on a UNIX box(Sun solaris) which needs to communicate with the MF. The options taken for the intercommunication was using WSMQ with the IMS Bridge on the MF. We need to lookup for some data from the Mainframe. After some efforts we got through the authentication phase. We are however stuck, with the data conversions. The char or text data looks okay, but our pipes '|' are getting converted to [ when seen on the application on Mainframe. When the pipes come from the Mainframe, they appear as ! marks on the UNIX box. We are using CCSID 850 and 500 on the UNIX box and the MF respectively. (I tried with many more CCSID on the UNIX box, but to no avail). Below is a sample response from the application on the MF. The !s should have been |s. IIH ☺T♥MQSTR ?w☻ 1 ??♥SACHIN1!!COBITS!!L1!0016!!100019990!1!20020202!!AAALAST!621!!AAAHOMEMEMBE!HOME!19700101!M!AAALAST!AAAFIRST!M!!12345!!089!!!0.0!!0.0!0.!!!N!!G!!HOSI!001!002!003!004!005!1.0!2.0!3.0!4.0!5.0!0.0!0.0!0.0!0.0!0!!21.0!12.0!12.0!67.0!9!1BEGIN_RESP_BLOCK0.00!0.00!0.00!0.00!0.00!0.00!0.00!0.00!!!0.00!0.00!!END_RESP_BLOCK!BEGIN_ERROR_BLOCK!1!0016!ITC226!1!1!BEGIN_CLAIM_RSN_CD!5!!BEGIN_LINE_RSN_CD!30!!BEGIN_CLAIM_RSN_CD!5!!BEGIN_LINE_RSN_CD!3END_ERROR_BLOCK! Also attached herewith is a sample of what we are using. Any inputs to resolve this would be of a great help. thanks & regards Sachin IMSBridge.java Description: Binary data
Re: MQ Series & IMS Bridge EBCDIC to ASCII Conversion
Sachin You probably need the MVS CCSID to be 37 (the newer default) NOT 500. Rich "Nath, Sachindra" <[EMAIL PROTECTED]> Sent by: MQSeries List <[EMAIL PROTECTED]> 10/14/2004 11:32 AM Please respond to MQSeries List To: [EMAIL PROTECTED] cc: (bcc: Richard Jackson/DTCC) Subject: MQ Series & IMS Bridge EBCDIC to ASCII Conversion Hi All ! We are working on a Java application running on a UNIX box(Sun solaris) which needs to communicate with the MF. The options taken for the intercommunication was using WSMQ with the IMS Bridge on the MF. We need to lookup for some data from the Mainframe. After some efforts we got through the authentication phase. We are however stuck, with the data conversions. The char or text data looks okay, but our pipes '|' are getting converted to [ when seen on the application on Mainframe. When the pipes come from the Mainframe, they appear as ! marks on the UNIX box. We are using CCSID 850 and 500 on the UNIX box and the MF respectively. (I tried with many more CCSID on the UNIX box, but to no avail). Below is a sample response from the application on the MF. The !s should have been |s. IIH âTâMQSTR ?wâ 1 ??âSACHIN1!!COBITS!!L1!0016!!100019990!1!200 20202!!AAALAST!621!!AAAHOMEMEMBE!HOME!19700101!M!AAALAST!AAAFIRST!M!!12345!!089!!!0.0!!0.0!0.!!!N!!G!!HOSI !001!002!003!004!005!1.0!2.0!3.0!4.0!5.0!0.0!0.0!0.0!0.0!0!!21.0!12.0!12.0!67.0!9!1BEGIN_RESP_BLOCK!!! !0.00!0.00!0.00!0.00!0.00!0.00!0.00!0.00!!!0.00!0.00!!END_RESP_BLOCK!BEGIN_ERROR_BLOCK!1!0016!ITC226!1!1!BEGIN _CLAIM_RSN_CD!5!!BEGIN_LINE_RSN_CD!30!!BEGIN_CLAIM_RSN_CD!5!!BEGIN_LINE_RSN_CD!3END_ERROR_BLOC K! Also attached herewith is a sample of what we are using. Any inputs to resolve this would be of a great help. thanks & regards Sachin IMSBridge.java Description: Binary data
Re: MQ Series & IMS Bridge EBCDIC to ASCII Conversion
Hi Richard, Thanks for the prompt response. This is one thing on the cards, and we have posted a request to the MainFrame MQ Admin for it. I have a few further queries. We have a lot of other non ims queues under the same queue manager. We dequeue the messages from these queues using the MQGMO_CONVERT setting the MVS CCSID as 37 from the dequeuing application (and things work fine). Will changing the CCSID effect these queues ? The doubts wrt IMS is, who will call the CONVERT here ? As the message is dequeued by the Bridge and passed on to the actual IMS Application. Is there a setting for the IMS Bridge, where we could state for a conversion ? thanks & regards Sachin -Original Message-From: Richard Jackson [mailto:[EMAIL PROTECTED]Sent: Thursday, October 14, 2004 9:26To: [EMAIL PROTECTED]Subject: Re: MQ Series & IMS Bridge EBCDIC to ASCII ConversionSachin You probably need the MVS CCSID to be 37 (the newer default) NOT 500. Rich "Nath, Sachindra" <[EMAIL PROTECTED]> Sent by: MQSeries List <[EMAIL PROTECTED]> 10/14/2004 11:32 AM Please respond to MQSeries List To: [EMAIL PROTECTED] cc: (bcc: Richard Jackson/DTCC) Subject: MQ Series & IMS Bridge EBCDIC to ASCII ConversionHi All ! We are working on a Java application running on a UNIX box(Sun solaris) which needs to communicate with the MF. The options taken for the intercommunication was using WSMQ with the IMS Bridge on the MF. We need to lookup for some data from the Mainframe. After some efforts we got through the authentication phase. We are however stuck, with the data conversions. The char or text data looks okay, but our pipes '|' are getting converted to [ when seen on the application on Mainframe. When the pipes come from the Mainframe, they appear as ! marks on the UNIX box. We are using CCSID 850 and 500 on the UNIX box and the MF respectively. (I tried with many more CCSID on the UNIX box, but to no avail). Below is a sample response from the application on the MF. The !s should have been |s. IIH b :Tb %MQSTR ?wb ; 1 ??b %SACHIN1!!COBITS!!L1!0016!!100019990!1!20020202!!AAALAST!621!!AAAHOMEMEMBE!HOME!19700101!M!AAALAST!AAAFIRST!M!!12345!!089!!!0.0!!0.0!0.!!!N!!G!!HOSI!001!002!003!004!005!1.0!2.0!3.0!4.0!5.0!0.0!0.0!0.0!0.0!0!!21.0!12.0!12.0!67.0!9!1BEGIN_RESP_BLOCK0.00!0.00!0.00!0.00!0.00!0.00!0.00!0.00!!!0.00!0.00!!END_RESP_BLOCK!BEGIN_ERROR_BLOCK!1!0016!ITC226!1!1!BEGIN_CLAIM_RSN_CD!5!!BEGIN_LINE_RSN_CD!30!!BEGIN_CLAIM_RSN_CD!5!!BEGIN_LINE_RSN_CD!3END_ERROR_BLOCK! Also attached herewith is a sample of what we are using. Any inputs to resolve this would be of a great help. thanks & regards Sachin
Re: MQ Series & IMS Bridge EBCDIC to ASCII Conversion
Sachin All the appl with MQGMO_Convert will be affected if the CCSID changes. I'm not familiar with the IMS Bridge. Only way to tell is to test... Hopefully the apps only use A-z,0-9 :-) Rich "Nath, Sachindra" <[EMAIL PROTECTED]> Sent by: MQSeries List <[EMAIL PROTECTED]> 10/14/2004 12:17 PM Please respond to MQSeries List To: [EMAIL PROTECTED] cc: (bcc: Richard Jackson/DTCC) Subject: Re: MQ Series & IMS Bridge EBCDIC to ASCII Conversion Hi Richard, Thanks for the prompt response. This is one thing on the cards, and we have posted a request to the MainFrame MQ Admin for it. I have a few further queries. We have a lot of other non ims queues under the same queue manager. We dequeue the messages from these queues using the MQGMO_CONVERT setting the MVS CCSID as 37 from the dequeuing application (and things work fine). Will changing the CCSID effect these queues ? The doubts wrt IMS is, who will call the CONVERT here ? As the message is dequeued by the Bridge and passed on to the actual IMS Application. Is there a setting for the IMS Bridge, where we could state for a conversion ? thanks & regards Sachin -Original Message- From: Richard Jackson [mailto:[EMAIL PROTECTED] Sent: Thursday, October 14, 2004 9:26 To: [EMAIL PROTECTED] Subject: Re: MQ Series & IMS Bridge EBCDIC to ASCII Conversion Sachin You probably need the MVS CCSID to be 37 (the newer default) NOT 500. Rich "Nath, Sachindra" <[EMAIL PROTECTED]> Sent by: MQSeries List <[EMAIL PROTECTED]> 10/14/2004 11:32 AM Please respond to MQSeries List To: [EMAIL PROTECTED] cc: (bcc: Richard Jackson/DTCC) Subject: MQ Series & IMS Bridge EBCDIC to ASCII Conversion Hi All ! We are working on a Java application running on a UNIX box(Sun solaris) which needs to communicate with the MF. The options taken for the intercommunication was using WSMQ with the IMS Bridge on the MF. We need to lookup for some data from the Mainframe. After some efforts we got through the authentication phase. We are however stuck, with the data conversions. The char or text data looks okay, but our pipes '|' are getting converted to [ when seen on the application on Mainframe. When the pipes come from the Mainframe, they appear as ! marks on the UNIX box. We are using CCSID 850 and 500 on the UNIX box and the MF respectively. (I tried with many more CCSID on the UNIX box, but to no avail). Below is a sample response from the application on the MF. The !s should have been |s. IIH b :Tb %MQSTR ?wb ; 1 ??b %SACHIN1!!COBITS!!L1!0016!!100019990!1!200 20202!!AAALAST!621!!AAAHOMEMEMBE!HOME!19700101!M!AAALAST!AAAFIRST!M!!12345!!089!!!0.0!!0.0!0.!!!N!!G!!HOSI !001!002!003!004!005!1.0!2.0!3.0!4.0!5.0!0.0!0.0!0.0!0.0!0!!21.0!12.0!12.0!67.0!9!1BEGIN_RESP_BLOCK!!! !0.00!0.00!0.00!0.00!0.00!0.00!0.00!0.00!!!0.00!0.00!!END_RESP_BLOCK!BEGIN_ERROR_BLOCK!1!0016!ITC226!1!1!BEGIN _CLAIM_RSN_CD!5!!BEGIN_LINE_RSN_CD!30!!BEGIN_CLAIM_RSN_CD!5!!BEGIN_LINE_RSN_CD!3END_ERROR_BLOC K! Also attached herewith is a sample of what we are using. Any inputs to resolve this would be of a great help. thanks & regards Sachin
Re: MQ Series & IMS Bridge EBCDIC to ASCII Conversion
ï IIRC the conversion for the IMS bridge is done at the receiving MCA and all is converted to the QM codepage. Dave
Re: MQ Series & IMS Bridge EBCDIC to ASCII Conversion
Hi Richard, Thanks a lot. The issue was resolved after changing the Mainframe QMGR's CCSID to 037. I appreciate your guidance on this. :) regards Sachin -Original Message-From: Richard Jackson [mailto:[EMAIL PROTECTED]Sent: Thursday, October 14, 2004 11:10To: [EMAIL PROTECTED]Subject: Re: MQ Series & IMS Bridge EBCDIC to ASCII ConversionSachin All the appl with MQGMO_Convert will be affected if the CCSID changes. I'm not familiar with the IMS Bridge. Only way to tell is to test... Hopefully the apps only use A-z,0-9 :-) Rich "Nath, Sachindra" <[EMAIL PROTECTED]> Sent by: MQSeries List <[EMAIL PROTECTED]> 10/14/2004 12:17 PM Please respond to MQSeries List To: [EMAIL PROTECTED] cc: (bcc: Richard Jackson/DTCC) Subject: Re: MQ Series & IMS Bridge EBCDIC to ASCII ConversionHi Richard, Thanks for the prompt response. This is one thing on the cards, and we have posted a request to the MainFrame MQ Admin for it. I have a few further queries. We have a lot of other non ims queues under the same queue manager. We dequeue the messages from these queues using the MQGMO_CONVERT setting the MVS CCSID as 37 from the dequeuing application (and things work fine). Will changing the CCSID effect these queues ? The doubts wrt IMS is, who will call the CONVERT here ? As the message is dequeued by the Bridge and passed on to the actual IMS Application. Is there a setting for the IMS Bridge, where we could state for a conversion ? thanks & regards Sachin -Original Message-From: Richard Jackson [mailto:[EMAIL PROTECTED]Sent: Thursday, October 14, 2004 9:26To: [EMAIL PROTECTED]Subject: Re: MQ Series & IMS Bridge EBCDIC to ASCII ConversionSachin You probably need the MVS CCSID to be 37 (the newer default) NOT 500. Rich "Nath, Sachindra" <[EMAIL PROTECTED]> Sent by: MQSeries List <[EMAIL PROTECTED]> 10/14/2004 11:32 AM Please respond to MQSeries List To: [EMAIL PROTECTED] cc: (bcc: Richard Jackson/DTCC) Subject: MQ Series & IMS Bridge EBCDIC to ASCII ConversionHi All ! We are working on a Java application running on a UNIX box(Sun solaris) which needs to communicate with the MF. The options taken for the intercommunication was using WSMQ with the IMS Bridge on the MF. We need to lookup for some data from the Mainframe. After some efforts we got through the authentication phase. We are however stuck, with the data conversions. The char or text data looks okay, but our pipes '|' are getting converted to [ when seen on the application on Mainframe. When the pipes come from the Mainframe, they appear as ! marks on the UNIX box. We are using CCSID 850 and 500 on the UNIX box and the MF respectively. (I tried with many more CCSID on the UNIX box, but to no avail). Below is a sample response from the application on the MF. The !s should have been |s. IIH b :Tb %MQSTR ?wb ; 1 ??b %SACHIN1!!COBITS!!L1!0016!!100019990!1!20020202!!AAALAST!621!!AAAHOMEMEMBE!HOME!19700101!M!AAALAST!AAAFIRST!M!!12345!!089!!!0.0!!0.0!0.!!!N!!G!!HOSI!001!002!003!004!005!1.0!2.0!3.0!4.0!5.0!0.0!0.0!0.0!0.0!0!!21.0!12.0!12.0!67.0!9!1BEGIN_RESP_BLOCK0.00!0.00!0.00!0.00!0.00!0.00!0.00!0.00!!!0.00!0.00!!END_RESP_BLOCK!BEGIN_ERROR_BLOCK!1!0016!ITC226!1!1!BEGIN_CLAIM_RSN_CD!5!!BEGIN_LINE_RSN_CD!30!!BEGIN_CLAIM_RSN_CD!5!!BEGIN_LINE_RSN_CD!3END_ERROR_BLOCK! Also attached herewith is a sample of what we are using. Any inputs to resolve this would be of a great help. thanks & regards Sachin