DB2 graphic QMF Version 8

Entering host variable values

When you run a batch program, you can specify, on the Batch Job Information panel, that you want to enter input host variable values for the generated JCL If you set the Enter Host Variable Values? flag to Y, the Enter Host Variable Values pop-up window is displayed.

Note:
Using the Enter Host Variable Values pop-up window results in host values being included as an in-stream data set in the generated JCL. This is appropriate only if the program you are running is defined to read host variables from a file whose LRECL is 80. The program will abend if you use this method to specify host variables for a program that uses a different LRECL.

The End User Facility provides more comprehensive support for running programs that use host variables, including support for validating the format of variable values and using a host variable file whose LRECL is not 80.

Table 21. Enter Host Variable Pop Up
Command ===>

Press ENTER to accept these host variable values.
Type CAN or CANCEL or press PF3 to return to the previous panel.

Host Variable DD ===>    (H=HOSTVARS, P=PROCVARS)
Host Variable Values:
===>
===>
===>
===>
===>
===>
===>
===>
===>
===>
===> 

If you press Enter, the host variable values that you entered will be saved, and you return to the Batch Job Information panel.

If you press PF3, all input fields will be ignored and you return to the Batch Job Information panel.

The fields on the panel are:

Host Variable DD
If you are running a report program, enter H to specify that the host variable values you enter should be included in the HOSTVARS DD in the generated JCL. If you are running a proc program, enter P to specify that the host variable values you enter should be included in the PROCVARS DD in the generated JCL.
Host Variable Values
Enter values for the host variables used by the program you are running. The text you enter will be included verbatim in the generated JCL. No validation is performed on the values you enter; you must enter values that are of the type and format expected by the program you are running.


Go to the previous page Go to the next page

Downloads | Library | Support | Support Policy | Terms of use | Feedback
Copyright IBM Corporation 1982,2004 Copyright IBM Corporation 1982, 2004
timestamp Last updated: March, 2004