Presentation is loading. Please wait.

Presentation is loading. Please wait.

Batch Jobs Using the batch job functions. Use [Bulk Changes][Batch Job Utility] to start. Read the information panel. Check with TAMS Technical Support.

Similar presentations


Presentation on theme: "Batch Jobs Using the batch job functions. Use [Bulk Changes][Batch Job Utility] to start. Read the information panel. Check with TAMS Technical Support."— Presentation transcript:

1 Batch Jobs Using the batch job functions

2 Use [Bulk Changes][Batch Job Utility] to start. Read the information panel. Check with TAMS Technical Support for advice regarding any issues. Check with TAMS Technical Support for advice regarding training and / or consultancy services for the creation of batch jobs. The Batch Job Utility – Starting

3 Use [Help][Paradox Help] to get help tutorial about using the Paradox Relational Database Management system facilities. Peruse the information about querying databases. Learning about querying the OpenTAMS database

4 The Batch Job Utility - Layout A single script can be made to output to different data formats. Click to run all scripts in the sequence listed. The Batch ID is a mnemonic for the batch. Optionally, describe and document the job. Click on a module. The form will change colour to the module’s standard setting. This sets up a special alias called :Target: that points to the selected module, and can be used in queries to work on the selected module’s data. Optionally, the batch job can be set to run later. Right-Click to run one script. QBE “Query By Example” - standard query tool. SQL “Structured Query Language” – standard data management language. SSL “Script Language” – complex programming language.

5 The Batch Job Utility – Running A Query Right-Click to open the result table.Announcement of result.

6 The Batch Job Utility – Result Of A Query The result of the query is a table located in the :PRIV: directory. The query result can be further processed as necessary, for example by being exported to a spreadsheet or being used as the basis of a report.

7 The Batch Job Utility – Database Triggers “Triggers” is a special script that causes processes to be run by an external database such as Microsoft’s SQL Server or Oracle “DEMO” is a parameter passed to the triggering mechanism. There can be as many combinations of Triggers and Trigger ID as required. This capability has been provided to enable OpenTAMS to initiate processes running in external “Client Server” databases used for other corporate databases such as Finance. It has to be set up in conjunction with the technical support of these databases, subject to corporate policies and standards.

8 The Batch Job Utility – Database Triggers “Triggers” is a special table in the external database. The batch job process “Triggers” creates a new record in this table. Each row shows the parameters passed (Trigger_ID, the time and data triggered, and the ID of the user from OpenTAMS The external database executes the task(s) requested and completes the time data.

9 The Batch Job Utility – Database Triggers “Triggers” has to be set up in the external database, with minimum structure as shown. Any Client / Server database that has the capability of setting “triggers” on tables can be configured in this way – refer to the next slide to see how the trigger works. A “trigger” has to be set up in the external database, attached to this table.

10 The Batch Job Utility – Database Triggers “TAMS_Trigger” has to be set up for the Triggers table in the external database. The trigger is “fired” when a new record is inserted into the table by any program, in this case the OpenTAMS BatchJob utility running the Triggers script. Based on the parameters passed, various procedures can be executed. These have to be created by competent staff according to corporate policies and standards. TAMS Technical Support can provide services in this regard. The results of procedures could include: - the import and / or export and / or synchronisation of data between two or more databases. -creation of summary and analysed data for periodic reports. - any other desired data transformation batch. TAMS Technical Support can provide services in this regard.


Download ppt "Batch Jobs Using the batch job functions. Use [Bulk Changes][Batch Job Utility] to start. Read the information panel. Check with TAMS Technical Support."

Similar presentations


Ads by Google