Use the INPUT statement to specify the parameters that are passed to a script. An input parameter is a variable that receives data from the calling state table or script. Input variables cannot be assigned.
If used, the INPUT statement must appear at the beginning of the script.
INPUT password; INPUT search_name, search_dir;
To use the 3270 Script window’s Statements menu to define an INPUT statement, follow this procedure:
The system displays the Parameters Definition window.
The system displays the Enter Data window.
The Parameters Definition window displays the new input parameter in the Parameters list.
The INPUT statement is added at the beginning of the script.