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 » EDI File Delimiter need to changed from * to ^/ ! to ~

Post new topic  Reply to topic
 EDI File Delimiter need to changed from * to ^/ ! to ~ « View previous topic :: View next topic » 
Author Message
rkailasam2
PostPosted: Thu Jan 19, 2012 4:04 am    Post subject: EDI File Delimiter need to changed from * to ^/ ! to ~ Reply with quote

Novice

Joined: 09 Oct 2011
Posts: 11

Dear Friend,

After getting Purchase Order Acknowledgment data from databse table I need to parse data to EDI file.

When i parse the data I am getting EDI file in below format.
PO1*2*10*BX*16.75*CA*VC*VC200!

Customer would like to have the file to below format
PO1^2^10^BX^16.75^CA^VC^VC200~

Please Help Me.
Ramesh Kailasam
Back to top
View user's profile Send private message
kimbert
PostPosted: Thu Jan 19, 2012 4:43 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

From what I remember, EDI formats usually tell the receiver what the delimiter is in a special header field. So there shouldn't be any need to change the delimiter like this. Maybe the receiver's parser can only handle one type of delimiter?

If the * only ever appears as a delimiter then you can use ESQL's REPLACE to change the delimiter. But if a * can appear in the data ( prefixed by an escape character ) then you will have to create or buy a message set to parse the message, and then change the delimiter and let the MRM parser write the new format.
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 » EDI File Delimiter need to changed from * to ^/ ! to ~
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.