The program /PACG/ECM_RESTART_QUEUES serves the purpose of restarting/activating FSM Cloud Connector-related queues (name starting with ‘/PACG/ECM*’). The program should be executed by a background job.
Technical details
The table below describes actions taken for queues with a given status:
Queue status | Action for outbound queues | (S4)PACG 200 SP10 Action for inbound queues Inbound queues are used when field ‘Inbound queue’ is active in /PACG/ECM_CPROP - General Properties of FSM Cloud Connector |
---|---|---|
READY | Queues are run with FM ‘TRFC_QOUT_RUN’ and then activated with FM ‘QDEST_SCHEDULER_ACTIVATE’. | Queues are run with FM ‘TRFC_QIN_RUN’ and then activated with FM ‘QIWK_SCHEDULER_ACTIVATE’. |
SYSFAIL | Delete the locked record from table TRFCQOUT. Activate the queue with FM ‘QDEST_SCHEDULER_ACTIVATE’. | Delete the locked record from table TRFCQIN. Activate the queue with FM ‘QIWK_SCHEDULER_ACTIVATE’. |
NOSEND | Clear property ‘Nosend’ for a given queue in table TRFCQOUT. Activate the queue with FM ‘QDEST_SCHEDULER_ACTIVATE’. | Clear property ‘Nosend’ for a given queue in table TRFCQIN. Activate the queue with FM ‘QIWK_SCHEDULER_ACTIVATE’. |
(S4)PACG 200 SP10 RUNNING | Queues are run with FM ‘TRFC_QOUT_RUN’ and then activated with FM ‘QDEST_SCHEDULER_ACTIVATE’. The status ‘RUNNING’ is not alarming right away, but only after a longer period. Use the field ‘Min queue age (in minutes)’ to specify the minimum queue lifespan. Queues with shorter lifespan will not be considered. For instance, if a queue in this status hangs for more than 30 minutes, this may mean that the work process responsible for sending this LUW has been terminated. If this is the case, you can activate this queue again. Activating a queue in status RUNNING may cause a LUW to be executed several times if this LUW is still being processed in the target system at that time. It’s therefore recommended to keep a waiting time of at least 30 minutes before reactivating the queue. | Queues are run with FM ‘TRFC_QIN_RUN’ and then activated with FM ‘QIWK_SCHEDULER_ACTIVATE’. The status ‘RUNNING’ is not alarming right away, but only after a longer period. Use the field ‘Min queue age (in minutes)’ to specify the minimum queue lifespan. Queues with shorter lifespan will not be considered. |
(S4)PACG 200 SP10 WAITSTOP | Queues are run with FM ‘TRFC_QOUT_RUN’ and then activated with FM ‘QDEST_SCHEDULER_ACTIVATE’. | Queues are run with FM ‘TRFC_QIN_RUN’ and then activated with FM ‘QIWK_SCHEDULER_ACTIVATE’. |
Please note that the program retrieves queue statuses from tables TRFCQOUT/TRFCQIN. If a queue has 15 entries, in SMQ2 its status may be displayed as ‘SYSFAIL’ but on table level only 1 entry has status ‘SYSFAIL’ and the other 14 have status ‘READY’. To restart all the queue entries, activate status ‘READY’ on the selection screen.