I have a Program A which sends a message to a data queue ,
There is a job running on the System i , which monitor this data queue ,
and when it receives a message in this queue a set of programs is called .
The problem is when one of the programs has a error , my job queue goes into MSGW ,
and the next set of messages which arrives remains in the data Queue and does not gets processed .
Why we made it like this as the frequency of the messages arriving to data ques is high ,
so if instead of doing this if we have submitted a job then each time a new job is submitted , a lot of resourcess and CPU time is utilized ,
How can i resolve this issue ????
Software/Hardware used: AS400 COBOL , AS400 version V6R1M