OS/400 VT Job
OS/400 VT jobs are a subset of the OS/400 Full job, which enables you to define and execute Virtual Terminal types of jobs. A Virtual Terminal job emulates an operator's activities on a physical terminal, while playing the recorded activity as a batch process, with the ability to inject input keystrokes onto the screens as well as validate the screen output.
The following table describes the OS/400 Virtual Terminal Job type attributes:
Attribute |
Description |
---|---|
Script file location |
Indicates where the script files are located as follows:
|
Library |
(Native only) Defines the library name. Up to 10 characters, valid OS/400 Object name, or one of the special values from the drop down list. |
Script |
(Embedded script only) Enables you to type the embedded type script. |
VT Script file |
Specifies the name of a script file containing the virtual terminal instructions to be executed. |
Member |
(Native only) Specifies the member name that contains the script file. Up to 10 characters, valid OS/400 Object name, or one of the special values: *FIRST |
Virtual Terminal's parameters |
Defines a Program, Script file or VT script file, which may expect to receive parameters as input for the execution. Each parameter must match its type as expected by the Program, Script file or VT script. To modify the parameters, see Parameter display options. The following types are available:
|
Resolve Special values |
Indicates whether special values, such as *PGM, *DTAARA, and *FILE, defined in the program's parameters value will be resolved by the script interpreter or prior to submitting a program. Default value: Yes (checked). |
Submission Attributes |
Enables you to define the submission attribute parameters for an OS/400 type Job. |
Job description |
Defines the name of the OS/400 Job description (*JOBD) used to submit the job. You can select a job description name from the generated list. |
Library |
Defines the name of the library where the job description resides. You can select a library name from the generated list. |
Job queue |
Defines the name of the Job queue to submit the job to. You can select a job queue name from the generated list. |
Job queue priority |
Specifies the Job queue scheduling priority. Highest priority 1, lowest priority 9. When System default is set, the job is submitted with the system default JOBPTY value. |
Hold on job queue |
Determines whether this job is held at the time defined in the job queue. When System default is set, the job is submitted with the system default HOLD value. |
Submit with ASAP option |
Enables you to submit the Job to a NOMAX Job queue. If selected, Job Queue, Library, Job queue priority and Hold on Job queue are disabled. |
Ignore all errors |
(Script File, Multiple commands, and VT only) Enables you to ignore errors encountered in any of the commands specified by the Job. The error message is logged in the Job log and the processing is resumed from the next command. |
Log informational messages |
(Script File, Multiple commands, and VT only) Enables additional informational messages logged in the Job log when the Job is executing. |
Delete file |
(Script File, and VT only) Deletes the script file or VT script file when the Job execution ends. This attribute is not valid when Script file location is set to Embedded script. |
Print Screen images |
Choose which screen images are printed into the Job's output. Values: System Default, No, Yes, Input only, Output only, PRTKEYFMT. |
Spooled files handling |
Specifies the name of the spooled file handling profile to be processed when the Job ends. |
Terminal attributes |
Defines the Virtual Terminal Attribute parameters. |
Work station type |
Defines the type of workstation to use. Default: *BASE |
Keyboard language |
Defines the keyboard language type for the virtual terminal. Specify 3 characters valid keyboard language type or *SYSVAL to use the default system value. For more information about supported languages, see IBM i (AS/400) globalization documentation. |
Character set |
Defines the graphic character set for the virtual terminal. For more information about supported graphic character set, see the IBM i (AS/400) globalization documentation Values:
|
Code page |
Defines the code page for the virtual terminal. Specifies a valid code page number. For more information about code page, see the IBM i (AS/400) globalization documentation Values:
|
Initiation information |
Defines the initiation information for the VT terminal. |
User profile |
Defines the user profile that is used to log in to the terminal. Up to 10 characters, valid OS/400 Object name, or one of the special values from the drop down list. |
Password |
Specify the log in password, use the owner's authentication repository or set to use the password program. |
Device name |
Name of display device. Up to 10 characters, valid OS/400 Object name, or one of the special values from the drop down list. |
Current library |
The current library of the sign on process. Up to 10 characters, valid OS/400 Object name, or one of the special values from the drop down list. |
Program |
Defines the sign in program name. Up to 10 characters, valid OS/400 Object name, or one of the special values from the drop down list. |
Menu |
Defines the sign on menu. Up to 10 characters, valid OS/400 Object name, or one of the special values from the drop down list. |
Display Program Messages defaults |
Defines the default behavior when the VT Job encounters Display Program Messages screen. For more information, see Display Program Messages handling. |
Bypass jobs |
The job does not run and the following message is generated in the job output: Job was bypassed |
Skip validity checks for this job |
Enables you to skip validity checks for all fields. |