UNIX
The following overview includes the attributes of UNIX Job objects and describes their functions, allowed values and ways of modification.
Predefined variables may be used in scripts, and script variables may be set to attributes retrieved via predefined variables.
UNIX Page
Job Type
UNIX_TYPE
Value:
-
SHELL_SCRIPT
Job is generated, transferred to the target system and executed as the shell script
-
COMMAND
Command or command sequence is sent to the shell and it is executed there
Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), predefined variable
Start Parameter: Shell
UNIX_SHELL
Value: User-defined
Length: Max. 3 characters
Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program, predefined variable
The UNIX Shell (Shell and Shell Options) set with this attribute must be defined by the administrator in the AE variable UC_SHELL_UNIX - Defining UNIX Shells. This is checked with the statement :PUT_ATT.
Start Parameter: Shell Options
UNIX_SHELL_OPTIONS
Value: User-defined
Length: Max. 16 characters
Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program, predefined variable
Start Parameter: Command
UNIX_CMD
Value: User-defined
Length: Max. 255 characters
Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), predefined variable
Job Report: Database
JOBREPORT_DB
Value: Y/N
Access through: GET_ATT, :PUT_ATT (Pre-Process, Process)
Job Report: File
JOBREPORT_FILE
Value: Y/N
Access through: GET_ATT, :PUT_ATT (Pre-Process, Process)
Job Report: Generate on error only
JOBREPORT_ERROR_ONLY
Value: Y/N (always saved)
Access through: GET_ATT, :PUT_ATT (Pre-Process, Process)
See also: