MQ Job

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
svga
Participant
Posts: 73
Joined: Thu Aug 07, 2008 6:31 am
Location: Syracuse

MQ Job

Post by svga »

Hi,

I have a requirement where I always need to listen to the MQ queue and write the message to the sequencial file as soon as it's arrive in the queue.

I set the Message quantity option to -1 in order to make my job always in running state. When the message arrives in the queue, I see in designer that message is getting written to file but when I actually looking at the file, I don't see any records in it.

Can anyone please help me on this issue??
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Unsure of the answer but the issue is the write buffers, they only get flushed to disk periodically and only for certain when the job ends and the file is "closed".
-craig

"You can never have too many knives" -- Logan Nine Fingers
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

Exactly. The job never is "finished" when running in that fashion..instead, target an rdbms table that supports commit=1, and then get your data from there as you wish.

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
Post Reply