When you select an online report that uses runtime variables, a panel on which you can enter values for those variables is displayed before the report is run. The Assign Value to Variables panel, shown below, is used to supply runtime variable values.
DB2P -- Assign Values to Variables --------------------------- Row 1 to 1 of 1 Command ===> Scroll ===> PAGE Press ENTER to accept these values and continue. Type CAN or CANCEL or press PF3 to cancel. Variable : Type : Value ===> ****************************** Bottom of data ******************************* |
If you press Enter, this indicates that all runtime variable values have been supplied. All input data for these variable sets will be validated. If you enter any values that do not conform to the listed data types, the panel will be redisplayed with an error message. Otherwise, if the selected program reads data from an input file, the Specify Input Data Set panel will be displayed. If it writes data to an output file, the Specify Output Data Set panel will be displayed. Otherwise, the program will be run.
After the report ends, you will return to this panel and all previous variable values will be redisplayed. If you want to run the report again with different input variables, specify the new variable values and press Enter again.
If you press PF3, all input data will be ignored and you will return to the Report Selection List panel. Under CICS, pressing CLEAR will perform the same function.