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 » RFH2 in COBOL

Post new topic  Reply to topic
 RFH2 in COBOL « View previous topic :: View next topic » 
Author Message
Kraven12
PostPosted: Wed May 29, 2002 5:46 am    Post subject: RFH2 in COBOL Reply with quote

Novice

Joined: 21 Oct 2001
Posts: 21

Currently having a problem generating a valid RFH2 header from COBOL. Has anybody else done this successfully in the past?

The error is reporting an unconvertable character. It appears to be saying the NameValueLength has a value of 1208 but that is actually the NameValueCCSID.

All fields line up correctly and all lengths are correct.

Any ideas/tips appreciated.

Thanks,

Dave
Back to top
View user's profile Send private message
Ward
PostPosted: Wed May 29, 2002 6:33 am    Post subject: Reply with quote

Voyager

Joined: 27 Jun 2001
Posts: 98
Location: Europe

Hi,

Is your structlength a multiple of 4 ?

Cheers,

Ward.
_________________
IBM Certified Solution Designer -- WebSphere MQ V6.0
IBM Certified Solution Developer - WebSphere Message Broker V6.0
----------------------------
Visit Boat Dimensions
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Kraven12
PostPosted: Wed May 29, 2002 6:49 am    Post subject: Reply with quote

Novice

Joined: 21 Oct 2001
Posts: 21

Yes, the struclength is 132 which is a multiple 4.

Thanks.
Back to top
View user's profile Send private message
wongcr
PostPosted: Mon Jan 06, 2003 7:44 pm    Post subject: Reply with quote

Newbie

Joined: 06 Jan 2003
Posts: 1

actually, I think this is because the COBOL copybook for the RFH2 header is wrong - the member CMQRFH2V is missing the definition for namevaluelength. ie:
15 MQRFH-NAMEVALUELENGTH PIC S9(9) BINARY

(compare this with the MQ application programming reference, chapter 16 "RFH2" which explicitly mentions this field.

cheers
chris wong
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » RFH2 in COBOL
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.