Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Status
title(S4)PACG 200 SP10
Action for inbound queues

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’.

Status
title(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.

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. 

Status
title(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’.