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 » Problems with <CR> <LF> in WBI 2.1 How I Can Do

Post new topic  Reply to topic
 Problems with <CR> <LF> in WBI 2.1 How I Can Do « View previous topic :: View next topic » 
Author Message
jesieltrevisan
PostPosted: Thu Jun 08, 2006 12:46 pm    Post subject: Problems with <CR> <LF> in WBI 2.1 How I Can Do Reply with quote

Novice

Joined: 21 Mar 2006
Posts: 13

Hello,

I need help from WebSphere 2.1 Control Center Integration.
For example, I have a iDOC that enter in my IN Queue, and my exit is a TXT FILE.
This TXT File have a Tagged Delimited Format.

In this exit file, I need insert a <CR><LF> after the last line inside TXT File.

But i don't know what is the command line, in ESQL from WBI 2.1 that jump a line in the final context.

Someone knows how I insert a Line Break: <CR><LF> in the Last Line inside my TXT Exit File ?

I need to modific my ESQL cod, or,... i need modific my MessageSet ?

If from ESQL, What's the command line in ESQL ?

Or, if the problem is with my MessageSet, where is the Field that I Can Modific to Do one BreakLine "AT END Insite my TXT FILE"

Thank you and sorry my Bad english..
_________________
Analista de Sistemas.
J2EE, WebSphere MQSI Skill´s
----------------------------------------------------
Brazil [<O>]
Back to top
View user's profile Send private message MSN Messenger
jefflowrey
PostPosted: Thu Jun 08, 2006 12:53 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

In ESQL you can either simply enclose a blank line in single quotes, or you can use || and CAST(X'0A0D' as CHARACTER).

In your message set, you can use the TDS mnemonic <CR><LF>. Or you can use the hex 0A0D, again as X'0A0D'.

Please upgrade to version 6.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jesieltrevisan
PostPosted: Thu Jun 08, 2006 6:24 pm    Post subject: Reply with quote

Novice

Joined: 21 Mar 2006
Posts: 13

jefflowrey wrote:
In ESQL you can either simply enclose a blank line in single quotes, or you can use || and CAST(X'0A0D' as CHARACTER).

In your message set, you can use the TDS mnemonic <CR><LF>. Or you can use the hex 0A0D, again as X'0A0D'.

Please upgrade to version 6.


Hello Man,

The systax "my results" || CAST(X'0A0D' as CHAR) no printed a blank line.
Sorry... but, how I can insert a blank line ? ... i don't know...
_________________
Analista de Sistemas.
J2EE, WebSphere MQSI Skill´s
----------------------------------------------------
Brazil [<O>]
Back to top
View user's profile Send private message MSN Messenger
kimbert
PostPosted: Fri Jun 09, 2006 12:37 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Or if you want to do it via the message set...
Find the compound type which describes the outermost level in your message, and set its Group Terminator to '<CR><LF>' ( or <CR>, or whatever you need ).
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Sat Jun 10, 2006 5:21 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

jesieltrevisan wrote:
The systax "my results" || CAST(X'0A0D' as CHAR) no printed a blank line.
Sorry... but, how I can insert a blank line ? ... i don't know...


Well, what did you assign the results to? What results did it produce? Also, maybe I should have said "CAST(X'0A0D' as Character CodedCharSetId InputRoot.Properties.CodedCharSetId Encoding InputRoot.Properties.Encoding)". Even that might not be 100% correct, please verify it yourself.
_________________
I am *not* the model of the modern major general.
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 » Problems with <CR> <LF> in WBI 2.1 How I Can Do
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.