Page 1 of 1

dynamically changing queue attributes

PostPosted: Thu May 10, 2012 12:19 am
by Sivapradeep
Hi,

Can anyone help me how to change the attributes of a queue at run time ?

I have to change the attributes of remote definition also in my Cobol program.

Re: dynamically changing queue attributes

PostPosted: Thu May 10, 2012 1:05 am
by dick scherrer
Hello,

Why is there a "need" to change queue attributes at run time?

How often will the program have to be changed?

Re: dynamically changing queue attributes

PostPosted: Thu May 10, 2012 8:50 am
by Sivapradeep
The need for changing attributes is like this...
I'll get multiple msgs from Windows users to a common local Q in mf side where app prog can service those msgs. Here I can retrieve info about the source of msg I.e. QManager and local queue of Windows. So while putting msg into remote definition I'll use these details and change its attributes at run time so that it will reach Windows from wherever the msg has originated.

This is just an idea I had. Not started implementing yet. If someone has better solution pls suggest for my problem.