freelar wrote:can a CICS program be started up and go out do a CEMT Purge command on a started task?
I am having issues after a job I have opens files, enables transactions and enables a CICS MQ transaction and starts the task. When I use a job to shut down files and disable the MQ transaction the task keeps running.
If your long running transaction does not have any programmed 'stop' code, then a purge is what you will need to do.
You could set up a simple flag to alert the task to stop, if ithe task looked at the flag prior to processing the MQ input.
Why isn't the MQ reader a short running transaction, triggered by MQ and only running when data is available?
Either way, you could set up a simple flag to alert the task to stop, if the task looked at the flag prior to processing the MQ input.