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 » Using Default Values in XML to Cobol Conversion

Post new topic  Reply to topic
 Using Default Values in XML to Cobol Conversion « View previous topic :: View next topic » 
Author Message
pduvvuri
PostPosted: Fri May 30, 2003 6:49 am    Post subject: Using Default Values in XML to Cobol Conversion Reply with quote

Newbie

Joined: 30 May 2003
Posts: 2

I am working with a message that has many occurs in the Cobol copybook. When I want to transform XML to Cobol, I am trying to find the best way to handle missing Occurances in the input XML.

Here is an example.

01 Order-rec.
05 ITEMS OCCURS 50 times.
10 PRODUCT-CD
10 QUANTITY
....
If the input xml contains only 5 occurances of ITEMS, what is the best way to convert to Cobol without having to set default values for every element under the ITEMS group.

The message I am working with is very large and complex and I am trying to save the effort of having to define default values for each element.
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 » WebSphere Message Broker (ACE) Support » Using Default Values in XML to Cobol Conversion
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.