Configure the data queue settings

Related topics

The settings in the AMT Alert reader data queue are, in most instances, pre-loaded and although these can be changed, it is recommended that the end user not alter these.

The data queues function is to process the string of information that has been received, based on the various criteria that have been set up for each event, and to then interrupt this information and convert it into a message. This routine is also determined, to a lesser degree, by the Restart possibility field on the Work with event types panel. This determines if a record is placed in the data queue or in a back-up file. For more details, see Configure the basic properties of a new event type.

Caution: The Automatic start field comes pre-loaded set to NO. This field must set to YES, or else, despite the data that is created by AMT being stored in the queue, no messages will be sent.

The following describes the various fields in this program and an explanation of the most important functions that they perform.

  1. Select the Work with data queue routines menu item.
  2. On the main panel, select the AMT Alert reader (AMTRDR) routine and click Change.
  3. You access the Work with data queue routines detail panel. The following fields are the most frequently altered on this panel:
    Automatic start
    Be certain to set this field to YES. The system is pre-loaded to not have automatic start checked. If not changed, this field will result in no Alert messages being created, although all the data that is generated from the event’s configuration will be stored in the data queue.
    Maximum entry length
    In this field, the second of its kind on this panel and listed under the area of Prestart program should have a value of 571 entered therein.
    Since this determines the length of the string of data that is created by an event, it is necessary for it to be this particular length. As the system interprets the data received, based on the number of character position at which each segment of information is stored, a value other than 571 will result in erroneous information being stored at the wrong character-space location.
    Initial no of jobs
    This field has a default value of 1, and can be used to adjust how many versions of AMT, as such, are running at the same time. If, for instance, the system were processing a large number of events, it would be beneficial to have more than one initial job running, so that more resources are allocated to AMT. In the same light, at times when only a few events are being processed, setting this field back to value 1 will mean that the system is able to use less resources for AMT purposes.
    Threshold (records)
    The value entered into this field will indicate to the system the maximum number of records the initial job (or jobs) should process, before a new job is started to assist in the workload. For instance, if a value of 5 is entered here, and the system then received 6 records to be processed, a second job will then run to assist the first. Similarly, if 11 records are running at once, then a third job will be started.
    Once a job has completed processing a number of records, and goes below the threshold amount, the job will then cease to run, until required once again.
    Max number of jobs
    You can limit the number of jobs that the system is permitted to run at the same time, by entering a numeric limit into this field. This is helpful in that you can make certain that the process does not use too much of your system’s resources. Instead, once the maximum number of jobs has been achieved and new records continue to arrive in the data queue, these will be delayed and processed when the jobs that are currently running have completed the records they are already busy with.
    Additional no of jobs
    At times, the data that has to be processed might be fairly light. With this option though, you are able to configure the system in such a way that even though the threshold level for each open job has been reduced to the limit, a certain number of jobs may continue to run in the background. The numeric figure entered into this field will indicate how many such jobs can remain active at such times.

    Other important fields on this panel include:

    Admin program
    This program, set to the default ASTC921, should not be changed. Its function is to monitor the data queue for new records, apply the rules that have been established on this panel and confirm if the Transaction program is functioning, as it should. Only in very rare cases, where a complex and new program has been created, should this field be altered.
    Trans program
    This program is responsible for the processing of the information string that has been received in the data queue, and in turn transfers this data’s parameters and creates the actual AMT message. This field should not be changed from the defaulted EDSC910 unless a specific new program has been written for this purpose.

    Click OK and exit the routine.

Related topics