Job Scheduler (jsh) table details
- Last UpdatedApr 24, 2025
- 2 minute read
The Job Scheduler (jsh) table is used to trigger the execution of C# scripts or C routines on a schedule. The scheduled activities include generating reports and saving databases or tables to disk.
The job scheduler is used for customer-developed and baseline activities. The system baseline points have "OASySDNA" in their point descriptions.
The jsh table contains the following internal fields:
|
Internal Field Name |
Data Type |
Description |
|---|---|---|
|
accessflag |
displayname |
This flag is used by the easy eXtended Operator Station (ezXOS) to determine whether a table is being modified through the Advanced Database Editor (ADE). If the flag is set, access to the table is denied. |
|
argument |
longstring |
The input argument(s) for the command.
|
|
command |
longstring |
The name of the program, script, or C function to run. |
|
dataset |
doas_dset_slot |
This field indicates the dataset to which the record is assigned. Datasets are used to associate the record with the privileges assigned for each system mode. Once a record is assigned to a dataset value, the dataset can only be changed to a value for which the system has a privilege record. |
|
description |
description |
This field provides a description of this jsh record, up to 47 characters in length. |
|
enable |
oas_boolean_t |
Is execution of the command enabled? |
|
name |
pntname |
This field provides the unique name of this jsh record. The record name can be up to 32 characters in length. |
|
ptnum |
unsiged char |
This field represents the record’s slot number in the database. |
|
serviceLocation |
SvcLocType |
Service location (for example, Hot RealTime) at which the command is to be executed. |
|
timeblk |
taskTimer |
Particulars on when to run the scheduled job. |
|
type |
text10 |
Type of command (for example, SCRIPT, C) that is issued. |