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 IndexWebSphere Message Broker (ACE) SupportSupplemental Looping

Post new topicReply to topic
Supplemental Looping View previous topic :: View next topic
Author Message
dmw1986
PostPosted: Mon Dec 08, 2008 12:06 pm Post subject: Supplemental Looping Reply with quote

Apprentice

Joined: 24 Sep 2008
Posts: 35

I have a very unique situation involving XML and Mainframe COBOL. What has to happen is our COBOL CICS code is setup to only enter for example 1 address at a time, or 1 DOB at a time. So what’s going to happen is were going to get a XML file with like 4 address, 3 names, 2 dobs etc.. We enter the “base” to the mainframe then I need to enter the “supplemental” addresses each separately. So for example I’ll get a set of addresses like this in a XML File, somehow I need to wait until the first gets entered (they’ll be a MQ response saying “success”) then I need to loop back around and do the rest until there all entered.
Code:

               <nc:ContactInformation s:id="C4">
                  <mo-warrant:ContactAddress>
                     <nc:LocationCityName>WASHINGTON</nc:LocationCityName>
                     <nc:LocationStateUSPostalServiceCode>MO</nc:LocationStateUSPostalServiceCode>
                     <mo-warrant:AddressTypeCode>H</mo-warrant:AddressTypeCode>
                  </mo-warrant:ContactAddress>
               </nc:ContactInformation>
               <nc:ContactInformation s:id="C2">
                  <mo-warrant:ContactAddress>
                     <nc:LocationCityName>WASHINGTON</nc:LocationCityName>
                     <nc:LocationStateUSPostalServiceCode>MO</nc:LocationStateUSPostalServiceCode>
                     <mo-warrant:AddressTypeCode>H</mo-warrant:AddressTypeCode>
                  </mo-warrant:ContactAddress>
               </nc:ContactInformation>
               <nc:ContactInformation s:id="C5">
                  <mo-warrant:ContactAddress>
                     <nc:LocationCityName>WASHINGTON</nc:LocationCityName>
                     <nc:LocationStateUSPostalServiceCode>MO</nc:LocationStateUSPostalServiceCode>
                     <mo-warrant:AddressTypeCode>H</mo-warrant:AddressTypeCode>
                  </mo-warrant:ContactAddress>
               </nc:ContactInformation>
               <nc:ContactInformation s:id="C3">
                  <mo-warrant:ContactAddress>
                     <nc:AddressDeliveryPointID>17</nc:AddressDeliveryPointID>
                     <nc:LocationStreet>
                        <nc:StreetFullText>SOUTHWINDS, APT. 9</nc:StreetFullText>
                     </nc:LocationStreet>
                     <nc:LocationCityName>WASHINGTON</nc:LocationCityName>
                     <nc:LocationStateUSPostalServiceCode>MO</nc:LocationStateUSPostalServiceCode>
                     <mo-warrant:AddressTypeCode>H</mo-warrant:AddressTypeCode>
                  </mo-warrant:ContactAddress>
               </nc:ContactInformation>
               <nc:contact admin>
                  <nc:PersonReference s:ref="P1"/>
                  <nc:ContactInformationReference s:ref="C4"/>
               </nc:contact admin>
               <nc:contact admin>
                  <nc:PersonReference s:ref="P1"/>
                  <nc:ContactInformationReference s:ref="C2"/>
               </nc:contact admin>
               <nc:contact admin>
                  <nc:PersonReference s:ref="P1"/>
                  <nc:ContactInformationReference s:ref="C5"/>
               </nc:contact admin>
               <nc:contact admin>
                  <nc:PersonReference s:ref="P1"/>
                  <nc:ContactInformationReference s:ref="C3"/>
               </nc:contact admin>



Is there a set of nodes that can right to MQ, wait for response (MQ Input?) Go back through the XML to get the next address, write it to MQ and so on?

Is that the Aggregate? I know this is really confusing so ask any questions you may have...

-Drew
Back to top
View user's profile Send private message
TonyD
PostPosted: Mon Dec 08, 2008 12:25 pm Post subject: Reply with quote

Knight

Joined: 15 May 2001
Posts: 540
Location: New Zealand

That should be fairly straightforward ... would suggest looking at PROPAGATE combined with MQGet.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker (ACE) SupportSupplemental Looping
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.