The command form of INTERACT

The command interface (DSQCCI) runs QMF commands interactively only when the command interface application uses the command form of INTERACT and QMF is running an interactive session (DSQSMODE=I).

The command form of INTERACT has no effect on a command issued through the callable interface. In the callable interface, the only way to control whether commands are run interactively is to set the START command keyword DSQSMODE. For more information about the DSQSMODE keyword, see Table 7.

Use the following syntax to request interactive execution of a designated command. Issue the command:

INTERACT command

where command is the designated command. QMF runs this command interactively when any dialog between QMF and the user about the command's execution actually takes place. Various QMF prompt and status panels can appear in this dialog.

For example, the following command displays the command prompt panel for RUN QUERY command options:

INTERACT RUN QUERY ABC ?

If interactive execution is not allowed, as in a QMF batch session, the command form of INTERACT has no effect on the command it is preceding.

You can check to see if interactive execution is allowed in the current session by examining a variable named DSQAO_INTERACT; a value of 1 means that INTERACT is allowed. A batch application, for example, does not allow interactive execution. See DSQ Global Variables for State Information Not Related to the Profile in Appendix E. QMF Global Variable Tables for details on DSQAO_INTERACT.

[ Previous Page | Next Page | Contents | Index ]