Debugging a procedure

QMF provides a command-level and message-level trace facility. This facility is useful when there is a problem running a QMF procedure in batch mode. QMF command-level and message-level tracing is automatically active when running QMF in batch mode. You can route this message trace to CICS auxiliary temporary storage or the transient data queue.

For example, to run the previous procedure and send the command and message trace to a CICS auxiliary storage queue with the name QMFMSG, issue a CICS START command similar to the following:

EXEC CICS START TRANSID(QMFE)
          FROM(M=BATCH,I=STATRPT1__PROC,DSQSDBQN=QMFMSG,DSQSDBQT=TS)

Multiple QMF transactions can issue messages to the same trace area. QMF issues a CICS ENQ command on the queue name while it writes a trace entry. Each entry is marked with the terminal ID and task ID of the QMF transaction that created the trace entry.

When routing QMF trace to CICS auxiliary storage, do not set full component-level trace; temporary storage will fill up quickly. Transient data (the default) is recommended when doing other than message-level tracing.

[ Previous Page | Next Page | Contents | Index ]