When Control-M for z/OS submits a job that has no MSGCLASS coded, and parameter MSGCPRES is set to Y, where is the MSGCLASS taken from?

Version 1
    Share:|

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    Control-M for z/OS


    COMPONENT:

    Control-M for z/OS


    APPLIES TO:

    Control-M for z/OS all supported versions.



    QUESTION:

    When Control-M for z/OS submits a job that has no MSGCLASS coded, and parameter MSGCPRES is set to Y, where is the MSGCLASS taken from?


     


    ANSWER:

    When MSGCPRES is set to Y, the following JCL is added to the job at submission time.

    //DEFAULT OUTPUT JESDS=ALL,CLASS=*
    //JESDS   OUTPUT JESDS=ALL,CLASS=X


    The DEFAULT card is used to preserve the original MSGCLASS.
    The JESDS card is used to preserve the Control-M MSGCLASS taken from parameter HLDCLAS.

    Article number 000058116 shows how to change these two cards if required.

    If a job is submitted by Control-M that has not MSGCLASS present, then the MSGCLASS is taken from the INTRDR DD card in the Control-M monitor JCL for example:

    XXINTRDR   DD SYSOUT=(&OUTRDR,INTRDR)        
    IEFC653I SUBSTITUTION JCL - SYSOUT=(X,INTRDR)


    In the example above the MSGCLASS is set to X.

    The MSGCPRES  and HLDCLAS parameters can be found in member CTMPARM in the IOA.PARM library.


    Article Number:

    000155487


    Article Type:

    FAQ/Procedural



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles