To invoke Program Generator from a TSO/ISPF session, you can issue the following TSO command:
CALL 'QMFHPO.SRAALOAD(RAAMAIN)' 'CO'
To invoke Program Generator from under QMF, a shared procedure should be set up that executes this TSO command. The following is a QMF procedure (QMFADM.RCO), which contains a single command:
TSO CALL 'QMFHPO.SRAALOAD(RAAMAIN)' 'CO'
To run Program Generator from QMF, you run this QMFADM.RCO procedure from the QMF command line:
RUN PROC QMFADM.RCO
QMFHPO.SRAALOAD must be allocated to the TSO session when this procedure is run.