DB2 graphic QMF Version 8

ADDRESS QRW: Using the QMF command environment

Note to CICS users

REXX is not supported in QMF CICS; therefore, ADDRESS QRW does not work in the CICS environment.

The REXX language operates in a command environment that determines the default resolution of your commands. The default command environment is CMS or TSO, depending on your operating system.

When QMF is started, you can establish QMF as the default command environment through the REXX ADDRESS command. You can use this command alone or before a QMF command:

ADDRESS QRW
ADDRESS QRW command

With ADDRESS QRW, QMF remains the default command environment until you issue another ADDRESS command. With ADDRESS QRW command, QMF is the command environment for that command only.

When you are using a QMF procedure with logic, QRW is the default command environment. QMF behaves the same whether you use the callable interface or the REXX command environment, ADDRESS QRW.

The following example shows how to use the QMF command environment:

Figure 9. Example of using the QMF command environment

·
·
·
call dsqcix "START (DSQSMODE=INTERACTIVE" if dsq_return_code=dsq_severe | dsq_return_code=dsq_failure then exit dsq_return_code ADDRESS QRW "RUN PROC MONDAY_P" if dsq_return_code=dsq_severe | dsq_return_code=dsq_failure then exit dsq_return_code "EXIT" if dsq_return_code=dsq_severe | dsq_return_code=dsq_failure then exit dsq_return_code
·
·
·


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