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 » To output delimited fields using WMQI 2.0.1

Post new topic  Reply to topic
 To output delimited fields using WMQI 2.0.1 « View previous topic :: View next topic » 
Author Message
jg
PostPosted: Fri Apr 04, 2003 9:53 pm    Post subject: To output delimited fields using WMQI 2.0.1 Reply with quote

Newbie

Joined: 04 Apr 2003
Posts: 4

Is there a way to output a fixed length incoming field with different delimiters in 2.0.1 other than using neon formatter?

For example:

Input Data
FieldA 12345
FieldB abcd

Output Data
FieldA 12345;
FiledB abcd\

Thank you.
Back to top
View user's profile Send private message
kirani
PostPosted: Fri Apr 04, 2003 10:14 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

One way to do this is to define additional fields for Delimiters. For example, define
FIELD1.1 CHAR(1)
FIELD2.1 CHAR(1)
Using ESQL assign different delimiters to these fields.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
kirani
PostPosted: Fri Apr 04, 2003 10:18 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

There use to be a SupportPac with TREEASIS parser, but I am not able to find it on the IBM SupportPac website.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
jg
PostPosted: Fri Apr 04, 2003 10:23 pm    Post subject: Reply with quote

Newbie

Joined: 04 Apr 2003
Posts: 4

Hi Kiran,

Thanks for the reply.

Would you please assist with the ESQL quote?

Thanks.
Back to top
View user's profile Send private message
kirani
PostPosted: Fri Apr 04, 2003 10:28 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Let's say your input msg is parsed using MRM definition (FIELD1 and FIELD2). You could use following code to add delimiters.
Code:

SET OutputRoot.MRM.FIELD1 = InputRoot.MRM.FIELD1;
SET OutputRoot.MRM.FIELD11 = ';';
SET OutputRoot.MRM.FIELD2 = InputRoot.MRM.FIELD2;
SET OutputRoot.MRM.FIELD22 = '\';

Hope this helps.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » To output delimited fields using WMQI 2.0.1
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.