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 » question about mapping cobol to xml

Post new topic  Reply to topic
 question about mapping cobol to xml « View previous topic :: View next topic » 
Author Message
pfaulkner
PostPosted: Fri Apr 11, 2003 10:15 am    Post subject: question about mapping cobol to xml Reply with quote

Master

Joined: 18 Mar 2002
Posts: 241
Location: Colorado, USA

Hi,

I have a COBOL structure that contains a PIC 9(02) field and I am mapping to a field in an XML structure.

Problem is sometime my input msg contains spaces in this field (even though it's defined as numeric). When I try to do the mapping it complains because it is expecting decimal data and doesn't get it.

Is there a way to tell SI to default the value to zeroes when a non numeric is found?

I also use this field in a Occurs Depening on clause so it has to be numeric (and can't be a part of alpha group).

thanks
Back to top
View user's profile Send private message AIM Address
LearnMQSI
PostPosted: Mon Apr 21, 2003 3:39 pm    Post subject: Data Mapping from XML to FixedLength and vice versa Reply with quote

Centurion

Joined: 20 Aug 2002
Posts: 137

Hi There,

I saw your question but I can not answer to your question since I'm new to MQSI. I'm also doing somthing similar. I need to convert an XML file into FixedLength message and FixedLength message into XML.

I appreciate your help and thanx in advance
Back to top
View user's profile Send private message
RamVijayawada
PostPosted: Tue Apr 22, 2003 12:16 pm    Post subject: Reply with quote

Novice

Joined: 22 Apr 2003
Posts: 15

Hi, U can write esql code , just by checking the incoming value, In the condition check for spaces, if u find spaces u can hard code to zeros...
I believe this helps...
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 » question about mapping cobol to xml
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.