Previous Topic

Next Topic

Book Contents

Book Index

Routing Production Job SYSOUT to VM using JCL

When a Control‑M production job has finished executing, the Control‑M monitor requires that the job’s first three SYSOUT files (SYSDATA) reside in the MVS spool in held mode, in order to analyze how the job has completed. Once the SYSDATA has been analyzed, it can be purged, released for printing, and so on.

Sometimes, the SYSDATA of a Control‑M production job may require routing to a VM user. This can be accomplished by specifying two MVS output statements in the job’s JCL.

These two output statements cause the creation of two copies of the SYSDATA. One copy is assigned standard attributes and can be analyzed by Control‑M. The other copy is directed to the VM machine named USER1.

    //jobname  JOB  ...
    //COPY1    OUTPUT        JESDS=ALL,CLASS=*

    //COPY2    OUTPUT        JESDS=ALL,CLASS=A,DEST=VMPROD.USER1

    .....

Parent Topic

File Transfer From MVS to VM