Script Attributes

This topic provides the list of attributes that apply to Script objects. First, the view on the UI on which you find the corresponding fiels is indicated. Below each view, the fields on the UI are listed. Below each field you find the correponding attribute with its value, length and way of accessing.

You can use predefined variables in Scripts. Script variables can be set to attributes retrieved via predefined variables

General Page

Title

OBJECT_TITLE

Value: User-defined

Length: 512 characters

Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), predefined variable

Active

OH_Inactive

Access through: Change Program

Created by

USER_CREATED

Value: Name of the User object

Length: Max. 200 characters

Access through: GET_ATT, predefined variable

DATE_CREATED

Value: Timestamp

Format: YYYY-MM-DD HH:MM:SS. If not available, 0000-00-00 00:00:00

Access through: GET_ATT

Modified by

USER_MODIFIED

Value: Name of the User object

Length: 200 characters

Access through: GET_ATT, predefined variable

DATE_MODIFIED

Value: Timestamp

Format: YYYY-MM-DD HH:MM:SS. If not available, 0000-00-00 00:00:00

Access through: GET_ATT

MODIFY_COUNT

Value: Number of object modifications

Access through :GET_ATT

Last Executed

LAST_USER

Value: Name of the User object

Length: 200 characters

Access through: GET_ATT, predefined variable

LAST_DATE

Value: Timestamp

Format: YYYY-MM-DD HH:MM:SS. If not available, 0000-00-00 00:00:00

Access through: GET_ATT, predefined variable

USAGE_COUNT

Value: Number of object usages

Access through: GET_ATT, predefined variable

Archive Key 1

ARCHIVE_KEY1

Value: User-defined

Length: 512 characters

Access through: GET_ATT, :PUT_ATT, Change Program, predefined variable

Archive Key 2

ARCHIVE_KEY2

Value: User-defined

Length: 512 characters

Access through: GET_ATT, :PUT_ATT, Change Program, predefined variable

Int. Account

INT_ACCOUNT, INT_ACC, K

Value: User-defined

Length:16 characters

Access through: GET_ATT, :PUT_ATT, Change Program, predefined variable

Sync Page

Sync Object

SYNC_OBJECT

Value: Name of the Sync object

Length: 20 characters

Access via: Change Program

Attributes Page

Queue

QUEUE

Value: Name of a Queue

Length: Max. 200 characters

Access through: GET_ATT, :PUT_ATT, Change Program, predefined variable

Group

GROUP

Value: Name of a Group

Length: Max. 200 characters

Access through: GET_ATT, :PUT_ATT, Change Program, predefined variable

Automation Engine priority

UC4_PRIORITY

Value: User-defined

Length: Max. 16 characters

Access through: GET_ATT, :PUT_ATT, Change Program, predefined variable

TimeZone

TIMEZONE

Value: Nmae of a Time Zone object

Length: Max. 8 characters

Access through: GET_ATT, :PUT_ATT, Change Program, predefined variable

Generate Task at: Runtime

GEN_AT_RUNTIME

Value: Y / N

Access through: GET_ATT

Tasks running parallel - Max. number

MAX_PARALLEL_TASKS

Value: User-defined

Length: Any value between 0 and 99999

Access through: GET_ATT, :PUT_ATT, predefined variable

Tasks running parallel - Else

MAX_PARALLEL_ELSE

Value: WAIT (Script waits until processing is possible) / ABEND

Access through: GET_ATT, :PUT_ATT

Automatically deactivate when finished

AUTO_DEACT

Value:

  • NEVER:
  • ENDED_ERROR_FREE
  • RESTART_ERROR_FREE
  • ALWAYS

Access through: GET_ATT, :PUT_ATT

Time delay minutes (for Always)

AUTO_DEACT_DELAY

Value: User-defined

Length: Any value between 0 and 99

Access through: GET_ATT, :PUT_ATT

Error-free status (for After an error-free restart)

AUTO_DEACT_ERROR_FREE

Value: System Return Codes of Executable Objects limited to 20 characters

Access through: GET_ATT, :PUT_ATT

Runtime Page

Return code <=

MAX_RETCODE

Value: User-defined

Length: 10 characters

Access via: GET_ATT, :PUT_ATT (Pre-Process, Process)

Note: The status of the file transfer does not affect its return code. If, for any reason, a file transfer fails, the return code is still 0.

Process Page

Code on the Process Page

SCRIPT

Changes the code on the Process page

Access through: Change Program

See also: