Records concatenated while sending through MQ

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
preetiv
Participant
Posts: 12
Joined: Tue May 26, 2009 12:58 am

Records concatenated while sending through MQ

Post by preetiv »

Hi All,

I have a parallel job which reads from a fixed width file and sends data through MQ. I am using segmented message options. Because of this records are getting concatenated within each message.

Is there any way to resolve this?

Thanks,
Preeti
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

I don't have MQ installed at this client, but I think that this is exactly what setting segmentation does.
preetiv
Participant
Posts: 12
Joined: Tue May 26, 2009 12:58 am

Post by preetiv »

Well, is there a way where I can retain the new line character after each record?
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Have you tried adding CHAR(10) to the end of your string?
Post Reply