Author |
Message
|
Beaula |
Posted: Wed Feb 12, 2003 3:49 am Post subject: Puuting Message from OS/390 to WINNT |
|
|
Apprentice
Joined: 11 Sep 2002 Posts: 39 Location: Infotech, Madhapur,India
|
I would like to put message from cobol application residing on OS/390 to WINNT machine. I would like to know whether we have to change the Character Set id of the message while putting the message to NT queue. When do we add the MQIIH Header to the messages coming from OS/390 ?.
Please explain. |
|
Back to top |
|
 |
kirani |
Posted: Sat Feb 15, 2003 12:20 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
It depends on what you intend to do with the message on NT. If you are using MQSI for transformation then you may use the default CCSID on M/F when putting a message on NT queue. MQSI will convert your message to Unicode format internally for processing. MQSI will parse MQIIH header automatically when reading the input message. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
Beaula |
Posted: Thu Feb 20, 2003 3:13 am Post subject: Putting Messages from OS/390 to NT |
|
|
Apprentice
Joined: 11 Sep 2002 Posts: 39 Location: Infotech, Madhapur,India
|
kirani wrote: |
It depends on what you intend to do with the message on NT. If you are using MQSI for transformation then you may use the default CCSID on M/F when putting a message on NT queue. MQSI will convert your message to Unicode format internally for processing. MQSI will parse MQIIH header automatically when reading the input message. |
Thank you.
We wanted to transform the message in MQSI. I am having a Cobol program and i want to put the data from mainframe to NT broker.
When i modify my cobol application using MQI calls should i set the CCSID = 500 in the cobol code and will this take care of conversion of my data (numeric as well as string) directly or some MQSeries conversion exit routines should be used for the user data?.
I read the following in SAS site.
MQSeries channel communication (Transmission Segment Header and Message Descriptor) data are converted internally by MQSeries, however, the user portion of a message is not.
Please expalin and help me out.
Regarding the MQIIH Header, do we have to add this to the cobol code manually ?. |
|
Back to top |
|
 |
kirani |
Posted: Thu Feb 20, 2003 10:15 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Beaula,
You can use NATIVE CCSID, and Encoding in your M/F application when putting the message on NT queue. You will then use WMQI to read the message from input queue and parse it against appropriate message definition (MRM-CWF). WMQI will then convert the message/data into unicode format for it's internal use. Alternatively you can use MQGMO_CONVERT option if your data is of "STRING" type.
I am not sure about the MQIIH header. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
mqchap |
Posted: Thu Feb 20, 2003 1:41 pm Post subject: |
|
|
Newbie
Joined: 20 Feb 2003 Posts: 8
|
Get the output of OS/390 in th form of COBOL copy books. Create messagesets and design flows with MRM message type, parse the message with a compute node(string, int conversion etc.) and dump the processed message in the queue in the NT broker. |
|
Back to top |
|
 |
Beaula |
Posted: Wed Feb 26, 2003 11:10 pm Post subject: |
|
|
Apprentice
Joined: 11 Sep 2002 Posts: 39 Location: Infotech, Madhapur,India
|
kirani wrote: |
Beaula,
You can use NATIVE CCSID, and Encoding in your M/F application when putting the message on NT queue. You will then use WMQI to read the message from input queue and parse it against appropriate message definition (MRM-CWF). WMQI will then convert the message/data into unicode format for it's internal use. Alternatively you can use MQGMO_CONVERT option if your data is of "STRING" type.
I am not sure about the MQIIH header. |
Thanks Kirani.
I require some more clarification on the same. Should I set the message format for MQMD as MQFMT_STRING for a mixture of string and numeric data putting on to the NT Queue.
What is the native value of CCSID and Encoding for OS/390 and where can i get this values ?.
I one sample program I have seen them setting CCSI as MQCCSI_Q_MGR and encoding as MQENC_NATIVE. Should I set it the same way ?.
I am confused and please guide me ..... |
|
Back to top |
|
 |
kirani |
Posted: Thu Feb 27, 2003 10:20 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Beaula wrote: |
I require some more clarification on the same. Should I set the message format for MQMD as MQFMT_STRING for a mixture of string and numeric data putting on to the NT Queue.
|
Yes! But avoid using MQGMO_CONVERT option or channel conversion for such messages.
Beaula wrote: |
What is the native value of CCSID and Encoding for OS/390 and where can i get this values ?.
|
I think it's 785 and 500. You can get these in MQSeries manuals.
Beaula wrote: |
I one sample program I have seen them setting CCSI as MQCCSI_Q_MGR and encoding as MQENC_NATIVE. Should I set it the same way ?.
|
Yes! _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
|