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 » Problems creating/adding MQSAPH

Post new topic  Reply to topic
 Problems creating/adding MQSAPH « View previous topic :: View next topic » 
Author Message
smeunier
PostPosted: Thu Jan 05, 2006 6:35 pm    Post subject: Problems creating/adding MQSAPH Reply with quote

Partisan

Joined: 19 Aug 2002
Posts: 305
Location: Green Mountains of Vermont

I'm receiving a SAP IDOC through Websphere Buisness Integration(WBI) mpsap.com adapter, which generates XML. I am converting this XML to an IDOC structure to satisfy legacy application requirements. Conversion to the IDOC structure is not an issue. The old legacy application used to receive the data from MQ R3LINK. So their code is used to getting the 108 byte SAPH record, which I need to maintain. In my ESQL I try to create the MQSAPH header but I get nothing. When running in debug mode, it passes right over the statements. Shouldn't this be like creating any other header record? Am I missing something?

General flow is: InputNode(mrm,MSID,CwXML)-> Compute -> OutputNode
Here are statements building the headers.

Code:

-- Create transformed WBI BOXML to IDOC format
SET OutputRoot.MQMD = InputRoot.MQMD;
SET OutputRoot.MQMD.Format = 'MQSTR   ';

   

SET OutputRoot.MQRFH2 = NULL;


Set OutputRoot.MQSAPH.Version = 1;
Set OutputRoot.MQSAPH.Format = 'MQSTR ';
Set OutputRoot.MQSAPH.Encoding = 273;
Set OutputRoot.MQSAPH.CodedCharSetId = 819;
Set OutputRoot.MQSAPH.Flags = 0;
Set OutputRoot.MQSAPH.Client = ' ';
Set OutputRoot.MQSAPH.Language = ' ';
Set OutputRoot.MQSAPH.HostName = ' ';
Set OutputRoot.MQSAPH.UserId = ' ';
Set OutputRoot.MQSAPH.Password = ' ';
Set OutputRoot.MQSAPH.SystemNumber = ' ';
Set OutputRoot.MQSAPH.Reserved = X'0000';




Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Jan 05, 2006 8:03 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Read the MQLink-R3 documentation.
Check out the headerformat somewhere you need to specify SAPH in the format field... (from memory)
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Problems creating/adding MQSAPH
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.