ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Puuting Message from OS/390 to WINNT

Post new topic  Reply to topic
 Puuting Message from OS/390 to WINNT « View previous topic :: View next topic » 
Author Message
Beaula
PostPosted: Wed Feb 12, 2003 3:49 am    Post subject: Puuting Message from OS/390 to WINNT Reply with quote

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
View user's profile Send private message Send e-mail
kirani
PostPosted: Sat Feb 15, 2003 12:20 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Beaula
PostPosted: Thu Feb 20, 2003 3:13 am    Post subject: Putting Messages from OS/390 to NT Reply with quote

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
View user's profile Send private message Send e-mail
kirani
PostPosted: Thu Feb 20, 2003 10:15 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
mqchap
PostPosted: Thu Feb 20, 2003 1:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
Beaula
PostPosted: Wed Feb 26, 2003 11:10 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
kirani
PostPosted: Thu Feb 27, 2003 10:20 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Puuting Message from OS/390 to WINNT
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.