Using the EXIT command in QMF procedures
QMF stops after the EXIT command runs.
A procedure also stops after it runs the command on its bottom line. If
this command is not EXIT, one of three things happens:
- For a subordinate procedure, control is returned to the calling procedure without ending QMF. This is true in both batch and interactive
modes.
- For a main procedure in batch mode, QMF is ended.
- For a main procedure in interactive mode, control returns to the user,
in QMF (unless the procedure is an initial procedure).
Ending a main procedure in batch mode always ends QMF. This is why the
sample batch procedure does not need the EXIT command.
[ Previous Page | Next Page | Contents | Index ]