Running batch activities from a terminal on CICS

You can run QMF from a terminal to produce a report.

For example, you can run the procedure that is shown here to produce a report that is located in CICS® auxiliary storage. (QMF treats lines that begin with -- as comments in QMF linear procedures.)

Figure 1. Producing a report in CICS auxiliary storage
-- Procedure name: STATRPT1_PROC
   --
   -- Example QMF procedure to create an auxiliary CICS
   -- temporary storage queue named STATRPT1
   --
      RUN   QUERY STATRPT1_QUERY (FORM=STATRPT1_FORM)
      PRINT REPORT (QUEUENAME=STATRPT1,QUEUETYPE=TS)
   --
   -- End of procedure

Execute the QMF transaction described here to run this procedure in batch mode:

QMFE M=B,I=STATRPT1_PROC

QMF runs this transaction without displaying any screens. Upon successful completion of the procedure, the report is in CICS storage queue STATRPT1. You can then view the report by using the transaction CEBR supplied with CICS:

CEBR STATRPT1