Batch View Parameters
- Last UpdatedOct 29, 2024
- 3 minute read
Batch View has the following parameters.
|
Parameter |
Description |
|---|---|
|
-Iname |
Defines the configuration instance name. Valid characters for instance names are:
A-Z, a-z, 0-9 and _ (underscore). |
|
-Ahost |
Defines the name of the Batch Server node. Not required when Batch View is running
on the Batch Server. |
|
-c |
Sets Batch View to configuration mode. |
|
-m |
Enables Manual Operation Button. |
|
-fUNIT1/UNIT2 |
Defines/re-defines the unit_filter configuration defined for the instance. Delimiter between names is a /. The Unit Filter is used to find the trains and any batches executing in the unit. For example, if there are two trains, Train A and B. Unit 1A, 2A and 3A are in Train A and unit 1B, 2B and 3B are in Train B. If the Unit filter is -f2A/2B then all batches running on Train A and Train B are viewed. If the Unit Filter is –F2A then all batches running on Train A are viewed. The Schedule select is used to set focus on the batch when multiple batches result from the filter. |
|
-uUNITNAME |
Defines/re-defines the unit focus for the instance. |
|
-q |
Terminates execution of Batch View. |
|
-bc/l/b |
Defines the batch that is automatically selected when Batch View is started. |
The following example launches Batch View instance BV1 in configuration mode:
BatchView -IBV1 -c
The following example terminates execution of Batch View instance BV1:
BatchView -IBV1 -q
The following example launches Batch View instance BV1 and automatically selects batch identified as CAMPAIGN: KAZ1 LOT: LOT1 BATCH: BATCH3:
BatchView -IBV1 -bKAZ1/LOT1/BATCH3
The following example launches Batch View instance BV2 in configuration mode and points Batch View to NODE1, that is, the Batch Server:
BatchView -ANODE1 -IBV2 -c
The following example launches Batch View using instance BV1, points Batch View to NODE1, that is, the Batch Server and defines the unit filter as UNIT1 and UNIT2:
BatchView -ANODE1 -IBV1 -fUNIT1/UNIT2 -c
The following example redefines the unit filter for Batch View instance BV1, which is already running, points Batch View to NODE1, the Batch Server:
BatchView -ANODE1 -IBV1 -fUNIT3/UNIT4
The following example launches Batch View using instance BV1, points Batch View to NODE1, the Batch Server node and sets the unit focus to UNIT1:
BatchView -ANODE1 -IBV1 -uUNIT1
The following example redefines the unit focus for Batch View instance BV1, which is already running, to UNIT2 and points Batch View to NODE1, the Batch Server:
BatchView -ANODE1 -IBV1 -uUNIT2
If a Batch View or Batch Scheduler is launched in configuration mode, error messages may appear in the Environment Display window. You can ignore these messages. For Batch View, the error message is in the following form:
BatchView_<number> encountered an error.
For Batch Scheduler, the error message is in the following form:
<batch scheduler instance name> encountered an error.
These error messages can occur when you start Batch View or close Batch View and Batch Scheduler from the command line and define or re-define unit filters. After you see these messages, if you attempt to shut down BatchMngr (from the Runtime Application Display), BatchMngr does not stop; it produces the following error message:
Halt all Batch Clients...
To stop BatchMngr, perform an Exit and Shutdown from the Environment Display dialog box.