ENDMQM parameter ENDCCTJOB(*YES)

The ENDMQM parameter ENDCCTJOB(*YES) works differently in WebSphere MQ for iSeries V6.0 compared to MQSeries for AS/400 V5.2.

On MQSeries for AS/400 V5.2, when you specify ENDCCTJOB(*YES), MQSeries for AS/400 V5.2 forcibly terminates your applications for you.

On WebSphere MQ for iSeries V6.0, when you specify ENDCCTJOB(*YES), your applications are not terminated but are instead disconnected from the queue manager. If you specify ENDCCTJOB(*YES) and you have applications that are not written to detect that a queue manager is ending, the next time a new MQI call is issued, the call will return with a MQRC_CONNECTION_BROKEN (2009) error.

As an alternative to using ENDCCTJOB(*YES), use the parameter ENDCCTJOB(*NO) and use WRKMQM option 22 (Work with jobs) to manually end any application jobs that will prevent a queue manager restart.