Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MQ change

Status
Not open for further replies.

dhsmn

Programmer
Nov 16, 2006
3
US
Hi,

Here i need to change queues(ATST/UTST/RTST) everytime in the map manually when i need to run ATST/UTST/RTST. Can anyone give a idea/logic how to do that dynamically.

Thanks,
dhsmn
 
Do you want to write to a certain queue dependent on the data you are processing?

i would use the PUT function or call a simple RUN map to write to a variable queue name.

Olly.
 
I would define the three queues in a resource registry file and then include the registry file in the map via a configuration map;and then depending on the programme logic, I would called any one of the defined queues.

If the queues names variables are cunningly defined in the registry file; you could just add as many queues, in the future, without having to modify the map.

Does this help?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top