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 » IBM MQ API Support » RPG Program

Post new topic  Reply to topic
 RPG Program « View previous topic :: View next topic » 
Author Message
mq_crazy
PostPosted: Tue Mar 13, 2007 10:50 am    Post subject: RPG Program Reply with quote

Master

Joined: 30 Jun 2004
Posts: 295

I do have an RPG program that reads messages from the queue and writes to the flat file on the AS400. The program works fine, except the data it writes all null characters. The data looks fine in the queue, but in the flat file its all null characters... any ideas please.. MQ6.0 Refresh pack 2 on AS400.
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Tue Mar 13, 2007 10:54 am    Post subject: Re: RPG Program Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

mq_crazy wrote:
I do have an RPG program that reads messages from the queue and writes to the flat file on the AS400. The program works fine, except the data it writes all null characters. The data looks fine in the queue, but in the flat file its all null characters... any ideas please.. MQ6.0 Refresh pack 2 on AS400.



Can you send this messages to console befor sending to the file to compare ?

Do you do any modifications ?

Did you try to debug it ?

Marcin
Back to top
View user's profile Send private message Visit poster's website
mq_crazy
PostPosted: Tue Mar 13, 2007 11:03 am    Post subject: Reply with quote

Master

Joined: 30 Jun 2004
Posts: 295

Thanks for the reply. I don't know RPG programming, someone else has written this, can you tell me how can i send to console?? I don't think there are any modifications. Should i change any CCSID or something???
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Tue Mar 13, 2007 11:21 am    Post subject: Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

mq_crazy wrote:
Thanks for the reply. I don't know RPG programming, someone else has written this, can you tell me how can i send to console?? I don't think there are any modifications. Should i change any CCSID or something???



Sorry but if you don't know RPG programming and if you can not describe your problem here there is no chance to solve it with forum posts.

no offence

Maybe you should show your code to colleague who know it ?

Marcin
Back to top
View user's profile Send private message Visit poster's website
mq_crazy
PostPosted: Tue Mar 13, 2007 12:00 pm    Post subject: Reply with quote

Master

Joined: 30 Jun 2004
Posts: 295

Do we have to change the message format?? As we get message format MQSTR, CCSID 819, Encoding 273. Is that right?? Our queue manager CCSID is 37.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » RPG Program
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.