Previous Topic

Next Topic

Book Contents

Book Index

Example

In this example, the job processing time for all jobs belonging to user EB38 are measured. If greater than 1000, the job processing time is displayed in the output message.

Fig.JV.3.39 ON JOB Example

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

 | RULE PRODXYZ     ENVIRONMENT GENERAL     PRIORITY 50    CONTINUE SEARCH Y   |

 | DESC JOB PROCESSING TIME                                                    |

 | DESC                                                                        |

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

 | JOBNAME *                                                                   |

 | LIBRARY IOA.JCL                                      MEMBER  PRODXYZ        |

 | SCHDLIB                                              SCHDTAB          O/N   |

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

 | ON JOB           CLASS         PRTY          USER EB38                      |

 | ACCOUNT                                                               O/N   |

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

 | IF       %%$JOBTIME GT# 1000                                                |

 | DO MSG      TYPE I THIS JOB TAKES %%$JOBTIME TO PROCESS.                    |

 | DO                                                                          |

 | ENDIF                                                                       |

 | DO                                                                          |

 ======= >>>>>>>>>>>>>>> END OF JRLE DEFINITION PARAMETERS <<<<<<<<<<<<<<< =====

Parent Topic

ON JOB: Event Selection Parameter