Previous Topic

Next Topic

Book Contents

Book Index

On Table End and Other Post-Processing Parameters

Like the job scheduling definition, the SMART Table Entity contains OUT and SHOUT WHEN statements, and DO blocks. However, instead of regular ON blocks, the SMART Table Entity contains ON TABLE-END blocks.

Unlike the ON block, which applies to the individual job, the ON TABLE-END block applies to the jobs in the SMART Table as a whole. Valid values for the ON TABLE-END field are as follows:

Table 10 Valid Values For the ON TABLE-END Statement

Value

Description

OK

Subsequent DO actions are performed for each job in the SMART Table only if the end status of the SMART Table Entity is OK, that is, all scheduled jobs in the SMART Table ended OK.

NOTOK

Subsequent DO actions are performed for each job in the SMART Table if the end status of the SMART Table Entity is NOTOK, that is, at least one job in the SMART Table ended NOTOK.

Not all DO statements that are valid in the job scheduling definition are valid in the SMART Table Entity. The DO statements listed below can be specified in the SMART Table Entity. Several of these DO statements have not been described in this guide, but they are all described in the Control-M for z/OS User Guide:

You can now fill in the Post-processing parameters of the SMART Table Entity.

  1. In the OUT field, specify the condition IDGS2-ENDED-OK   ODAT +.
  2. In the ON TABLE-END field, specify the value OK.
  3. In the accompanying DO field, specify SHOUT, and enter  the following message in the DO SHOUT statement :

    PROCESSING OF TABLE IDGS2 ENDED OK.

  4. In the blank ON TABLE-END field, specify the value NOTOK.
  5. In the accompanying DO field, specify COND, and fill in the DO COND statement with the following: IDGS2-END-NOTOK   ODAT +.
  6. In the next DO field, specify SHOUT, and enter the following message in the DO SHOUT statement:

PROBLEM WITH TABLE PROCESSING. AT LEAST ONE JOB DID NOT END OK.

Your entries in the Post-processing parameter section are displayed as shown in Figure 39.

Figure 39 Post-Processing Parameter Section

+-----------------------------------------------------------------------------+

  OUT      IDGS2-ENDED-OK       ODAT +                                      

  ON TABLE-END OK                                                           

    DO SHOUT     TO  TSO-M21            URGENCY R                            

     = PROCESSING OF TABLE IDGS2 ENDED OK                              

    DO                                                                      

  ON TABLE-END NOTOK                                                        

    DO COND          IDGS2-END-NOTOK      ODAT +                            

    DO SHOUT     TO  TSO-M21            URGENCY R                            

     = PROBLEM WITH TABLE PROCESSING. AT LEAST ONE JOB DID NOT END OK         

    DO                                                                      

  ON TABLE-END                                                               

    DO                                                                      

  SHOUT WHEN           TIME       +     DAYS     TO                  URGN

    MS                                                                         ======= >>>>>>>>>>>>>>>>>>>>> END OF TABLE PARAMETERS <<<<<<<<<<<<<<<<<< ======

Parent Topic

SMART Table Entity