The attributes for Job objects mainly refer to the input and setting options that are available in the Header, Attributes and Runtime tabs. The tables below list the attributes for on each job tab in the order the fields are displayed in the UserInterface. The final table lists job attributes that are not on any tab or that are on the host attribute tabs.
Predefined variables may be used in scripts, and script variables may be set to attributes retrieved via predefined variables.
Some attributes (such as the archive keys of objects) are available in all executable objects. Some attributes do not depend on the platform for which the job is defined (such as the attributes for the host, login information or the attribute dialog). The following tables list the attributes that are available on each tab for all jobs.
Field |
Attribute |
Value |
Access Via: |
---|---|---|---|
Title |
OBJECT_TITLE |
User-defined, |
GET_ATT, |
Created |
USER_CREATED |
The name of the User object, |
GET_ATT, |
DATE_CREATED |
Time stamp in the format "YYYY-MM-DD HH:MM:SS" |
GET_ATT |
|
Modified |
USER_MODIFIED |
The name of the User object, |
GET_ATT, |
DATE_MODIFIED |
Time stamp in the format "YYYY-MM-DD HH:MM:SS" |
GET_ATT |
|
MODIFY_COUNT |
The number of object modifications. |
GET_ATT |
|
Last Used
|
LAST_USER |
The name of the User object, |
GET_ATT, |
LAST_DATE |
The time stamp in the format "YYYY-MM-DD HH:MM:SS" |
GET_ATT, |
|
USAGE_COUNT |
Number of object usages |
GET_ATT, |
|
Archive key 1 |
ARCHIVE_KEY1 |
User-defined, |
GET_ATT, |
Archive key 2 |
ARCHIVE_KEY2 |
User-defined, |
GET_ATT, |
Field | Description | Attribute | Access Via: |
---|---|---|---|
Assigned Sync object | SYNC_OBJECT | The name of a Sync object, a maximum of 20 characters must not be exceeded. |
Change Program |
Field |
Attribute |
Value |
Access Via: |
---|---|---|---|
Host |
HOST |
The name of an agent, |
GET_ATT, |
Login
|
LOGIN |
The name of a Login object, |
GET_ATT, |
LOGIN_INFO |
The Login object's entire login information. |
GET_ATT, |
|
USERID |
The User ID from the Login object's login information. |
GET_ATT, |
|
Code |
CODE |
The name of a CodeTable, |
GET_ATT, |
Queue | QUEUE | The name of a Queue object,
limited to 200 characters. |
GET_ATT, :PUT_ATT Change Program, predefined variable |
Group | GROUP | The name of a group, limited to 200 characters. " " - For an immediate start. |
GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program, predefined variable |
Int. account |
INT_ACCOUNT, INT_ACC, K |
User-defined, |
GET_ATT, |
Consumption (resources) |
RESOURCE_CONSUMPTION |
User-defined, |
GET_ATT, |
Automation Engine priority |
UC4_PRIORITY |
User-defined, |
GET_ATT, |
TimeZone |
TIMEZONE |
User-defined |
GET_ATT, |
Attribute dialog |
ATTR_DLG |
"Y" - Attribute Dialog displayed |
GET_ATT |
Generate at runtime |
GEN_AT_RUNTIME |
"Y" - Generation at runtime. |
GET_ATT |
Max. number |
MAX_PARALLEL_TASKS |
User-defined, |
GET_ATT, |
Else (for Max. number) |
MAX_PARALLEL_ELSE |
"WAIT" - Job waits until processing is possible |
GET_ATT, |
Automatically deactivate when finished |
AUTO_DEACT |
"NEVER" - Never deactivate automatically. |
GET_ATT, |
Error-free status (for After an error-free restart) |
AUTO_DEACT_DELAY |
User-defined, |
GET_ATT, |
Time delay minutes (for Always) |
AUTO_DEACT_ERROR_FREE |
Task status,
|
GET_ATT, |
Field |
Attribute |
Value |
Access Via: |
---|---|---|---|
Return code <= |
MAX_RETCODE |
User-defined, |
GET_ATT, |
Field |
Attribute |
Value |
Access Via: |
---|---|---|---|
The string in the Pre-Process tab of the job |
PSCRIPT |
|
Change Program |
Field |
Attribute |
Value |
Access Via: |
---|---|---|---|
The string in the Process tab of the job should be changed. |
SCRIPT |
|
Change Program |
Field |
Attribute |
Value |
Access Via: |
---|---|---|---|
Action - Output filter | PPF_FILTER | The name of a Filter object, limited to 200 characters. |
Change Program |
Action - Execute | PPF_EXECUTE | The name of an executable object, limited to 200 characters. |
Change Program |
Pass down to dynamic children | PPF_INHERITANCE | "Y" - Yes "N" - No "C" - Children only |
Change Program |
Override host for FileScan (optional) - Host | FSC_HOST | The name of an agent, limited to 32 characters. |
GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program, predefined variable |
Override host for FileScan (optional) - Login | FSC_LOGIN | The name of a Login object, limited to 200 characters |
GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program, predefined variable |
Field |
Attribute |
Value |
Access Via: |
---|---|---|---|
A string in the Post-Process tab of the job should be changed |
OSCRIPT |
|
Change Program |
Field | Description | Attribute | Access Via: |
---|---|---|---|
Job name |
OBJECT_NAME |
User-defined, |
Change Program |
File names
|
FILENAME_JOB |
The name of the file (without path) that the agent creates for the job that should run. |
GET_ATT, |
FILENAME_SYSLST |
The name of the file (without path) that the agent creates for the system output (SYSLST). |
GET_ATT, |
|
FILENAME_SYSOUT |
The name of the file (without path) that the agent creates for the system output (report). |
GET_ATT, |
|
The maximum number of job lines that should be generated. |
MAX_JCL_LINES |
User-defined, usually jobs with a maximum of 1000 job lines are generated. This value can be increased for large jobs. |
GET_ATT, |
Mode UserInterface |
DCMODUS |
"Y" - the UserInterface is active. |
GET_ATT |
Job report |
OO |
"J" - Saves the job report in AE. The following combinations are possible: |
GET_ATT, |
Because there are Job objects for various platforms, some attributes refer to a particular job:
Many Rapid Automation agents include:
Another way to retrieve the Rapid Automation attribute names including their values is to run the following command in the AE databaseA database is an organized collection of data including relevant data structures. (replace the JOBNAME by the job's actual object name):
select OCV_VName,ocv_value from OCV,oh where OCV_OH_Idnr=OH_Idnr and oh_name='JOBNAME'
See also:
Attributes
AE DB Change
:PUT_ATT statement
GET_ATT function