Starting Program Generator

About this task

You can start this facility from a normal TSO/ISPF session or from a QMF session under TSO/ISPF. Starting from within a QMF session allows you to work with any current QUERY, FORM, or PROCEDURE object.

To start Program Generator from TSO/ISPF, select option 1 from the Compiler Selection menu. You can also invoke this facility by issuing the following TSO command:

CALL 'QMFHPO.SRAALOAD(RAAMAIN)' 'CO'
To start Program Generator from QMF, run the following QMF procedure:

TSO CALL 'QMFHPO.SRAALOAD(RAAMAIN)' 'CO'

Additionally, you can build a command synonym that runs this procedure so that users can access the procedure fully qualifying its name (see Run programs for more information). A QMF command synonym named RCO is created during the standard installation process so that you can invoke this facility from QMF.

Figure 1. QMF HPO/Compiler Program Generator Selection Menu panel

QMF HPO/Compiler -- Program Generator Selection Menu ------------------ 12.1.0
Option ===>
 
                                             Db2 SSID ===> DB2P
                                             Location ===> DB2PLOCATION
                                             User ID:
                                             Date:
                                             Time:
-----------------------------------------------------------------------------
 
1  Generate Programs (Full Dialog)
2  Generate Programs (Short Dialog)
3  Compile Programs
4  Run Programs
5  Maintain End User Facility Reports
D  Set Default Parameters
X  Exit