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 » General IBM MQ Support » Putting Data on Windows NT from OS/390

Post new topic  Reply to topic
 Putting Data on Windows NT from OS/390 « View previous topic :: View next topic » 
Author Message
Beaula
PostPosted: Tue Feb 25, 2003 3:13 am    Post subject: Putting Data on Windows NT from OS/390 Reply with quote

Apprentice

Joined: 11 Sep 2002
Posts: 39
Location: Infotech, Madhapur,India

I have some main frame applications in cobol and would like to put the data on mainframe to MQSeries queues on Windows NT. How do i do this ?. Can any one explain to me with some sample, how this can be done .....
Back to top
View user's profile Send private message Send e-mail
zpat
PostPosted: Tue Feb 25, 2003 4:52 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

This is a basic question and is covered in the manuals.

Will the NT system use MQ client or MQ Server is the first choice?

MQ is cross platform - the message can be read anywhere - just make sure that the message format is set to MQSTR and the MQGET specifies the CONVERT option.
Back to top
View user's profile Send private message
Beaula
PostPosted: Wed Feb 26, 2003 10:58 pm    Post subject: MQseries Coded Character Set ID Reply with quote

Apprentice

Joined: 11 Sep 2002
Posts: 39
Location: Infotech, Madhapur,India

zpat wrote:
This is a basic question and is covered in the manuals.

Will the NT system use MQ client or MQ Server is the first choice?

MQ is cross platform - the message can be read anywhere - just make sure that the message format is set to MQSTR and the MQGET specifies the CONVERT option.


Is it that we have to set the message format for MQMD as MQFMT_STRING ?. The data which we are sending is a mixture of String and Numeric data from OS/390 and if we set to MQFMT_STRING, will this take care of both numeric and string data mixture ?.

Should we set for the CCSID in MQMD as MQCCSI_Q_MGR and encoding as MQENC_NATIVE before putting the message to NT ?.

In page 646 of MQSeries Application programming reference, we found the Native CCSID for MVS as 500, 1148 and 924. Which value should we use or Should we set it to MQCCSI_Q_MGR ?.

Please clarify .......
Back to top
View user's profile Send private message Send e-mail
mgrabinski
PostPosted: Wed Feb 26, 2003 11:25 pm    Post subject: Reply with quote

Master

Joined: 16 Oct 2001
Posts: 246
Location: Katowice, Poland

1) define your message as MQFMT_STRING (the best and most convienent way of dealing with conversion)
2) set the CCSID in MQMD to MQCCSI_Q_MGR (it's default)
3) set proper queue managers CCSID (on both MVS and Win; consult the MQ manuals for conversion tables proper for your language)
4) use MQGMO_CONVERT in your Win application
_________________
Marcin Grabinski <><
Back to top
View user's profile Send private message
Beaula
PostPosted: Thu Feb 27, 2003 12:11 am    Post subject: Character Code ID & Encoding Reply with quote

Apprentice

Joined: 11 Sep 2002
Posts: 39
Location: Infotech, Madhapur,India

mgrabinski wrote:
1) define your message as MQFMT_STRING (the best and most convienent way of dealing with conversion)
2) set the CCSID in MQMD to MQCCSI_Q_MGR (it's default)
3) set proper queue managers CCSID (on both MVS and Win; consult the MQ manuals for conversion tables proper for your language)
4) use MQGMO_CONVERT in your Win application


Thanks for the reply.

I didnot understand the third answer. Can you please explain once again. I am using MVS & English language. I have mq manuals for NT. Can you please specify ther manual name ?.

Should i set the encoding to MQENC_NATIVE ?.
Back to top
View user's profile Send private message Send e-mail
mgrabinski
PostPosted: Thu Feb 27, 2003 12:30 am    Post subject: Reply with quote

Master

Joined: 16 Oct 2001
Posts: 246
Location: Katowice, Poland

Yes, use MQENC_NATIVE

If your language is English, the default CCSID settings for queue managers will do. If not, see Application Programming Reference, there are conversion tables for all platforms
_________________
Marcin Grabinski <><
Back to top
View user's profile Send private message
oz1ccg
PostPosted: Thu Feb 27, 2003 10:20 am    Post subject: Reply with quote

Yatiri

Joined: 10 Feb 2002
Posts: 628
Location: Denmark

Quote:
Is it that we have to set the message format for MQMD as MQFMT_STRING ?. The data which we are sending is a mixture of String and Numeric data from OS/390 and if we set to MQFMT_STRING, will this take care of both numeric and string data mixture ?.


By the way, when sending data between Z/OS and the other platforms, my personal recommendation is use only text data.

This is because when converting "binary" data, they might get interpreted as a character of some type, and therefore get a wrong convertion. 2nd, the different format of binary data on Z/OS and the rest of the world.

Next somebydy would say create a convertion routine, and yes it's posibble, but requires good management skills to combine program changes together with MQ changes.....

The easiest solution is just use characters A-Z, 0-9 ,.- etc. And it have the feature that it's easy for the developers to read........

Just my $0.02
_________________
Regards, Jørgen
Home of BlockIP2, the last free MQ Security exit ver. 3.00
Cert. on WMQ, WBIMB, SWIFT.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Putting Data on Windows NT from OS/390
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.