- By default, QMF reruns the initial procedure whenever the user
issues the END command in an interactive session of QMF started
by DSQQMFE. The DSQEC_RERUN_IPROC global variable
specifies if the initial procedure is rerun. The default value of
this variable is 1 to rerun the procedure; 0 prevents the initial procedure from
being rerun.
In callable interface programs, the initial procedure is never rerun, so
this global variable does not affect your callable interface programs.
- If you are writing initial procedures to use in an interactive
QMF session, avoid having the Home panel be the current panel at
the end of the procedure. QMF will not interactively display a panel
at the end of the procedure in this case. If no severe errors occurred
and DSQEC_RERUN_IPROC is set to 1, QMF reruns
the initial procedure without interacting with the user. This results
in an uninterruptible loop that can appear as though QMF is not
starting.
To avoid creating an uninterruptible loop, do one of the following
tasks:
- Make sure that the current panel at the end of the procedure
is not the Home panel.
- Make sure that the procedure contains either a QMF EXIT or an INTERACT
command.
- Set DSQEC_RERUN_IPROC to zero (0).
- When you specify values for substitution variables in initial procedures,
the number of ampersands (&) you must use before the name
of the variable can vary depending on your environment. For example,
you can specify DSQSRUN as:
DSQSRUN=INITPROC(&VAR1 = value)
The number of ampersands you need to specify with VAR1 depends
on whether QMF is running under CICS, CMS, TSO, or native z/OS batch,
if ISPF is present, and if the program starting QMF is written in
REXX.