Previous Topic

Next Topic

Book Contents

Book Index

Example

In this example, information about the jobs in the Control-M scheduling table, PAYROLL, that are about to be processed, are displayed in output messages.

Fig.JV.3.45 SCHDTAB example

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

 | RULE STARTJOB1   ENVIRONMENT THMSA       PRIORITY 50    CONTINUE SEARCH Y   |

 | DESC                                                                        |

 | DESC                                                                        |

 |=============================================================================|

 | JOBNAME M4918*                                                              |

 | LIBRARY                                              MEMBER                 |

 | SCHDLIB                                              SCHDTAB PAYROLL  O/N   |

 |=============================================================================|

 | ON INIT                                                                     |

 |=============================================================================|

 | DO MSG      TYPE I JCLTYPE = %%#JCLTYPE; MEMBER  = %%#MEMBER                |

 | DO MSG      TYPE I LIBRARY = %%#LIBRARY; ENVRN   = %%#ENVRN                 |

 | DO MSG      TYPE I SCHDLIB = %%#SCHDLIB; SCHDTAB = %%#SCHDTAB               |

 | DO MSG      TYPE I SCHDJOB = %%#SCHDJOB; STATNUM = %%#STATNUM               |

 | RETURN   RC 0012 RS X' 0024 '                                               |

 | DO                                                                          |

 |=============================================================================|

Parent Topic

SCHDTAB: Common Selection Parameter