en:app:020cor:110sm:030job:0100dbijob

Maintaining Jobs

Transaction DBIJOB

This transaction is used to maintain jobs.

This transaction can be used to create or edit jobs (technically: all transactions, that contain module SVSEDT, e.g. reports from the Report Generator or from 'Clean-up of Historical Data' (SYSCLN)).

The following transactions can be started from here by clicking the icons in the list below for:

Possible frequencies for the repetition of jobs are:

  • Only once
  • Manual execution
  • Every x minutes
  • Every hour
  • Every working day
  • Every day
  • Every week
  • Every month
  • Every quarter
  • Every year

If week, month, quarter or year are selected, other entries need to be made to determine when the job is to start. Possible entries here include, for example, 'first working day' or 'last working day'.

The independent, permanently running “Job Manager” (JOBTSK) periodically executes jobs when it reaches the 'Next Execution on' time and afterwards inserts the next execution time.

Jobs marked for 'Manual Execution' can be launched from the selection list for jobs provided in the “Interactive Launch of Selected Job” transaction.

The current status of a job is displayed in the lower part of the panel.

The option “Skip execution if job is not executed after <Value> hours” is used to start non-executed jobs automatically at another defined time.

If a specific calendar is selected, this is applied when determining the next starting point. If no specific calendar is selected, the system calendar is defaulted.

Normally, pending jobs with a next start time in the past are executed immediately or immediately upon starting the “Job Manager”. If this field contains a value which is not zero, and if the job has not been executed even after this number of hours following the next starting time entered in the job, a new (future) target time is calculated. This new target time is then calculated based on the last execution date and not from 'now' on.

Settings (= parameterization) for transactions to be processed can be entered in the transaction by clicking and via the icon .

Creating a Job

After defining an exact point in time or frequency in the upper part of the panel (e.g. in “Adding a Job”) the field “Type of Transaction” is used to select the type of transaction or function. Here, transactions, executables, or scripts (executable programs) are available. In the “Argument(s)” field, command line arguments for the transaction or the script can be specified.

Example 1: The name of the file to be imported can be transferred via '“-i <File Name>'” to all import programs that use IMPMOD.

Example 2: After starting this transaction, a new job name (e.g. 'Test') is to be added or created and the transaction “Transactions Statistics” (CORPOS) is to be entered. Then click . After confirming the first message, the transaction “Transactions Statistics” is started. Opening the transaction via the Job System changes the options for entering start and end dates. It is now possible to define relative time arguments. With jobs, absolute dates are rarely used; instead points in time such as, for example, 'last day of the month' are selected.

After the fields have been filled in, specified values can be stored in the Job System via the icon . By clicking the user returns to the Job System.

It is also possible to set another entity in the arguments. The other entity can then be used in the job execution, for example.

“Switch -ety <Entity>”

The entity group is set from the entity.

When the checkbox “Entitywise Execution” is set, a multiple execution of this job will take place for all entities visible to the user. The job-entry will display the particular entity this job is currently processed for.

If after canceling a JOB is reset, it can then either be proceeded with the next scheduled JOB-execution with this (last processed) entity the execution of the list of entities or processed from the beginning of the complete list of all matching entities.

Transaction Panels

Job

Job



Datafields

Datafield Description
Job Code cf Appendix A, Table JOB field COD
Name cf Appendix A, Table JOB field NAM
Recurrence Pattern of Job cf Appendix A, Table JOB field TYP
Entitywise Execution cf Appendix A, Table JOB field ETYFLG
Entity the job is currently executed for cf Appendix A, Table JOB field CURETY
1/Frequency Days/Minutes cf Appendix A, Table JOB field FRQ
Day of the Week cf Appendix A, Table JOB field WDY
Day of the Month cf Appendix A, Table JOB field MDY
Calendar cf Appendix A, Table JOB field CAL
Earliest Job Execution at HH:MM cf Appendix A, Table JOB field LOWTIM
Latest Job Execution at HH:MM cf Appendix A, Table JOB field HIGTIM
Maximum Runtime on processing a SPT automatically After that periode (in seconds) the cancel processing will be executed
If no time ist set the system default 30 seconds.
this entry saved in dngpara.ini.
cf Appendix A, Table JOB field MAXRUNTIM
Time zone cf Appendix A, Table JOB field TIMZON
Skip Execution if not Executed after x Hours cf Appendix A, Table JOB field SKPTIM
Type of Transaction cf Appendix A, Table JOB field TRNTYP
Frame name / Command cf Appendix A, Table JOB field TRNFRM
Transaction This field contains the business transaction to which the message is to be
associated.
cf Appendix A, Table ATP field COD
Argument(s) cf Appendix A, Table JOB field TRNARG
External Key cf Appendix A, Table USR field EXTKEY
Name cf Appendix A, Table USR field NAM
Status of Job cf Appendix A, Table JOB field STA
INR of Last SSN Used for Execution cf Appendix A, Table JOB field SSNINR


en/app/020cor/110sm/030job/0100dbijob.txt · Last modified: 2022/09/23 09:50 by bp