5.7.2 List box input item
You can create a list box in an item, which allows you to use the value set in the user-selected entry as the parameter of a command or the like.
- Example: Sending a message appropriate to the selected information to standard output
-
Open the Action dialog box from the Item Design View, specify the information described in the following table in an item, and then register the item.
Table 5‒12: Information specified for the input item "List box" No.
Specifics of where each piece of information is defined
Information to be specified
Main window
Where to transition to
Location where the information is specified
1
Item Design View
+--Action dialog box
Basic settings
Command
cpaecho
2
Parameter
${JDS:msg}
3
Execution type
Do not show the window
4
Input item settings
+--Define input items dialog box
Variable name
msg
5
Label
Message to be output
6
Input type
List box
7
List label: Successful
Value: The process ended successfully.
8
List label: Failed
Value: The process ended in failure.
The following figure shows what the dialog box looks like when the created item is to be used in a job.
When Successful is selected in the Message to be output list box, The process ended successfully. is sent to standard output, whereas when Failed is selected in the list box, The process ended in failure. is sent to standard output.