| Purpose | The CV statement defines a call-program command entry on the menu screen using the specified description. When the line item is selected by the user, the MON-ISPF menu facility calls the pgmname program passing the parameter information (parms). The output is saved in the SYS-PRINT file, and MON-ISPF menu facility enters View on the output. |
| Syntax | CV { description } { pgmname } [ parms ] |
| Comments | The specified pdsmem member must be located in STEPLIB or ISPLLIB DD statement, a system LPA library or link list data set. |
| Examples | In the following example, the CV command defines an entry used to create a DTS Pool Definition report. The I1 command creates an input field with the ‘Prd Name’ label. When the user selects the “DIFPOOL w/view” line entry, the CV processor does symbolic substitution on &I1 using the value specified in the input field, executes the DIFPOOL program, and then performs an ISPF View on the output. |