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 » How to add a new line character at End Of my message

Post new topic  Reply to topic
 How to add a new line character at End Of my message « View previous topic :: View next topic » 
Author Message
m.arunprasad1
PostPosted: Tue Mar 12, 2013 7:19 pm    Post subject: How to add a new line character at End Of my message Reply with quote

Novice

Joined: 11 Feb 2013
Posts: 19

I am using Message Broker 6.0.2 version and I am generating a fixed length format message where I am getting the message in the expected format.

But when I open the message my cursor is at the top of the message where as the requirement is the cursor should be at the end of my message

Output Message
Code:

110300000001  01          1012 TE TG  af1             00000122T       0000000002000000000020  000000000100000000002003132 
110300000002  01          1012 TE TG  af1             00000122T       0000000002000000000020  000000000100000000002003132 


Hex Version
Code:

30 30 30--30 30 30 31 20 20 30 31  |110300000001  01|
00010   20 20 20 20 20 20 20 20--20 20 31 30 31 32 20 54  |          1012 T|
00020   45 20 54 47 20 20 61 66--31 20 20 20 20 20 20 20  |E TG  af1       |
00030   20 20 20 20 20 20 30 30--30 30 30 31 32 32 54 20  |      00000122T |
00040   20 20 20 20 20 20 30 30--30 30 30 30 30 30 30 32  |      0000000002|
00050   30 30 30 30 30 30 30 30--30 30 32 30 20 20 30 30  |000000000020  00|
00060   30 30 30 30 30 30 30 31--30 30 30 30 30 30 30 30  |0000000100000000|
00070   30 30 32 30 30 33 31 33--32 20 20 0D 0A 31 31 30  |002003132.110|
00080   33 30 30 30 30 30 30 30--32 20 20 30 31 20 20 20  |300000002  01   |
00090   20 20 20 20 20 20 20 31--30 31 32 20 54 45 20 54  |       1012 TE T|
000A0   47 20 20 61 66 31 20 20--20 20 20 20 20 20 20 20  |G  af1          |
000B0   20 20 20 30 30 30 30 30--31 32 32 54 20 20 20 20  |   00000122T    |
000C0   20 20 20 30 30 30 30 30--30 30 30 30 32 30 30 30  |   0000000002000|
000D0   30 30 30 30 30 30 30 32--30 20 20 30 30 30 30 30  |000000020  00000|
000E0   30 30 30 30 31 30 30 30--30 30 30 30 30 30 30 32  |0000100000000002|
000F0   30 30 33 31 33 32 20 20--                         |003132          |


(i.e I need to add a new line character(OD OA) at the end of my message)

Please Help
Back to top
View user's profile Send private message
smdavies99
PostPosted: Tue Mar 12, 2013 8:20 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

1) V6.0.2 is well out of support so unless you are paying IBM a whole heap of money for extended support, why are ypu still using such an old version.

2) This question has been asked many times before. Have you searched for one of the many solutions?

3) How are you 'opening' the message?

4) Why do you think that you need to add a CR/LF to the message?

5) Have you tried to move your cursor in code in order to meet your requirement? (Which might be wrong by the way.)
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
m.arunprasad1
PostPosted: Tue Mar 12, 2013 11:36 pm    Post subject: Reply with quote

Novice

Joined: 11 Feb 2013
Posts: 19

smdavies99 wrote:
1) V6.0.2 is well out of support so unless you are paying IBM a whole heap of money for extended support, why are ypu still using such an old version.

I am aware, V6.0.2 is preety much old version, but our Business has been using this version and we have extended the support with IBM

2) This question has been asked many times before. Have you searched for one of the many solutions?
I found may thread stating to remove the newline character, but unable to find the one for adding the new line(OD OA) at the end of my message

3) How are you 'opening' the message?
I am opening the message with Notepad

4) Why do you think that you need to add a CR/LF to the message?
This is a Business Requirement. Also this file is being used by some other source. Please suggest me if it is possible, if not i will update them

5) Have you tried to move your cursor in code in order to meet your requirement? (Which might be wrong by the way.)
As you were telling this is not a right way


Please help..
Back to top
View user's profile Send private message
kimbert
PostPosted: Wed Mar 13, 2013 12:54 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Add a group terminator to the outermost complex type.
Back to top
View user's profile Send private message
m.arunprasad1
PostPosted: Wed Mar 13, 2013 3:13 am    Post subject: Reply with quote

Novice

Joined: 11 Feb 2013
Posts: 19

Thanks Kimbert.. That served my purpose.

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 » How to add a new line character at End Of my message
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.