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!1!!!!BEGIN_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!3!!!!0!!BEGIN_CLAIM_RSN_CD!5!!!!!!BEGIN_LINE_RSN_CD!3!!!!END_ERROR_BLOC
K!
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!1!!!!BEGIN_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!3!!!!0!!BEGIN_CLAIM_RSN_CD!5!!!!!!BEGIN_LINE_RSN_CD!3!!!!END_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