DB2 graphic QMF Version 8

TSO program requirements

If you generate a program that uses the TSO attachment facility, it must be run under the DSN command processor of TSO. If you generate a program that uses the call attachment facility, you can run the program from the TSO command prompt. You can also build an ISPF menu that lists each of the report programs that you generate and allows the user to select a report to run.

Allocating data sets to your ISPF session

Regardless of how the program is run, the following DDs must be allocated so that support routines, panels, and messages can be found by the program and ISPF.

STEPLIB: For HPO/Runtime programs, QMFHPO.SRAALOAD must be allocated to the STEPLIB DD.

ISPPLIB:QMFHPO.SRAAISPP must be allocated to the ISPPLIB DD. There are 6 panels in the panel library that are referenced in the generated program: RAATSO1, RAATSO2, RAATSO3, RAATSO4, RAATSO5, and RAATSOH.

ISPMLIB:QMFHPO.SRAAISPM must be allocated to the ISPMLIB DD. There are 3 members in the message library that are referenced in the generated program: RAAB00, RAAB01, and RAAB02.

RAAPRINT: For programs that have print capability (such as, this with an associated TSO print program), RAAPRINT should be allocated before attempting to print a report. A typical DD declaration is:

//RAAPRINT   DD    SYSOUT=*

RAADATA, SYSUTn: For programs that have print capability (such as, those with an associated TSO print program), these DDs will be dynamically allocated and freed as needed. They should not be pre-allocated.

Passing runtime values to host variables

When you run a TSO program, you are prompted for host variable values. Each host variable in the program is displayed on an ISPF table panel along with its data type. You must specify a value for each variable on this panel.


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