en:app:020cor:110sm:020mgr:0180spttsk

Manager for Automatic Execution of Pending Items

Transaction SPTTSK

This “Task Manager” allows pending items to be automatically processed. The items can usually be accessed via “Selecting Pending Items” (SPTSEL) or via the Office. The listed items can either be processed individually (icon ) or all together (icon ).

However, SPTTSK processes only the following specific types of SPT records: AUT, STP and PUP.

AUT = Transactions that are to be executed automatically
STP = Straight through processing
PUP = Processing pending

These are the SPT types that are NOT visible in the Office:
STP is used for the straight through processing of incoming messages.
AUT is used for transactions triggered by the application that are to be processed automatically, such as periodic fee settlements from xxBCOM.

Pending transactions containing STP and AUT are deliberately not completed automatically if they contain infotexts because these cannot be displayed in the background and may contain written instructions. In this event, the SPT is set to PEN to ensure that somebody reads the referenced text.

In the application this Task Manager is used for the following tasks:

For the processing procedure, the User ID used in the transactions is converted to the contract owner for AUT records and to the entity's application administrator for STP records. Only if these are not known is the User ID that was used to start the SPTTSK transaction then used for processing. So warnings are sent via the notify to the competent bank staff, as well as this person appears in correspondence generated.

Optional Selection of Pending Items

Entering SQL expressions for additional selection can be enabled by setting 'ADDSQLEXPFLG' in section [SPTTSK] in SPTTSK.INI. For example, it is possible to individually select records to be processed in a mass data processing besides the daily routines (e.g. data migrations).

Example (File name in OBJNAM):
OBJNAM LIKE 'SeachTerm02%'

Thus, this transaction can can process those SPT records, which match the search term. It also facilitates controlling the progress of the process (i.e. for which search terms the processing has already taken place).

Managers running in foreground mode always need to be started manually.

Tracing of Transactions

Transactions, which are being run via the SPTTSK, can be traced by starting the SPTTSK in the foreground and activating the wanted debug switches. The SPTTSK will pass its own debug switches as commandline parameters to the transactions which have been initiated by the SPTTSK.

Transaction Panels

Task Manager



Datafields

Datafield Description
Start Time of Job Date This field displays the date and time the Task Manager was started.
Automatic Termination Flag This field defines the reason for terminating the Task Manager
- at a predefined time. In this case enter the time in the field on the right
side
- if list empty. The Task Manager will then stop when the list of open
transactions is empty.
- manually only. In this case the Task Manager will stop in case the
“stop” button is pressed.
Redotime This field contains the restart time of the Task Manager in seconds. If processing
is set to 'automatic', the Task Manager will restart after this time selected.
If 'manual' any time period entered is irrelevant.
Application Trace Flag This option sets the trace level of the transaction. Higher values mean more details.


Pending Items




en/app/020cor/110sm/020mgr/0180spttsk.txt · Last modified: 2022/08/10 12:06 by mm