Unicenter CA-Scheduler Job Management for VSE Reference Guide ...
Unicenter CA-Scheduler Job Management for VSE Reference Guide ... Unicenter CA-Scheduler Job Management for VSE Reference Guide ...
Unicenter ® CA-Scheduler ® Job Management for VSE Reference Guide Part 2 r7.3 K01169-1E
- Page 2 and 3: This documentation and related comp
- Page 4 and 5: 5.4.6 Job Average Report . . . . .
- Page 6 and 7: 5.7.14.2 Keyword Descriptions . . .
- Page 8 and 9: 5.13.2 Basic Job Information (by St
- Page 10 and 11: B.4.6.3 Example 3: DELete JRR . . .
- Page 13 and 14: Chapter 5. Reports This chapter con
- Page 15 and 16: 5.1 Report Categories Schedules/Job
- Page 17 and 18: 5.2 Coding Requirements 5.2 Coding
- Page 19 and 20: 5.3 Display and Analysis Reports CO
- Page 21 and 22: 5.3 Display and Analysis Reports CO
- Page 23 and 24: 5.3 Display and Analysis Reports 5.
- Page 25 and 26: 5.3 Display and Analysis Reports CO
- Page 27 and 28: 5.3 Display and Analysis Reports CO
- Page 29 and 30: 5.3 Display and Analysis Reports CO
- Page 31 and 32: 5.3 Display and Analysis Reports 5.
- Page 33 and 34: 5.4 Batch Versions of Online Report
- Page 35 and 36: 5.4 Batch Versions of Online Report
- Page 37 and 38: 5.4 Batch Versions of Online Report
- Page 39 and 40: 5.4 Batch Versions of Online Report
- Page 41 and 42: 5.4 Batch Versions of Online Report
- Page 43 and 44: 5.4 Batch Versions of Online Report
- Page 45 and 46: 5.4 Batch Versions of Online Report
- Page 47 and 48: 5.4 Batch Versions of Online Report
- Page 49 and 50: 5.4 Batch Versions of Online Report
- Page 51 and 52: 5.4 Batch Versions of Online Report
<strong>Unicenter</strong> ® <strong>CA</strong>-<strong>Scheduler</strong> ®<br />
<strong>Job</strong> <strong>Management</strong> <strong>for</strong> <strong>VSE</strong><br />
<strong>Reference</strong> <strong>Guide</strong> Part 2<br />
r7.3<br />
K01169-1E
This documentation and related computer software program (hereinafter referred to as the “Documentation”) is <strong>for</strong><br />
the end user’s in<strong>for</strong>mational purposes only and is subject to change or withdrawal by Computer Associates<br />
International, Inc. (“<strong>CA</strong>”) at any time.<br />
This documentation may not be copied, transferred, reproduced, disclosed or duplicated, in whole or in part, without<br />
the prior written consent of <strong>CA</strong>. This documentation is proprietary in<strong>for</strong>mation of <strong>CA</strong> and protected by the copyright<br />
laws of the United States and international treaties.<br />
Notwithstanding the <strong>for</strong>egoing, licensed users may print a reasonable number of copies of this documentation <strong>for</strong><br />
their own internal use, provided that all <strong>CA</strong> copyright notices and legends are affixed to each reproduced copy. Only<br />
authorized employees, consultants, or agents of the user who are bound by the confidentiality provisions of the<br />
license <strong>for</strong> the software are permitted to have access to such copies.<br />
This right to print copies is limited to the period during which the license <strong>for</strong> the product remains in full <strong>for</strong>ce and<br />
effect. Should the license terminate <strong>for</strong> any reason, it shall be the user’s responsibility to return to <strong>CA</strong> the reproduced<br />
copies or to certify to <strong>CA</strong> that same have been destroyed.<br />
To the extent permitted by applicable law, <strong>CA</strong> provides this documentation “as is” without warranty of any kind,<br />
including without limitation, any implied warranties of merchantability, fitness <strong>for</strong> a particular purpose or<br />
noninfringement. In no event will <strong>CA</strong> be liable to the end user or any third party <strong>for</strong> any loss or damage, direct or<br />
indirect, from the use of this documentation, including without limitation, lost profits, business interruption,<br />
goodwill, or lost data, even if <strong>CA</strong> is expressly advised of such loss or damage.<br />
The use of any product referenced in this documentation and this documentation is governed by the end user’s<br />
applicable license agreement.<br />
The manufacturer of this documentation is Computer Associates International, Inc.<br />
Provided with “Restricted Rights” as set <strong>for</strong>th in 48 C.F.R. Section 12.212, 48 C.F.R. Sections 52.227-19(c)(1) and (2) or<br />
DFARS Section 252.227-7013(c)(1)(ii) or applicable successor provisions.<br />
© 2005 Computer Associates International, Inc.<br />
All trademarks, trade names, service marks, and logos referenced herein belong to their respective companies.
Contents<br />
Chapter 5. Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1<br />
5.1 Report Categories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2<br />
5.2 Coding Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-5<br />
5.3 Display and Analysis Reports . . . . . . . . . . . . . . . . . . . . . . . . 5-6<br />
5.3.1 Analyze <strong>Job</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-6<br />
5.3.1.1 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-8<br />
5.3.1.2 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-8<br />
5.3.2 Analyze Schedule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-9<br />
5.3.2.1 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-11<br />
5.3.2.2 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-11<br />
5.3.3 List <strong>Job</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-12<br />
5.3.3.1 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-13<br />
5.3.3.2 Example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-13<br />
5.3.3.3 Example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-14<br />
5.3.4 List Schedule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-14<br />
5.3.4.1 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-16<br />
5.3.4.2 Example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-16<br />
5.3.4.3 Example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-16<br />
5.3.5 List Station . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-16<br />
5.3.5.1 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-17<br />
5.3.5.2 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-17<br />
5.3.6 List Userid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-19<br />
5.3.6.1 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-20<br />
5.3.6.2 Example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-20<br />
5.3.6.3 Example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-20<br />
5.4 Batch Versions of Online Reports . . . . . . . . . . . . . . . . . . . . . 5-21<br />
5.4.1 Abended <strong>Job</strong> Schedule . . . . . . . . . . . . . . . . . . . . . . . . . 5-21<br />
5.4.1.1 Example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-22<br />
5.4.1.2 Example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-23<br />
5.4.2 Closed Data Set Report . . . . . . . . . . . . . . . . . . . . . . . . 5-23<br />
5.4.3 Completed <strong>Job</strong> Schedule . . . . . . . . . . . . . . . . . . . . . . . . 5-25<br />
5.4.3.1 Example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-27<br />
5.4.3.2 Example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-28<br />
5.4.3.3 Example 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-28<br />
5.4.3.4 Example 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-28<br />
5.4.3.5 Example 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-28<br />
5.4.3.6 Example 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-29<br />
5.4.4 Date Translation Report . . . . . . . . . . . . . . . . . . . . . . . . 5-29<br />
5.4.5 File Status Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-31<br />
Contents iii
5.4.6 <strong>Job</strong> Average Report . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-34<br />
5.4.6.1 Example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-35<br />
5.4.6.2 Example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-35<br />
5.4.7 <strong>Job</strong> History Report . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-35<br />
5.4.7.1 Example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-37<br />
5.4.7.2 Example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-38<br />
5.4.8 Successor Chain List . . . . . . . . . . . . . . . . . . . . . . . . . . 5-38<br />
5.4.8.1 Example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-40<br />
5.4.8.2 Example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-40<br />
5.4.8.3 Example 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-40<br />
5.4.8.4 Example 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-40<br />
5.4.8.5 Example 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-40<br />
5.4.8.6 Example 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-41<br />
5.4.8.7 Example 7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-41<br />
5.4.8.8 Example 8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-41<br />
5.5 Tapepull Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-42<br />
5.5.1 TAPEPULL GROUP . . . . . . . . . . . . . . . . . . . . . . . . . . 5-42<br />
5.5.1.1 Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-42<br />
5.5.1.2 Keyword Descriptions . . . . . . . . . . . . . . . . . . . . . . 5-42<br />
5.5.1.3 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-43<br />
5.5.1.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-43<br />
5.5.2 TAPEPULL JOB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-44<br />
5.5.2.1 Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-44<br />
5.5.2.2 Keyword Descriptions . . . . . . . . . . . . . . . . . . . . . . 5-44<br />
5.5.2.3 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-45<br />
5.5.2.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-45<br />
5.6 Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-46<br />
5.6.1 Summary of the Simulation Reports . . . . . . . . . . . . . . . . . 5-47<br />
5.6.2 Summary of the SIMULATE Command Keywords . . . . . . . . 5-49<br />
5.6.3 Summary of the Simulation Commands . . . . . . . . . . . . . . 5-50<br />
5.6.4 Virtual Storage Requirements <strong>for</strong> Simulation . . . . . . . . . . . 5-51<br />
5.6.4.1 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-52<br />
5.6.5 Selection Criteria's Impact on Simulation . . . . . . . . . . . . . . 5-52<br />
5.7 Simulation Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-53<br />
5.7.1 EXCLUDE <strong>Job</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-53<br />
5.7.1.1 Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-53<br />
5.7.1.2 Keyword Descriptions . . . . . . . . . . . . . . . . . . . . . . 5-53<br />
5.7.1.3 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-54<br />
5.7.1.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-54<br />
5.7.2 EXCLUDE Schedule . . . . . . . . . . . . . . . . . . . . . . . . . . 5-54<br />
5.7.2.1 Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-54<br />
5.7.2.2 Keyword Descriptions . . . . . . . . . . . . . . . . . . . . . . 5-55<br />
5.7.2.3 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-55<br />
5.7.2.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-55<br />
5.7.3 HOLD <strong>Job</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-56<br />
5.7.3.1 Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-56<br />
5.7.3.2 Keyword Descriptions . . . . . . . . . . . . . . . . . . . . . . 5-56<br />
5.7.3.3 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-57<br />
5.7.3.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-57<br />
5.7.4 HOLD Schedule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-57<br />
5.7.4.1 Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-57<br />
iv <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.7.4.2 Keyword Descriptions . . . . . . . . . . . . . . . . . . . . . . 5-57<br />
5.7.4.3 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-58<br />
5.7.4.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-58<br />
5.7.5 ONLY Schedule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-59<br />
5.7.5.1 Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-59<br />
5.7.5.2 Keyword Descriptions . . . . . . . . . . . . . . . . . . . . . . 5-59<br />
5.7.5.3 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-59<br />
5.7.5.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-60<br />
5.7.6 OVERRIDE <strong>Job</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-60<br />
5.7.6.1 Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-60<br />
5.7.6.2 Keyword Descriptions . . . . . . . . . . . . . . . . . . . . . . 5-60<br />
5.7.6.3 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-61<br />
5.7.6.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-61<br />
5.7.7 OVERRIDE Resource . . . . . . . . . . . . . . . . . . . . . . . . . . 5-62<br />
5.7.7.1 Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-62<br />
5.7.7.2 Keyword Descriptions . . . . . . . . . . . . . . . . . . . . . . 5-62<br />
5.7.7.3 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-66<br />
5.7.7.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-66<br />
5.7.8 OVERRIDE Schedule . . . . . . . . . . . . . . . . . . . . . . . . . . 5-67<br />
5.7.8.1 Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-67<br />
5.7.8.2 Keyword Descriptions . . . . . . . . . . . . . . . . . . . . . . 5-67<br />
5.7.8.3 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-68<br />
5.7.8.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-68<br />
5.7.9 OVERRIDE SHRRSR . . . . . . . . . . . . . . . . . . . . . . . . . . 5-68<br />
5.7.9.1 Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-68<br />
5.7.9.2 Keyword Descriptions . . . . . . . . . . . . . . . . . . . . . . 5-69<br />
5.7.9.3 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-71<br />
5.7.9.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-71<br />
5.7.10 OVERRIDE Station . . . . . . . . . . . . . . . . . . . . . . . . . . 5-71<br />
5.7.10.1 Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-71<br />
5.7.10.2 Keyword Descriptions . . . . . . . . . . . . . . . . . . . . . . 5-72<br />
5.7.10.3 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-72<br />
5.7.10.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-73<br />
5.7.11 RELEASE JOB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-73<br />
5.7.11.1 Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-73<br />
5.7.11.2 Keyword Descriptions . . . . . . . . . . . . . . . . . . . . . . 5-73<br />
5.7.11.3 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-74<br />
5.7.11.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-74<br />
5.7.12 RELEASE SCHEDULE . . . . . . . . . . . . . . . . . . . . . . . . 5-75<br />
5.7.12.1 Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-75<br />
5.7.12.2 Keyword Descriptions . . . . . . . . . . . . . . . . . . . . . . 5-75<br />
5.7.12.3 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-75<br />
5.7.12.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-76<br />
5.7.13 REQUEST <strong>Job</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-76<br />
5.7.13.1 Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-76<br />
5.7.13.2 Keyword Descriptions . . . . . . . . . . . . . . . . . . . . . . 5-76<br />
5.7.13.3 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-77<br />
5.7.13.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-77<br />
5.7.14 REQUEST Schedule . . . . . . . . . . . . . . . . . . . . . . . . . . 5-78<br />
5.7.14.1 Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-78<br />
Contents v
5.7.14.2 Keyword Descriptions . . . . . . . . . . . . . . . . . . . . . . 5-78<br />
5.7.14.3 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-78<br />
5.7.14.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-79<br />
5.7.15 RERUN <strong>Job</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-79<br />
5.7.15.1 Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-79<br />
5.7.15.2 Keyword Descriptions . . . . . . . . . . . . . . . . . . . . . . 5-79<br />
5.7.15.3 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-80<br />
5.7.15.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-80<br />
5.7.16 RONLY Schedule . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-81<br />
5.7.16.1 Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-81<br />
5.7.16.2 Keyword Descriptions . . . . . . . . . . . . . . . . . . . . . . 5-81<br />
5.7.16.3 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-81<br />
5.7.16.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-82<br />
5.7.17 RUN <strong>Job</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-82<br />
5.7.17.1 Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-82<br />
5.7.17.2 Keyword Descriptions . . . . . . . . . . . . . . . . . . . . . . 5-82<br />
5.7.17.3 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-83<br />
5.7.17.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-83<br />
5.7.18 RUN Schedule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-84<br />
5.7.18.1 Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-84<br />
5.7.18.2 Keyword Descriptions . . . . . . . . . . . . . . . . . . . . . . 5-84<br />
5.7.18.3 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-84<br />
5.7.18.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-85<br />
5.7.19 SIMULATE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-85<br />
5.7.19.1 Optional Object . . . . . . . . . . . . . . . . . . . . . . . . . . 5-85<br />
5.7.19.2 Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-85<br />
5.7.19.3 Keyword Descriptions . . . . . . . . . . . . . . . . . . . . . . 5-86<br />
5.7.19.4 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-90<br />
5.7.19.5 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-91<br />
5.8 Simulation Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-93<br />
5.8.1 Backlogged Schedules/<strong>Job</strong>s (BACKLOG) . . . . . . . . . . . . . . 5-93<br />
5.8.2 Date Translation Report (DATETRAN) . . . . . . . . . . . . . . . 5-95<br />
5.8.3 Late <strong>Job</strong> Profile (LATEJOBS) . . . . . . . . . . . . . . . . . . . . . 5-103<br />
5.8.4 Resources Required <strong>for</strong> All Selected <strong>Job</strong>s (RESALL) . . . . . . . 5-105<br />
5.8.5 Schedules/<strong>Job</strong>s Selected <strong>for</strong> DD MM YY (SELECTED) . . . . . . 5-107<br />
5.8.6 Simulated Device Utilization (DEVUTIL) . . . . . . . . . . . . . . 5-110<br />
5.8.7 Simulated Execution Schedule (SIMEXEC) . . . . . . . . . . . . . 5-111<br />
5.8.8 Simulated Shared Device Utilization (DEVUTIL) . . . . . . . . . 5-112<br />
5.8.9 Simulated Unit Utilization (UNITUTIL) . . . . . . . . . . . . . . . 5-112<br />
5.8.10 Tracking File <strong>Job</strong> Start Errors (EXPERROR) . . . . . . . . . . . . 5-114<br />
5.9 Forecasting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-115<br />
5.9.1 Summary of the Forecast Commands . . . . . . . . . . . . . . . . 5-116<br />
5.9.2 Virtual Storage Requirements <strong>for</strong> Forecasting . . . . . . . . . . . 5-116<br />
5.9.2.1 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-117<br />
5.10 Forecast Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-118<br />
5.10.1 EXCLUDE JOB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-118<br />
5.10.1.1 Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-118<br />
5.10.1.2 Keyword Descriptions . . . . . . . . . . . . . . . . . . . . . . 5-118<br />
5.10.1.3 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-119<br />
5.10.1.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-119<br />
5.10.2 EXCLUDE SCHEDULE . . . . . . . . . . . . . . . . . . . . . . . . 5-120<br />
vi <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.10.2.1 Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-120<br />
5.10.2.2 Keyword Descriptions . . . . . . . . . . . . . . . . . . . . . . 5-120<br />
5.10.2.3 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-120<br />
5.10.2.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-120<br />
5.10.3 ONLY Schedule . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-121<br />
5.10.3.1 Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-121<br />
5.10.3.2 Keyword Descriptions . . . . . . . . . . . . . . . . . . . . . . 5-121<br />
5.10.3.3 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-121<br />
5.10.3.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-122<br />
5.10.4 REQUEST <strong>Job</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-122<br />
5.10.4.1 Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-122<br />
5.10.4.2 Keyword Descriptions . . . . . . . . . . . . . . . . . . . . . . 5-122<br />
5.10.4.3 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-123<br />
5.10.4.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-123<br />
5.10.5 REQUEST Schedule . . . . . . . . . . . . . . . . . . . . . . . . . . 5-123<br />
5.10.5.1 Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-124<br />
5.10.5.2 Keyword Descriptions . . . . . . . . . . . . . . . . . . . . . . 5-124<br />
5.10.5.3 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-124<br />
5.10.5.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-124<br />
5.10.6 RUN <strong>Job</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-125<br />
5.10.6.1 Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-125<br />
5.10.6.2 Keyword Descriptions . . . . . . . . . . . . . . . . . . . . . . 5-125<br />
5.10.6.3 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-126<br />
5.10.6.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-126<br />
5.10.7 RUN Schedule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-126<br />
5.10.7.1 Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-126<br />
5.10.7.2 Keyword Descriptions . . . . . . . . . . . . . . . . . . . . . . 5-127<br />
5.10.7.3 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-127<br />
5.10.7.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-127<br />
5.10.8 FORE<strong>CA</strong>ST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-128<br />
5.10.8.1 Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-128<br />
5.10.8.2 Keyword Descriptions . . . . . . . . . . . . . . . . . . . . . . 5-128<br />
5.10.8.3 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-130<br />
5.10.8.4 Example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-131<br />
5.10.8.5 Example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-131<br />
5.11 Forecast Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-132<br />
5.11.1 <strong>Job</strong> Summary (SUMMARY) . . . . . . . . . . . . . . . . . . . . . 5-132<br />
5.11.2 Predecessors Required <strong>for</strong> <strong>Job</strong>s at Station X (PREDS) . . . . . . 5-133<br />
5.11.3 Resources Required <strong>for</strong> All Selected <strong>Job</strong>s (RESALL) . . . . . . . 5-135<br />
5.11.4 Resources Required <strong>for</strong> <strong>Job</strong>s at Station X (RESSTN) . . . . . . . 5-137<br />
5.11.5 Run Book (RUNBOOK) . . . . . . . . . . . . . . . . . . . . . . . . 5-138<br />
5.11.6 Schedules/<strong>Job</strong>s Selected <strong>for</strong> DD MM YY (SELECTED) . . . . . 5-144<br />
5.11.7 Schedules/<strong>Job</strong>s Selected <strong>for</strong> Station X (STATION) . . . . . . . . 5-147<br />
5.12 Advantage <strong>CA</strong>-Earl Automatic Console Reply Reports . . . . . . . 5-151<br />
5.12.1 Automatic Console Reply (by <strong>Job</strong>) . . . . . . . . . . . . . . . . . 5-151<br />
5.12.2 Automatic Console Reply (by Schedule) . . . . . . . . . . . . . . 5-153<br />
5.12.3 Automatic Console Reply (by Message Number) . . . . . . . . 5-155<br />
5.12.3.1 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-157<br />
5.13 Advantage <strong>CA</strong>-Earl Database Reports . . . . . . . . . . . . . . . . . . 5-158<br />
5.13.1 Basic <strong>Job</strong> In<strong>for</strong>mation (by Schedule) . . . . . . . . . . . . . . . . 5-158<br />
Contents vii
5.13.2 Basic <strong>Job</strong> In<strong>for</strong>mation (by Station) . . . . . . . . . . . . . . . . . 5-160<br />
5.13.3 <strong>Job</strong> Criteria (by Schedule) . . . . . . . . . . . . . . . . . . . . . . 5-162<br />
5.14 Advantage <strong>CA</strong>-Earl History File Reports . . . . . . . . . . . . . . . . 5-165<br />
5.14.1 Abended <strong>Job</strong> Profile . . . . . . . . . . . . . . . . . . . . . . . . . . 5-165<br />
5.14.2 Completed <strong>Job</strong> Profile . . . . . . . . . . . . . . . . . . . . . . . . . 5-167<br />
5.14.3 Forced and Canceled <strong>Job</strong>s . . . . . . . . . . . . . . . . . . . . . . 5-169<br />
5.14.4 Late <strong>Job</strong> Profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-171<br />
5.14.5 Pending <strong>Job</strong> Profile . . . . . . . . . . . . . . . . . . . . . . . . . . 5-173<br />
5.14.6 Scheduled <strong>Job</strong> Status (by Schedule) . . . . . . . . . . . . . . . . 5-175<br />
5.14.7 Scheduled <strong>Job</strong> Status (by Station) . . . . . . . . . . . . . . . . . . 5-178<br />
5.15 Advantage <strong>CA</strong>-Earl Tracking File Reports . . . . . . . . . . . . . . . 5-181<br />
5.15.1 Abended <strong>Job</strong> Profile . . . . . . . . . . . . . . . . . . . . . . . . . . 5-181<br />
5.15.2 Canceled <strong>Job</strong>s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-183<br />
5.15.3 Completed <strong>Job</strong> Profile . . . . . . . . . . . . . . . . . . . . . . . . . 5-186<br />
5.15.4 Pending <strong>Job</strong> Profile . . . . . . . . . . . . . . . . . . . . . . . . . . 5-188<br />
5.15.5 Pending Schedules Report . . . . . . . . . . . . . . . . . . . . . . 5-191<br />
5.15.6 Schedule Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-194<br />
5.15.7 Scheduled <strong>Job</strong> Status (by Schedule) . . . . . . . . . . . . . . . . 5-197<br />
5.15.8 Scheduled <strong>Job</strong> Status (by Station) . . . . . . . . . . . . . . . . . . 5-200<br />
5.16 Advantage <strong>CA</strong>-Earl Documentation File Reports . . . . . . . . . . . 5-204<br />
5.16.1 Documentation Directory And Member List . . . . . . . . . . . 5-204<br />
5.16.2 Documentation Directory List . . . . . . . . . . . . . . . . . . . . 5-208<br />
5.16.3 Documentation Selected By The Tracking File . . . . . . . . . . 5-210<br />
5.17 Advantage <strong>CA</strong>-Earl Staging File Reports . . . . . . . . . . . . . . . . 5-218<br />
5.17.1 Staged JCL Directory And Member List . . . . . . . . . . . . . . 5-218<br />
5.17.2 Staged JCL Library Directory List . . . . . . . . . . . . . . . . . 5-222<br />
5.18 Batch Reporting <strong>for</strong> <strong>CA</strong>IAUDIT . . . . . . . . . . . . . . . . . . . . . 5-225<br />
5.18.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-225<br />
5.18.2 UPSI Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-225<br />
5.18.3 Audited Events Report . . . . . . . . . . . . . . . . . . . . . . . . 5-225<br />
5.18.4 Audited Commands/Text Report . . . . . . . . . . . . . . . . . . 5-227<br />
5.18.5 Audited Messages Report . . . . . . . . . . . . . . . . . . . . . . 5-229<br />
5.18.6 Audited Commands/Response Report . . . . . . . . . . . . . . 5-231<br />
Appendix A. Criteria Vocabulary . . . . . . . . . . . . . . . . . . . . . . . A-1<br />
A.1 Reserved Words . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-2<br />
A.2 Gregorian Calendar Conditions . . . . . . . . . . . . . . . . . . . . . . A-4<br />
A.3 Workday Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-7<br />
A.4 Accounting Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . A-9<br />
Appendix B. Batch Command Examples . . . . . . . . . . . . . . . . . . . B-1<br />
B.1 Stations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-2<br />
B.1.1 Example 1: Define STation . . . . . . . . . . . . . . . . . . . . . . . B-2<br />
B.1.2 Example 2: ALter STation . . . . . . . . . . . . . . . . . . . . . . . . B-2<br />
B.1.3 Example 3: DELete STation . . . . . . . . . . . . . . . . . . . . . . . B-3<br />
B.2 Userids . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-4<br />
B.2.1 Example 1: Define USerid . . . . . . . . . . . . . . . . . . . . . . . . B-4<br />
B.2.2 Example 2: ALter USerid . . . . . . . . . . . . . . . . . . . . . . . . B-4<br />
B.2.3 Example 3: DELete USerid . . . . . . . . . . . . . . . . . . . . . . . B-5<br />
B.3 Schedules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-6<br />
B.3.1 Example 1: Define SBR . . . . . . . . . . . . . . . . . . . . . . . . . B-6<br />
viii <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
B.3.2 Example 2: Define SBR . . . . . . . . . . . . . . . . . . . . . . . . . B-7<br />
B.3.2.1 Example 3: ALter SBR . . . . . . . . . . . . . . . . . . . . . . . B-7<br />
B.3.2.2 Example 4: DELete SBR . . . . . . . . . . . . . . . . . . . . . . B-8<br />
B.3.2.3 Example 5: DELete SCHEDULE . . . . . . . . . . . . . . . . . B-8<br />
B.3.3 Define Criteria . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-8<br />
B.3.3.1 Example 1: Define SCR . . . . . . . . . . . . . . . . . . . . . . . B-8<br />
B.3.3.2 Example 2: Define SCR . . . . . . . . . . . . . . . . . . . . . . . B-9<br />
B.3.3.3 Example 3: ALter SCR . . . . . . . . . . . . . . . . . . . . . . . B-9<br />
B.3.3.4 Example 4: DELete SCR . . . . . . . . . . . . . . . . . . . . . B-10<br />
B.3.4 Reasons Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . B-10<br />
B.3.4.1 Example 1: Define SRC . . . . . . . . . . . . . . . . . . . . . . B-10<br />
B.3.4.2 Example 2: ALter SRC . . . . . . . . . . . . . . . . . . . . . . B-11<br />
B.3.4.3 Example 3: DELete SRC . . . . . . . . . . . . . . . . . . . . . B-11<br />
B.3.5 Message Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . B-12<br />
B.3.5.1 Example 1: Define SMR . . . . . . . . . . . . . . . . . . . . . B-12<br />
B.3.5.2 Example 2: ALter SMR . . . . . . . . . . . . . . . . . . . . . . B-12<br />
B.3.5.3 Example 3: DELete SMR . . . . . . . . . . . . . . . . . . . . . B-12<br />
B.3.6 Info Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-13<br />
B.3.6.1 Example 1: Define SIR . . . . . . . . . . . . . . . . . . . . . . B-13<br />
B.3.6.2 Example 2: ALter SIR . . . . . . . . . . . . . . . . . . . . . . . B-13<br />
B.3.6.3 Example 3: DELete SIR . . . . . . . . . . . . . . . . . . . . . . B-14<br />
B.4 <strong>Job</strong>s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-15<br />
B.4.1 Define JBR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-15<br />
B.4.1.1 Example 1: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-15<br />
B.4.1.2 Example 2: Define JBR . . . . . . . . . . . . . . . . . . . . . . B-16<br />
B.4.1.3 Example 3: Define JBR . . . . . . . . . . . . . . . . . . . . . . B-17<br />
B.4.1.4 Example 4: ALter JBR . . . . . . . . . . . . . . . . . . . . . . . B-17<br />
B.4.1.5 Example 5: DELete JBR . . . . . . . . . . . . . . . . . . . . . . B-18<br />
B.4.1.6 Example 6: DELete JOB . . . . . . . . . . . . . . . . . . . . . B-18<br />
B.4.2 Define Criteria . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-19<br />
B.4.2.1 Example 1: Define JCR . . . . . . . . . . . . . . . . . . . . . . B-19<br />
B.4.2.2 Example 2: Define JCR . . . . . . . . . . . . . . . . . . . . . . B-19<br />
B.4.2.3 Example 3: Define JCR . . . . . . . . . . . . . . . . . . . . . . B-20<br />
B.4.2.4 Example 4: ALter JCR . . . . . . . . . . . . . . . . . . . . . . B-20<br />
B.4.2.5 Example 5: DELete JCR . . . . . . . . . . . . . . . . . . . . . B-21<br />
B.4.3 Reasons Definition (<strong>Job</strong>s) . . . . . . . . . . . . . . . . . . . . . . . B-21<br />
B.4.3.1 Example 1: Define JRC . . . . . . . . . . . . . . . . . . . . . . B-21<br />
B.4.3.2 Example 2: ALter JRC . . . . . . . . . . . . . . . . . . . . . . B-22<br />
B.4.3.3 Example 3: DELete JRC . . . . . . . . . . . . . . . . . . . . . B-22<br />
B.4.4 Message Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . B-22<br />
B.4.4.1 Example 1: Define JMR . . . . . . . . . . . . . . . . . . . . . . B-22<br />
B.4.4.2 Example 2: ALter JMR . . . . . . . . . . . . . . . . . . . . . . B-23<br />
B.4.4.3 Example 3: DELete JMR . . . . . . . . . . . . . . . . . . . . . B-24<br />
B.4.5 Info Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-24<br />
B.4.5.1 Example 1: Define JIR . . . . . . . . . . . . . . . . . . . . . . B-24<br />
B.4.5.2 Example 2: ALter JIR . . . . . . . . . . . . . . . . . . . . . . . B-24<br />
B.4.5.3 Example 3: DELete JIR . . . . . . . . . . . . . . . . . . . . . . B-25<br />
B.4.6 Resource Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . B-25<br />
B.4.6.1 Example 1: Define JRR . . . . . . . . . . . . . . . . . . . . . . B-25<br />
B.4.6.2 Example 2: ALter JRR . . . . . . . . . . . . . . . . . . . . . . B-26<br />
Contents ix
B.4.6.3 Example 3: DELete JRR . . . . . . . . . . . . . . . . . . . . . . B-26<br />
B.4.7 Defining Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . B-27<br />
B.4.7.1 Example 1: Define RESource . . . . . . . . . . . . . . . . . . B-27<br />
B.4.7.2 Example 2: Define RESource . . . . . . . . . . . . . . . . . . B-28<br />
B.4.7.3 Example 3: ALter RESource . . . . . . . . . . . . . . . . . . . B-29<br />
B.4.7.4 Example 4: DELete RESource . . . . . . . . . . . . . . . . . . B-29<br />
Appendix C. Editor Commands . . . . . . . . . . . . . . . . . . . . . . . . . C-1<br />
C.1 Line Protection and Highlighting . . . . . . . . . . . . . . . . . . . . . . C-2<br />
C.2 Input Area Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-3<br />
C.3 Prefix Area Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-5<br />
C.3.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-6<br />
C.3.1.1 Changing the Current Line . . . . . . . . . . . . . . . . . . . . C-6<br />
C.3.1.2 Adding Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-7<br />
C.3.1.3 Deleting Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-8<br />
C.3.1.4 Copying Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-9<br />
C.3.1.5 Moving Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . C-10<br />
C.3.1.6 Duplicating Lines . . . . . . . . . . . . . . . . . . . . . . . . . C-11<br />
C.4 Staging Editor Commands . . . . . . . . . . . . . . . . . . . . . . . . . C-12<br />
C.4.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-12<br />
C.4.2 DEXPAND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-13<br />
C.4.2.1 Option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-13<br />
C.4.2.2 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-13<br />
C.4.2.3 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-14<br />
C.4.3 DPROMPT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-16<br />
C.4.3.1 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-16<br />
C.4.3.2 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-16<br />
C.4.4 DSET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-19<br />
C.4.4.1 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-19<br />
C.4.5 RE<strong>CA</strong>LL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-20<br />
C.4.5.1 Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-20<br />
C.4.5.2 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-20<br />
C.5 PF Key Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-23<br />
Appendix D. Advantage <strong>CA</strong>-Earl Reports . . . . . . . . . . . . . . . . . D-1<br />
D.1 All Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-2<br />
D.1.1 <strong>CA</strong>JEPM Source Member . . . . . . . . . . . . . . . . . . . . . . . D-2<br />
D.1.2 <strong>CA</strong>ISTMD Source Member . . . . . . . . . . . . . . . . . . . . . . D-2<br />
D.2 Database Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-4<br />
D.2.1 <strong>CA</strong>JECRI Source Member . . . . . . . . . . . . . . . . . . . . . . . D-4<br />
D.2.2 <strong>CA</strong>JEGLBL Source Member . . . . . . . . . . . . . . . . . . . . . D-5<br />
D.2.3 <strong>CA</strong>JESETM Source Member . . . . . . . . . . . . . . . . . . . . . D-8<br />
D.2.3.1 Example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-8<br />
D.2.3.2 Example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-8<br />
D.2.4 <strong>Job</strong> In<strong>for</strong>mation from Database . . . . . . . . . . . . . . . . . . . D-9<br />
D.2.5 Schedule In<strong>for</strong>mation from Database . . . . . . . . . . . . . . . . D-17<br />
D.3 History File Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-22<br />
D.3.1 <strong>CA</strong>JESETH Source Member . . . . . . . . . . . . . . . . . . . . . D-22<br />
D.3.2 <strong>CA</strong>JECNVS Source Member . . . . . . . . . . . . . . . . . . . . . D-22<br />
D.3.3 <strong>CA</strong>IDEFD Source Member . . . . . . . . . . . . . . . . . . . . . . D-22<br />
D.3.4 <strong>Job</strong> In<strong>for</strong>mation from History File . . . . . . . . . . . . . . . . . . D-24<br />
x <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
D.3.5 Schedule In<strong>for</strong>mation from History File . . . . . . . . . . . . . . D-26<br />
D.4 Tracking File Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-28<br />
D.4.1 <strong>CA</strong>JESETT Source Member . . . . . . . . . . . . . . . . . . . . . . D-28<br />
D.4.2 <strong>CA</strong>JESETS Source Member . . . . . . . . . . . . . . . . . . . . . . D-28<br />
D.4.3 <strong>CA</strong>JECNV0 Source Member . . . . . . . . . . . . . . . . . . . . . D-29<br />
D.4.4 <strong>Job</strong> In<strong>for</strong>mation from Tracking File . . . . . . . . . . . . . . . . . D-32<br />
D.4.5 Schedule In<strong>for</strong>mation from Tracking File . . . . . . . . . . . . . D-36<br />
D.5 Documentation or Staging Library Reports . . . . . . . . . . . . . . . D-39<br />
D.5.1 <strong>CA</strong>JESETD Source Member . . . . . . . . . . . . . . . . . . . . . . D-39<br />
D.5.2 <strong>CA</strong>JDDIR Source Member . . . . . . . . . . . . . . . . . . . . . . D-39<br />
D.5.3 <strong>CA</strong>JESETG Source Member . . . . . . . . . . . . . . . . . . . . . . D-40<br />
D.5.4 <strong>CA</strong>JSDIR Source Member . . . . . . . . . . . . . . . . . . . . . . . D-40<br />
D.5.5 <strong>CA</strong>JMBR Source Member . . . . . . . . . . . . . . . . . . . . . . . D-40<br />
D.5.6 In<strong>for</strong>mation from Documentation or Staging Library . . . . . . D-41<br />
D.6 In<strong>for</strong>mation from <strong>CA</strong>IAUDIT . . . . . . . . . . . . . . . . . . . . . . . D-42<br />
Appendix E. Event Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-1<br />
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . X-1<br />
Contents xi
Chapter 5. Reports<br />
This chapter contains all the in<strong>for</strong>mation you will need to produce any or all of<br />
the reports available with <strong>Unicenter</strong>® <strong>CA</strong>-<strong>Scheduler</strong>® <strong>Job</strong> <strong>Management</strong> <strong>for</strong><br />
<strong>VSE</strong> (<strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong>).<br />
Chapter 5. Reports 5-1
5.1 Report Categories<br />
5.1 Report Categories<br />
The reports fall into five general categories and are presented in the following<br />
order:<br />
1. Database Analysis And Display<br />
These reports list all the records and values that have been defined <strong>for</strong><br />
jobs, schedules, stations, and userids. The analysis reports, in addition,<br />
print messages in<strong>for</strong>ming you of conflicts that must be resolved be<strong>for</strong>e jobs<br />
or schedules can be selected <strong>for</strong> processing. These reports are:<br />
Analyze <strong>Job</strong><br />
Analyze Schedule<br />
List <strong>Job</strong><br />
List Schedule<br />
List Station<br />
List Userid<br />
2. Batch Versions Of Online Reports<br />
These reports provide in<strong>for</strong>mation on jobs and schedules that have run<br />
today or have been selected to run today. (See the topic Reporting Facility<br />
in the chapter "Online Panels and Batch Maintenance" in the <strong>Unicenter</strong><br />
<strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong> Part 1 to display these reports online.) These<br />
reports are:<br />
Abended <strong>Job</strong> Schedule<br />
Closed Data Set Report<br />
Completed <strong>Job</strong> Schedule<br />
Date Translation Report<br />
File Status Report<br />
<strong>Job</strong> Average Report<br />
<strong>Job</strong> History Report<br />
Successor Chain List<br />
3. Simulation Reports<br />
These reports are produced while <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> is being run in<br />
simulation mode, where no jobs are actually run. The reports show what<br />
schedules and jobs would be selected today, and when and where the jobs<br />
would be processed. By using the simulation commands, you can see the<br />
effects of changing values <strong>for</strong> each simulation run. The reports are:<br />
Backlogged Schedules/<strong>Job</strong>s<br />
Date Translation Report<br />
Late <strong>Job</strong> Profile<br />
Resources Required For All Selected <strong>Job</strong>s<br />
5-2 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.1 Report Categories<br />
Schedules/<strong>Job</strong>s Selected For DD MM YY<br />
Simulated Device Utilization<br />
Simulated Execution Schedule<br />
Simulated Shared Device Utilization<br />
Simulated Unit Utilization<br />
Tracking File <strong>Job</strong> Start Errors<br />
4. Forecast Reports<br />
These reports provide in<strong>for</strong>mation on jobs and schedules that will be<br />
selected <strong>for</strong> processing on a future date or range of dates. They are<br />
predictions of what would occur under a predefined set of conditions. By<br />
using the <strong>for</strong>ecast commands, you can see the effects of changing values<br />
<strong>for</strong> each <strong>for</strong>ecast period. The reports are:<br />
<strong>Job</strong> Summary<br />
Predecessors Required For <strong>Job</strong>s At Station X<br />
Resourced Required For All Selected <strong>Job</strong>s<br />
Resources Required For <strong>Job</strong>s At Station X<br />
Route Station Report For Station X<br />
Run Book<br />
Schedules/<strong>Job</strong>s Selected For DD MM YY<br />
Schedules/<strong>Job</strong>s Selected For Station X<br />
5. Advantage <strong>CA</strong>-Earl Reports<br />
These are user-defined reports produced by using Advantage <strong>CA</strong>-Earl.<br />
The in<strong>for</strong>mation <strong>for</strong> these reports can be taken from the <strong>Unicenter</strong><br />
<strong>CA</strong>-<strong>Scheduler</strong> database, the history file, the tracking file, the<br />
documentation library, or the JCL staging library. Samples of each of these<br />
reports are provided, but they may be modified to give any in<strong>for</strong>mation<br />
you want to include.<br />
■<br />
The sample reports from the database are:<br />
Basic <strong>Job</strong> In<strong>for</strong>mation By Schedule<br />
Basic <strong>Job</strong> In<strong>for</strong>mation By Station<br />
<strong>Job</strong> Criteria By Schedule<br />
Chapter 5. Reports 5-3
5.1 Report Categories<br />
■<br />
■<br />
■<br />
■<br />
■<br />
The sample reports from the history file are:<br />
Abended <strong>Job</strong> Profile<br />
Completed <strong>Job</strong> Profile<br />
Forced and Canceled <strong>Job</strong>s<br />
Late <strong>Job</strong> Profile<br />
Pending <strong>Job</strong> Profile<br />
Scheduled <strong>Job</strong> Status By Schedule<br />
Scheduled <strong>Job</strong> Status By Station<br />
The sample reports from the tracking file are:<br />
Abended <strong>Job</strong> Profile<br />
Canceled <strong>Job</strong>s<br />
Completed <strong>Job</strong> Profile<br />
Pending <strong>Job</strong> Profile<br />
Pending Schedules Report<br />
Schedule Status<br />
Scheduled <strong>Job</strong> Status By Schedule<br />
Scheduled <strong>Job</strong> Status By Station<br />
The sample reports from the documentation library are:<br />
Documentation Directory And Member List<br />
Documentation Directory List<br />
Documentation Selected By The Tracking File<br />
The sample reports from the staging library are:<br />
Staged JCL Directory And Member List<br />
Staged JCL Library Directory List<br />
The sample reports from the <strong>CA</strong>IAUDIT file are:<br />
Audited Events Report<br />
Audited Commands/Text Report<br />
Audited Messages Report<br />
Audited Commands/Response Report<br />
All of the reports are illustrated and explained in the above order in this<br />
chapter.<br />
5-4 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.2 Coding Requirements<br />
5.2 Coding Requirements<br />
Commands consists of a verb, an object, keywords, and their values:<br />
■<br />
■<br />
■<br />
■<br />
■<br />
■<br />
■<br />
■<br />
■<br />
■<br />
Code one or more blank characters be<strong>for</strong>e and after the object.<br />
Keywords may be required or optional (as specified <strong>for</strong> each command).<br />
Objects may be required or optional.<br />
The default value of a keyword is assumed. To select it, do not code the<br />
keyword.<br />
Separate the keyword and its value with an EQUAL sign.<br />
Separate keywords with commas.<br />
Enclose multiple keyword values in parentheses and separate them with<br />
commas.<br />
Enclose keyword values in single quotes as indicated. If the text of a<br />
comment, description, memo, or criteria statement contains a single quote,<br />
precede it with an extra quote. The extra quote will be removed when the<br />
text prints.<br />
To delete a keyword, specify the value as NULL. (Example:<br />
CLASS=NULL)<br />
Keywords may not begin with a blank.<br />
Commands from batch may begin in any column and must end by column 72:<br />
.<br />
■<br />
■<br />
A command may be continued on additional lines. Divide commands<br />
between keywords or between multiple keyword values, ending one line<br />
with a comma and beginning the continuation in any column on the next<br />
line. Keyword values enclosed in quotes, such as criteria statements, may<br />
be divided between any two words.<br />
Use an asterisk in column one to indicate a comment line. Comments may<br />
follow keywords if they are separated by one or more blanks:<br />
ANALYZE JOB NAME=jname,SCHEDULE=sname<br />
Chapter 5. Reports 5-5
5.3 Display and Analysis Reports<br />
5.3 Display and Analysis Reports<br />
5.3.1 Analyze <strong>Job</strong><br />
This topic shows each of the Display and Analysis reports, gives usage notes,<br />
and shows examples of JCL to produce each report.<br />
This Analyze <strong>Job</strong> report analyzes a defined job to identify conflicts that must<br />
be resolved be<strong>for</strong>e the job is selected <strong>for</strong> processing. It shows each record that<br />
has been defined <strong>for</strong> the job and all the values defined in each record. The<br />
sample report following analyzes a job named JOB11 in the SCHD01 schedule.<br />
The error message indicates that a predecessor deadlock has occurred. This is<br />
because JOB11 and JOB12 have been defined as predecessors to each other,<br />
causing neither to be selected <strong>for</strong> processing.<br />
5-6 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.3 Display and Analysis Reports<br />
COMPUTER ASSOCIATES JOB SCHEDULING SYSTEM UTILITY LOG <strong>CA</strong>JUTIL PAGE 1<br />
<strong>CA</strong>-SCHEDULER 7.3 39SH73<br />
3 SEP 23 16.26.5<br />
ANALYZE JOB N=JOB11,S=SCHD1<br />
JOB BASE RECORD<br />
------------------------------<br />
JOB: JOB11 EARLY TIME = /. DOC DISP KEY = CLASS = AUTO START = INTERRUPT =<br />
JOB# 1 MUST TIME = /. NODEID = PRTY = RECOVER = USE SIMTIM=<br />
STATION 4 DEADLINE TIME = /. LIBTYPE = DRIVER SUBLIB = JMR REC = YES<br />
SCHEDULE SCHD1 MAX TIME = /. LIBMEMB = JOB11 SYSID = DRIVER PARMS = YES JIR REC = YES<br />
SIM ST TIME = /11.15 LIBMPASS = PRIORITY = STAGING = YES JRR REC = YES<br />
AVG ELAP TIME = /. LIBMBR SUBID = CPU JOB = BACKLOG = YES JRC REC = YES<br />
DOC DISP TIME = /. ABEND = ABORT FAIL CODE = JCR REC = YES<br />
LAST USER = <strong>CA</strong>LENDAR = SKIP = JNR REC =<br />
MEMO = NODE SYSID=<br />
TESTLIB PARMS = USER INFO =<br />
CRITERIA: JOB12-1 4 SCHD1<br />
JOB MESSAGE RECORD<br />
------------------------------<br />
JOB: JOB11 JOB#= 1 STATION ID= 4 SCHEDULE= SCHD1<br />
ALL MSG USERID LIST=<br />
END MSG USERID LIST= MARK<br />
FAIL MSG USERID LIST=<br />
ABEND MSG USERID LIST= MARK<br />
INTERRUPT MSG USERID LIST= MARK<br />
LATE MSG USERID LIST= MARK<br />
PURGE MSG USERID LIST=<br />
START MSG USERID LIST= MARK<br />
<strong>CA</strong>CU4E SCHD1 JOB12 14 DEADLOCK WITH PREDECESSOR SCHD1 JOB11 14<br />
JOB BASE RECORD<br />
------------------------------<br />
JOB: JOB11 EARLY TIME = /. DOC DISP KEY = CLASS = AUTO START = YES INTERRUPT =<br />
JOB# 1 MUST TIME = /. NODEID = PRTY = RECOVER = USE SIMTIM=<br />
STATION 2 DEADLINE TIME = /. LIBTYPE = SUBLIB = JMR REC =<br />
SCHEDULE SCHD1 MAX TIME = /. LIBMEMB = SYSID = DRIVER PARMS = JIR REC =<br />
SIM ST TIME = /11. LIBMPASS = PRIORITY = STAGING = JRR REC = YES<br />
AVG ELAP TIME = /.5 LIBMBR SUBID = CPU JOB = NO BACKLOG = JRC REC =<br />
DOC DISP TIME = /. ABEND = FAIL CODE = JCR REC =<br />
LAST USER = <strong>CA</strong>LENDAR = SKIP = JNR REC =<br />
MEMO = NODE SYSID=<br />
TESTLIB PARMS = USER INFO =<br />
<strong>CA</strong>CU18I JOB JOB11 HAS BEEN ANALYZED<br />
To produce the basic report, submit the following JCL with your job statement:<br />
// JOB <strong>CA</strong>JUTIL<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
ANALYZE JOB NAME=jname,SCHEDULE=sname job name and schedule name<br />
/<br />
/&<br />
Chapter 5. Reports 5-7
5.3 Display and Analysis Reports<br />
5.3.1.1 Usage Notes<br />
Use the Analyze <strong>Job</strong> report to analyze jobs that have been added or changed<br />
since their schedules were analyzed. We recommend that you run this report<br />
<strong>for</strong> the entire database after adding schedules and jobs. Correct all errors<br />
be<strong>for</strong>e allowing <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> to select the schedule that the job is<br />
assigned to.<br />
Any schedule or job parameters that were not specified at schedule or job<br />
definition time (that is, left to default values), will NOT be displayed when the<br />
schedule or job is analyzed.<br />
Error messages identify the following types of conflicts:<br />
■<br />
■<br />
■<br />
<strong>Job</strong>s assigned to schedules that are not defined in the database.<br />
Calendars, datetables, userids, stations, and predecessors that are<br />
referenced but not defined or found.<br />
Predecessor/successor deadlocks.<br />
A deadlock situation arises when two or more jobs have been defined as<br />
predecessors or successors to each other. For example, if JOBA has been<br />
defined as a predecessor to JOBB, and JOBB has been defined as a predecessor<br />
to JOBA, neither job will run because their predecessors cannot start and<br />
complete.<br />
To analyze a group of jobs that begin with the same characters, specify the<br />
jobname as a generic. To do this, code the common characters followed by an<br />
asterisk.<br />
To suppress the printing of all the job records with all their defined values,<br />
specify LIST=NO. Only the four fields that uniquely identify the job (job name,<br />
job number, station, and schedule name) will be printed, followed by any error<br />
messages.<br />
To limit the report to jobs with errors, specify LIST=ERR.<br />
5.3.1.2 Example<br />
The following example shows what will be printed if the LIST=NO option is<br />
used. It analyzes the job as be<strong>for</strong>e, but only prints the job's key fields,<br />
followed by the error messages.<br />
// JOB <strong>CA</strong>JUTIL<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
ANALYZE JOB NAME=JOB11,<br />
jobname<br />
SCHEDULE=SCHD1,<br />
schedule name<br />
/<br />
/&<br />
LIST=NO<br />
5-8 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.3 Display and Analysis Reports<br />
COMPUTER ASSOCIATES JOB SCHEDULING SYSTEM UTILITY LOG <strong>CA</strong>JUTIL PAGE 1<br />
<strong>CA</strong>-SCHEDULER 7.3 39SH73<br />
3 SEP 23 16.9.55<br />
ANALYZE JOB N=JOB11,S=SCHD1,LIST=NO<br />
JOB: JOB11 JOB#= 1 STATION ID= 4 SCHEDULE= SCHD1<br />
<strong>CA</strong>CU4E SCHD1 JOB12 14 DEADLOCK WITH PREDECESSOR SCHD1 JOB11 14<br />
JOB: JOB11 JOB#= 1 STATION ID= 2 SCHEDULE= SCHD1<br />
JOB: JOB11 JOB#= 1 STATION ID= 39 SCHEDULE= SCHD1<br />
JOB: JOB11 JOB#= 1 STATION ID= 6 SCHEDULE= SCHD1<br />
<strong>CA</strong>CU18I JOB JOB11 HAS BEEN ANALYZED<br />
5.3.2 Analyze Schedule<br />
The Analyze Schedule report analyzes a defined schedule to identify conflicts<br />
that must be resolved be<strong>for</strong>e the schedule is selected <strong>for</strong> processing. It shows<br />
each record that has been defined <strong>for</strong> this schedule and all of the values<br />
defined in each record. It also shows the records and values defined <strong>for</strong> each<br />
job assigned to the schedule. The sample report following analyzes the<br />
schedule named SCHD01.<br />
Chapter 5. Reports 5-9
5.3 Display and Analysis Reports<br />
COMPUTER ASSOCIATES JOB SCHEDULING SYSTEM UTILITY LOG <strong>CA</strong>JUTIL PAGE 1<br />
<strong>CA</strong>-SCHEDULER 7.3 39SH73 3 SEP 23 16.39.25<br />
ANALYZE SCHEDULE NAME=SCHD1<br />
SCHEDULE BASE RECORD<br />
------------------------------<br />
SCHEDULE= SCHD1 SCHD PRTY = EARLY TIME = /. STAGE JCL = NO SIR REC = YES<br />
AUTO SELECT = YES MUST TIME = /. USE SIM TIME= NO SMR REC = YES<br />
SYSID = DEADLINE TIME = /. CLASS = SRC REC = YES<br />
DATE TABLE = DATETAB MAX TIME = /. PRTY = SCR REC = YES<br />
NODE ID = AVG ELAP TIME = /. USER INFO =<br />
SIM ST TIME = /11. LIBTYPE = DRIVER NO OF JOBS = 12 BACKLOG = YES<br />
USERID LIST =<br />
LAST USER = <strong>CA</strong>LENDAR = SKIP = NODE SYS=<br />
CRITERIA: DAILY<br />
SCHEDULE REASON CODE RECORD<br />
------------------------------<br />
SCHEDULE: SCHD1<br />
EARLY TIME LIST 1= /11. 2= /12. 3= /13. 4= /14. 5= 6= 7= 8=<br />
9= 1= 11= 12= 13= 14= 15= 16=<br />
MUST TIME LIST 1= /11.3 2= /12.3 3= /13.3 4= /14.3 5= 6= 7= 8=<br />
9= 1= 11= 12= 13= 14= 15= 16=<br />
DEADLINE TIME LIST 1= 2= 3= 4= 5= 6= 7= 8=<br />
9= 1= 11= 12= 13= 14= 15= 16=<br />
MAXIMUM TIME LIST 1= 2= 3= 4= 5= 6= 7= 8=<br />
9= 1= 11= 12= 13= 14= 15= 16=<br />
JOB BASE RECORD<br />
------------------------------<br />
JOB: JOB11 EARLY TIME = /. DOC DISP KEY = CLASS = AUTO START = INTERRUPT =<br />
JOB# 1 MUST TIME = /. NODEID = PRTY = RECOVER = USE SIMTIM=<br />
STATION 4 DEADLINE TIME = /. LIBTYPE = DRIVER SUBLIB = JMR REC = YES<br />
SCHEDULE SCHD1 MAX TIME = /. LIBMEMB = JOB11 SYSID = DRIVER PARMS = YES JIR REC = YES<br />
SIM ST TIME = /11.15 LIBMPASS = PRIORITY = STAGING = YES JRR REC = YES<br />
AVG ELAP TIME = /. LIBMBR SUBID = CPU JOB = BACKLOG = YES JRC REC = YES<br />
DOC DISP TIME = /. ABEND = ABORT FAIL CODE = JCR REC = YES<br />
LAST USER = <strong>CA</strong>LENDAR = SKIP = JNR REC =<br />
MEMO = NODE SYSID=<br />
TESTLIB PARMS = USER INFO =<br />
CRITERIA: JOB12-1 4 SCHD1<br />
<strong>CA</strong>CU4E SCHD1 JOB12 14 DEADLOCK WITH PREDECESSOR SCHD1 JOB11 14<br />
<strong>CA</strong>CU18I SCHEDULE SCHD1 HAS BEEN ANALYZED<br />
To produce the basic report, submit the following JCL with your job statement:<br />
// JOB <strong>CA</strong>JUTIL<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
ANALYZE SCHEDULE NAME=sname<br />
schedule name<br />
/<br />
/&<br />
5-10 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.3 Display and Analysis Reports<br />
5.3.2.1 Usage Notes<br />
Use the Analyze Schedule report after adding schedules and jobs to your<br />
database. We strongly recommend that you run it <strong>for</strong> the entire database. Any<br />
schedules or job parameters that were not specified at schedule or job<br />
definition time (that is, left to default values), will not be displayed when the<br />
schedule or job is analyzed.<br />
Analyze all schedules and correct all errors be<strong>for</strong>e allowing <strong>Unicenter</strong><br />
<strong>CA</strong>-<strong>Scheduler</strong> to start automatic selection.<br />
Error messages identify the following types of conflicts:<br />
■<br />
■<br />
■<br />
Schedules with no defined jobs.<br />
Calendars, datetables, userids, stations, and predecessors that are<br />
referenced but not defined.<br />
Predecessor/successor deadlocks.<br />
A deadlock situation arises when two or more jobs have been defined as<br />
predecessors or successors to each other. For example, if JOBA has been<br />
defined as a predecessor to JOBB, and JOBB has been defined as a predecessor<br />
to JOBA, neither job will run because their predecessors cannot start and<br />
complete.<br />
To analyze a group of schedules that begin with the same characters, specify<br />
the schedule name as a generic. To do this, code the common characters<br />
followed by an asterisk. To analyze all schedules, specify NAME=*<br />
To print only the schedule name and errors, specify LIST=NO.<br />
To limit the report to schedules and jobs with errors, specify LIST=ERR.<br />
5.3.2.2 Example<br />
// JOB <strong>CA</strong>JUTIL<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
ANALYZE SCHEDULE NAME=<br />
/<br />
/&<br />
generic schedule name<br />
The preceding example will analyze all schedules <strong>for</strong> conflicts be<strong>for</strong>e turning<br />
them over to <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>for</strong> automatic selection.<br />
Chapter 5. Reports 5-11
5.3 Display and Analysis Reports<br />
5.3.3 List <strong>Job</strong><br />
The List <strong>Job</strong> report lists all of the records and values that have been defined<br />
<strong>for</strong> one job or a group of jobs.<br />
COMPUTER ASSOCIATES JOB SCHEDULING SYSTEM UTILITY LOG <strong>CA</strong>JUTIL PAGE 1<br />
<strong>CA</strong>-SCHEDULER 7.3 39SH73<br />
3 SEP 23 18.11.4<br />
LIST<br />
JOB N=JOB11<br />
JOB BASE RECORD<br />
------------------------------<br />
JOB: JOB11 EARLY TIME = /. DOC DISP KEY = CLASS = AUTO START = INTERRUPT =<br />
JOB# 1 MUST TIME = /. NODEID = PRTY = RECOVER = USE SIMTIM=<br />
STATION 4 DEADLINE TIME = /. LIBTYPE = DRIVER SUBLIB = JMR REC = YES<br />
SCHEDULE SCHD1 MAX TIME = /. LIBMEMB = JOB11 SYSID = DRIVER PARMS = YES JIR REC = YES<br />
SIM ST TIME = /. LIBMPASS = PRIORITY = STAGING = YES JRR REC = YES<br />
AVG ELAP TIME = /. LIBMBR SUBID = CPU JOB = BACKLOG = YES JRC REC = YES<br />
DOC DISP TIME = /. ABEND = ABORT FAIL CODE = JCR REC = YES<br />
LAST USER = MARK <strong>CA</strong>LENDAR = SKIP = JNR REC =<br />
MEMO = NODE SYSID=<br />
TESTLIB PARMS = USER INFO =<br />
CRITERIA: DAILY<br />
DRIVPARM NAME = DRIVPARM VALUE:<br />
NUMBER<br />
DSDSPC1<br />
DSDSPC2<br />
TAPVER1<br />
TAPVER2<br />
= (PRIMEIRO,SEGUNDO,TERCEIRO)<br />
= 35<br />
= 8<br />
= <br />
= <br />
RESTPARM NAME = RESTPARM VALUE:<br />
NUMBER<br />
= (QUARTO,QUINTO,SEXTO)<br />
TAPVER1<br />
TAPVER2<br />
= '-1'<br />
= '-1'<br />
JOB REASON CODE RECORD<br />
------------------------------<br />
JOB: JOB11 JOB#= 1 STATION ID= 4 SCHEDULE= SCHD1<br />
EARLY TIME LIST 1= /11.15 2= /12.3 3= /13.3 4= /14.3 5= 6= 7= 8=<br />
9= 1= 11= 12= 13= 14= 15= 16=<br />
MUST TIME LIST 1= /12.3 2= /13.3 3= /14.3 4= /15.3 5= 6= 7= 8=<br />
9= 1= 11= 12= 13= 14= 15= 16=<br />
DEADLINE TIME LIST 1= 2= 3= 4= 5= 6= 7= 8=<br />
9= 1= 11= 12= 13= 14= 15= 16=<br />
MAXIMUM TIME LIST 1= 2= 3= 4= 5= 6= 7= 8=<br />
9= 1= 11= 12= 13= 14= 15= 16=<br />
JOB INFORMATION RECORD<br />
------------------------------<br />
JOB: JOB11 JOB#= 1 STATION ID = 4 SCHEDULE= SCHD1 FORM =JOB11<br />
DESCRIPTION= DESCRIPTION JOB JOB11 QUANTITY = NOTIFY= MARK<br />
EXIT PARM = RESPONSIBILITY=<br />
COMMENT = SPECIFI<strong>CA</strong>TION =<br />
ROUTE STATION CODES = VERIFY = NO<br />
DESTINATION LIST 1.=JOB111 2.=JOB112 3.=JOB113 4.= 5.= 6.= 7.= 8.=<br />
5-12 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.3 Display and Analysis Reports<br />
COMPUTER ASSOCIATES JOB SCHEDULING SYSTEM UTILITY LOG <strong>CA</strong>JUTIL PAGE 2<br />
<strong>CA</strong>-SCHEDULER 7.3 39SH73<br />
3 SEP 23 18.11.4<br />
DELIVERY LIST 1.= 2.= 3.= 4.=<br />
5.= 6.= 7.= 8.=<br />
JOB RESOURCE RECORD<br />
------------------------------<br />
JOB: JOB11 JOB#= 1 STATION ID= 4 SCHEDULE= SCHD1 ROUTE DELAY TIME = /. CPU TIME= /.<br />
VOLSERS THAT MUST BE MOUNTED=<br />
DASD= DASD1 3 DISK EXCPS= 111111<br />
TAPE= TAPE1 2 TAPE EXCPS= 111111<br />
U/R =<br />
OTHER EXCPS=<br />
EXCLUSIVE JOB LIST= JOB21 JOB31<br />
SEPARATE DSNAME = EXCLUSIVE.DATASET1<br />
5.3.3.1 Usage Notes<br />
5.3.3.2 Example 1<br />
To produce the basic report, submit the following JCL with your job statement:<br />
// JOB <strong>CA</strong>JUTIL<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
LIST JOB NAME=jname<br />
jobname<br />
/<br />
/&<br />
Use the List <strong>Job</strong> report by specifying the keyword Schedule= (schedule name)<br />
whenever the same job name appears in two or more schedules. Otherwise, all<br />
schedules that include the specified job name are listed.<br />
To list a group of jobs that begin with the same characters, specify the jobname<br />
generically. To do this, code the common characters followed by an asterisk.<br />
If any parameters were left to default values when the job was defined, those<br />
default parameters will not be printed.<br />
To identify conflicts in job records, run the ANALYZE JOB report.<br />
// JOB <strong>CA</strong>JUTIL<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
LIST JOB NAME=CUST1,<br />
/<br />
/&<br />
SCHEDULE=CUSTMAST<br />
jobname<br />
schedule name<br />
The preceding example will list all of the job records that have been defined<br />
<strong>for</strong> the job named CUST1 as part of the CUSTMAST schedule.<br />
Chapter 5. Reports 5-13
5.3 Display and Analysis Reports<br />
5.3.3.3 Example 2<br />
// JOB <strong>CA</strong>JUTIL<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
LIST JOB NAME=PAYJ,<br />
/<br />
/&<br />
5.3.4 List Schedule<br />
SCHEDULE=PAY<br />
generic jobname<br />
generic schedule name<br />
The preceding example will list all the records defined <strong>for</strong> all jobs beginning<br />
with PAYJ in all schedules beginning with PAY.<br />
The List Schedule report lists all of the records and values that have been<br />
defined <strong>for</strong> one schedule or a group of schedules. In addition, the records and<br />
values defined <strong>for</strong> each job in each schedule are listed.<br />
5-14 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.3 Display and Analysis Reports<br />
COMPUTER ASSOCIATES JOB SCHEDULING SYSTEM UTILITY LOG <strong>CA</strong>JUTIL PAGE 1<br />
<strong>CA</strong>-SCHEDULER 7.3 39SH73 3 SEP 23 15.29.22<br />
LIST<br />
SCHEDULE N=SCHD1<br />
SCHEDULE BASE RECORD<br />
------------------------------<br />
SCHEDULE= SCHD1 SCHD PRTY = EARLY TIME = /. STAGE JCL = NO SIR REC = YES<br />
AUTO SELECT = YES MUST TIME = /. USE SIM TIME= NO SMR REC = YES<br />
SYSID = DEADLINE TIME = /. CLASS = SRC REC = YES<br />
DATE TABLE = DATETAB MAX TIME = /. PRTY = SCR REC = YES<br />
NODE ID = AVG ELAP TIME = /. USER INFO =<br />
SIM ST TIME = /. LIBTYPE = DRIVER NO OF JOBS = 12 BACKLOG = YES<br />
USERID LIST =<br />
LAST USER = <strong>CA</strong>LENDAR = SKIP = NODE SYS=<br />
CRITERIA: DAILY<br />
SCHEDULE MESSAGE RECORD<br />
------------------------------<br />
SCHEDULE: SCHD1 ALL MESSAGE USERID LIST=<br />
END MESSAGE USERID LIST= MARK<br />
LATE MESSAGE USERID LIST= MARK<br />
START MESSAGE USERID LIST= MARK<br />
SCHEDULE REASON CODE RECORD<br />
------------------------------<br />
SCHEDULE: SCHD1<br />
EARLY TIME LIST 1= /11. 2= /12. 3= /13. 4= /14. 5= 6= 7= 8=<br />
9= 1= 11= 12= 13= 14= 15= 16=<br />
MUST TIME LIST 1= /11.3 2= /12.3 3= /13.3 4= /14.3 5= 6= 7= 8=<br />
9= 1= 11= 12= 13= 14= 15= 16=<br />
DEADLINE TIME LIST 1= 2= 3= 4= 5= 6= 7= 8=<br />
9= 1= 11= 12= 13= 14= 15= 16=<br />
MAXIMUM TIME LIST 1= 2= 3= 4= 5= 6= 7= 8=<br />
9= 1= 11= 12= 13= 14= 15= 16=<br />
SCHEDULE INFORMATION RECORD<br />
------------------------------<br />
SCHEDULE: SCHD1<br />
FORM= SCHD1<br />
DESCRIPTION= DESCRIPTION SCH SCHD1 QUANTITY= NOTIFY= MARK<br />
RESPONSIBILITY=<br />
COMMENT = SPECIFI<strong>CA</strong>TION=<br />
EXIT PARM = VERIFY= NO<br />
DESTINATION LIST 1.=SCHD11 2.=SCHD12 3.=SCHD13 4.= 5.= 6.= 7.= 8.=<br />
DELIVERY LIST 1.= 2.= 3.= 4.=<br />
5.= 6.= 7.= 8.=<br />
JOB BASE RECORD<br />
------------------------------<br />
JOB: JOB11 EARLY TIME = /. DOC DISP KEY = CLASS = AUTO START = INTERRUPT =<br />
JOB# 1 MUST TIME = /. NODEID = PRTY = RECOVER = USE SIMTIM=<br />
STATION 4 DEADLINE TIME = /. LIBTYPE = DRIVER SUBLIB = JMR REC = YES<br />
SCHEDULE SCHD1 MAX TIME = /. LIBMEMB = JOB11 SYSID = DRIVER PARMS = YES JIR REC = YES<br />
SIM ST TIME = /. LIBMPASS = PRIORITY = STAGING = YES JRR REC = YES<br />
AVG ELAP TIME = /. LIBMBR SUBID = CPU JOB = BACKLOG = YES JRC REC = YES<br />
DOC DISP TIME = /. ABEND = ABORT FAIL CODE = JCR REC = YES<br />
LAST USER = <strong>CA</strong>LENDAR = SKIP = JNR REC =<br />
MEMO = NODE SYSID=<br />
TESTLIB PARMS = USER INFO =<br />
CRITERIA: DAILY<br />
Chapter 5. Reports 5-15
5.3 Display and Analysis Reports<br />
5.3.4.1 Usage Notes<br />
5.3.4.2 Example 1<br />
5.3.4.3 Example 2<br />
5.3.5 List Station<br />
To produce the basic report, submit the following JCL with your job statement:<br />
// JOB <strong>CA</strong>JUTIL<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
LIST SCHEDULE NAME=sname<br />
schedule name<br />
/<br />
/&<br />
Use the List Schedule report to list a group of schedules that begin with the<br />
same characters by specifying the schedule name generically. To do this, code<br />
the common characters followed by an asterisk. To list all schedules, code<br />
NAME=*.<br />
If any parameters were left to default values when the schedule was defined,<br />
those default parameters will not be printed.<br />
To identify conflicts in records, use the ANALYZE SCHEDULE command.<br />
// JOB <strong>CA</strong>JUTIL<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
LIST SCHEDULE NAME=CUSTMAST<br />
/<br />
/&<br />
schedule name<br />
The preceding example lists all of the schedule records that have been defined<br />
<strong>for</strong> the CUSTMAST schedule and all of the job records <strong>for</strong> jobs that have been<br />
assigned to the CUSTMAST schedule.<br />
// JOB <strong>CA</strong>JUTIL<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
LIST SCHEDULE NAME=<br />
/<br />
/&<br />
generic schedule name<br />
The preceding example lists all schedule and job records in the database.<br />
This List Station report lists either one station record, a generic group of<br />
station records, or all station records. The sample report following shows the<br />
record that was defined <strong>for</strong> station 20, the reception of documents station.<br />
5-16 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.3 Display and Analysis Reports<br />
COMPUTER ASSOCIATES JOB SCHEDULING SYSTEM UTILITY LOG <strong>CA</strong>JUTIL PAGE 1<br />
<strong>CA</strong>-SCHEDULER 7.3 39SH73 3 SEP 23 18.24.59<br />
LIST<br />
STATION ID=2<br />
STATION RECORD<br />
------------------------------<br />
STATION: RECPTION STATION ID= 2 START TIME = /. END TIME= /. ROUTE STATION ID= TIMEZONE ADJUST= <br />
DESCRIPTION= RECEPTION OF DOCUMENTS STATION<br />
TITLE = RECEPTION OF DOCUMENTS STATION<br />
5.3.5.1 Usage Notes<br />
5.3.5.2 Example<br />
To produce the basic report, submit the following JCL with your job statement:<br />
// JOB <strong>CA</strong>JUTIL<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
LIST STATION ID=nn<br />
station ID<br />
/<br />
/&<br />
Use the List Station report to list a group of stations that begin with the same<br />
number, by specifying the number followed by an asterisk. To list all stations,<br />
specify ID=*.<br />
If any parameters were left to default values when the station was defined,<br />
those default parameters will not be printed.<br />
The following example lists all station records defined in the database in<br />
alphabetical order by station ID.<br />
// JOB <strong>CA</strong>JUTIL<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
LIST STATION ID=<br />
all stations<br />
/<br />
/&<br />
Chapter 5. Reports 5-17
5.3 Display and Analysis Reports<br />
COMPUTER ASSOCIATES JOB SCHEDULING SYSTEM UTILITY LOG <strong>CA</strong>JUTIL PAGE 1<br />
<strong>CA</strong>-SCHEDULER 7.3 39SH73 3 SEP 23 18.24.59<br />
LIST<br />
STATION ID=<br />
STATION RECORD<br />
------------------------------<br />
STATION: RECPTION STATION ID= 2 START TIME = /. END TIME= /. ROUTE STATION ID= TIMEZONE ADJUST= <br />
DESCRIPTION= RECEPTION OF DOCUMENTS STATION<br />
TITLE = RECEPTION OF DOCUMENTS STATION<br />
STATION RECORD<br />
------------------------------<br />
STATION: DATENTRY STATION ID= 25 START TIME = /. END TIME= /. ROUTE STATION ID= TIMEZONE ADJUST= <br />
DESCRIPTION= DATA ENTRY OF DOCUMENTS STATION<br />
TITLE = DATA ENTRY OF DOCUMENTS STATION<br />
STATION RECORD<br />
------------------------------<br />
STATION: VERF<strong>CA</strong>TN STATION ID= 3 START TIME = /. END TIME= /. ROUTE STATION ID= TIMEZONE ADJUST= <br />
DESCRIPTION= DATA ENTRY VERIFI<strong>CA</strong>TION STATION<br />
TITLE = DATA ENTRY VERIFI<strong>CA</strong>TION STATION<br />
STATION RECORD<br />
------------------------------<br />
STATION: JCLSETUP STATION ID= 39 START TIME = /. END TIME= /. ROUTE STATION ID= TIMEZONE ADJUST= <br />
DESCRIPTION= SETUP OF JCL STATION<br />
TITLE = SETUP OF JCL STATION<br />
STATION RECORD<br />
------------------------------<br />
STATION: CPU STATION ID= 4 START TIME = /. END TIME= /. ROUTE STATION ID= TIMEZONE ADJUST= <br />
DESCRIPTION= CPU STATION<br />
TITLE = CPU STATION<br />
STATION RECORD<br />
------------------------------<br />
STATION: PRINTING STATION ID= 6 START TIME = /. END TIME= /. ROUTE STATION ID= TIMEZONE ADJUST= <br />
DESCRIPTION= PRINTING STATION<br />
TITLE = PRINTING STATION<br />
STATION RECORD<br />
------------------------------<br />
STATION: OUTPTVER STATION ID= 65 START TIME = /. END TIME= /. ROUTE STATION ID= TIMEZONE ADJUST= <br />
DESCRIPTION= OUTPUT VERIFI<strong>CA</strong>TION STATION<br />
TITLE = OUTPUT VERIFI<strong>CA</strong>TION STATION<br />
STATION RECORD<br />
------------------------------<br />
STATION: OUTPTDIS STATION ID= 7 START TIME = /. END TIME= /. ROUTE STATION ID= TIMEZONE ADJUST= <br />
DESCRIPTION= OUTPUT DISTRIBUTION STATION<br />
TITLE = OUTPUT DISTRIBUTION STATION<br />
5-18 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.3 Display and Analysis Reports<br />
5.3.6 List Userid<br />
The List Userid report lists the records and values that have been defined <strong>for</strong><br />
one userid, a group of userids, or all userids. The sample following shows the<br />
userids specified.<br />
COMPUTER ASSOCIATES JOB SCHEDULING SYSTEM UTILITY LOG <strong>CA</strong>JUTIL PAGE 1<br />
<strong>CA</strong>-SCHEDULER 7.3 39SH73 3 SEP 23 18.24.59<br />
LIST<br />
USERID NAME=ANNE<br />
USERID RECORD<br />
------------------------------<br />
USERID: ANNE READ PASSWORD= WRITE PASSWORD= CLASS= M<br />
DESCRIPTION = SHIFT PRODUCTION ANALIST<br />
LIST<br />
USERID NAME=MARK<br />
USERID RECORD<br />
------------------------------<br />
USERID: MARK READ PASSWORD= WRITE PASSWORD= CLASS= M<br />
DESCRIPTION = SHIFT PRODUCTION ANALIST<br />
LIST<br />
USERID NAME=RON<br />
USERID RECORD<br />
------------------------------<br />
USERID: RON READ PASSWORD= WRITE PASSWORD= CLASS= M<br />
DESCRIPTION = PRODUCTION SUPERVISOR<br />
LIST<br />
USERID NAME=JEFF<br />
USERID RECORD<br />
------------------------------<br />
USERID: JEFF READ PASSWORD= WRITE PASSWORD= CLASS= M<br />
DESCRIPTION = PRODUCTION MANAGER<br />
To produce the basic report, submit the following JCL with your job statement:<br />
// JOB <strong>CA</strong>JUTIL<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
LIST USERID NAME=userid<br />
userid<br />
/<br />
/&<br />
Chapter 5. Reports 5-19
5.3 Display and Analysis Reports<br />
5.3.6.1 Usage Notes<br />
5.3.6.2 Example 1<br />
5.3.6.3 Example 2<br />
Use the List Userid report to list the records and values that have been defined<br />
<strong>for</strong> userids. If any parameters were left to default values when the userid was<br />
defined, those default parameters will not be printed.<br />
To list a group of userids that begin with the same characters, specify the<br />
userid name generically. To do this, code the common characters followed by<br />
an asterisk.<br />
Optionally, you can list the userid read or write passwords. To list the userids<br />
read passwords, code the master userid read password. To list the write<br />
passwords, code the master userid write password.<br />
// JOB <strong>CA</strong>JUTIL<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
LIST USERID NAME=ACCTG,<br />
/<br />
/&<br />
READPASS=RMASTER<br />
userid<br />
master read password<br />
The preceding example lists the userid record that was defined as ACCTG. The<br />
master read password is included so that the output will show the ACCTG<br />
userid's read password.<br />
// JOB <strong>CA</strong>JUTIL<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
LIST USERID NAME=,<br />
READPASS=RMASTER,<br />
/<br />
/&<br />
WRITPASS=WMASTER<br />
generic userid<br />
master read password<br />
master write password<br />
The preceding example will list all userid records in the database in<br />
alphabetical order. The master read password and master write password are<br />
specified so that the output will show both the read and write passwords<br />
defined <strong>for</strong> each userid.<br />
5-20 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.4 Batch Versions of Online Reports<br />
5.4 Batch Versions of Online Reports<br />
5.4.1 Abended <strong>Job</strong> Schedule<br />
This topic gives samples of each batch version of an online report and gives<br />
sample JCL to produce the report. In addition, each of the report fields are<br />
explained.<br />
The Abended <strong>Job</strong> Schedule report lists all <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong>-controlled<br />
jobs that abended on the current AUTOS<strong>CA</strong>N DATE starting at AUTOTIM,<br />
unless you use the optional keywords described following. Up to the last seven<br />
executions of a job that abended will be reported on. For each job that<br />
abended, the date on which the job and schedule were planned to run is<br />
shown, along with the actual date, actual start time, and abnormal end time of<br />
the job. <strong>Job</strong>s on a report <strong>for</strong> a day other than today will be listed up to<br />
AUTOTIM.<br />
COMPUTER ASSOCIATES ABENDED JOB SCHEDULE ABENDED PAGE 1<br />
<strong>CA</strong>-SCHEDULER 7.3 39SH73 3 SEP 23 15.32.11<br />
PLANNED START DATE: 3 SEP 23<br />
-------P L A N N E D------ --------A C T U A L-------<br />
SCHEDULE ----JOB---- START END ELAPSED START END ELAPSED TERM<br />
NAME NAME ST TIME TIME TIME TIME TIME TIME CODE<br />
-------- -------- -- -------- -------- -------- -------- -------- -------- -----<br />
DEMO <strong>CA</strong>JDEM3 4 /. /. /. /12.43 /12.43 /. X'2'<br />
DEMOTRCK <strong>CA</strong>JINT4 4 /. /. /. /22.54 /22.59 /.5 X'23'<br />
SCHD1 JOB11 4 /. /. /. /16.25 /17.37 /1.2 X'FF'<br />
SCHD1 JOB13 4 /. /. /. /9.1 /9.14 /.4 X'24'<br />
SCHD2 JOB21 4 /. /. /. /13.1 /13.8 /.7 X'2'<br />
SCHD2 JOB22 4 /. /. /. /13.8 /13.1 /.2 X'2'<br />
SCHD2 JOB23 4 /. /. /. /13.11 /13.15 /.4 X'2'<br />
SCHD3 JOB33 4 /. /. /. /14.45 /14.48 /.3 X'2'<br />
To<br />
Limit the report to one<br />
job or a group of jobs whose names<br />
begin with the same characters<br />
schedule or a group of schedules whose<br />
names begin with the same characters<br />
Report on<br />
a date other than today<br />
more than one day<br />
jobs that were scheduled <strong>for</strong> a given<br />
date regardless of when they abended<br />
Start the report at a time other than<br />
AUTOTIM<br />
Specify<br />
JOB=jname|jname*<br />
SCHEDULE=sname|sname*<br />
FROMDATE=mmddyy|ddmmyy<br />
FOR=nn<br />
SDATE=mmddyy|ddmmyy<br />
FROMTIME=hhmm<br />
Chapter 5. Reports 5-21
5.4 Batch Versions of Online Reports<br />
5.4.1.1 Example 1<br />
JCL that produces the Abended <strong>Job</strong> Schedule report requires the inclusion of a<br />
work file. A generic version of this work file is contained on the installation<br />
tape. The file's name is Z.<strong>CA</strong>WORK1. Tailor this file to your installation's<br />
needs and ensure that it is accessible be<strong>for</strong>e running the JCL that produces the<br />
report. To produce this report, submit the following JCL with your job<br />
statement:<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT ABEND<br />
/<br />
/&<br />
The following in<strong>for</strong>mation is included on the Abended <strong>Job</strong> Schedule report:<br />
PLANNED START DATE<br />
SCHEDULE NAME<br />
JOB NAME<br />
JOB ST<br />
PLANNED START TIME<br />
PLANNED END TIME<br />
PLANNED ELAPSED TIME<br />
ACTUAL START TIME<br />
ACTUAL END TIME<br />
ACTUAL ELAPSED TIME<br />
TERM CODE<br />
The date the job was selected to run.<br />
The schedule the abended job was assigned<br />
to.<br />
The jobs that abended during the period<br />
reported on.<br />
The stations where these jobs were scheduled.<br />
EARLIEST START TIME, if one was defined<br />
<strong>for</strong> the job.<br />
COMPLETION DEADLINE TIME, if one was<br />
defined <strong>for</strong> the job.<br />
AVERAGE TIME, if one was defined <strong>for</strong> the<br />
job.<br />
The time the job actually started.<br />
The time the job actually ended.<br />
The time it actually took to process the job.<br />
The completion code.<br />
Note: The time fields are of the <strong>for</strong>mat dd/hh.mm where dd is the number of<br />
days from the planned start date, hh is the hour, and mm is the<br />
minute.<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT ABEND FROMDATE=1153<br />
/<br />
/&<br />
5-22 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.4 Batch Versions of Online Reports<br />
5.4.1.2 Example 2<br />
The preceding JCL will produce a report <strong>for</strong> any job that abended on<br />
10/15/03.<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT ABEND SDATE=1153<br />
/<br />
/&<br />
5.4.2 Closed Data Set Report<br />
The preceding JCL will produce a report <strong>for</strong> any job that was scheduled to run<br />
on 10/15/03 and abended on the same day or later.<br />
The Closed Data Set report lists the output data sets used by all <strong>Unicenter</strong><br />
<strong>CA</strong>-<strong>Scheduler</strong>-controlled jobs that ran today, starting at AUTOTIM.<br />
Chapter 5. Reports 5-23
5.4 Batch Versions of Online Reports<br />
COMPUTER ASSOCIATES CLOSED DATA SET REPORT DATASET PAGE 1<br />
<strong>CA</strong>-SCHEDULER 7.3 39SH73 14 SEP 23 15.35.45<br />
CLOSED DATA SET DATE: 14 SEP 23<br />
SCHEDULE JOB LAST TIME BLOCK RECORD RECORD DEVICE<br />
NAME NAME DATA SET NAME CLOSED CLOSED SIZE SIZE FORMAT TYPE<br />
-------- -------- -------------------------------------------- -------- -------- ------- ------- ------ ------<br />
SCHD1 JOB13 JOB13.FILE 9/14/3 12.36.4 72 72 F DISK<br />
SCHD2 JOB23 JOB23.FILE 9/14/3 12.38.1 72 72 F DISK<br />
DEMO <strong>CA</strong>JDEM4 <strong>CA</strong>I.SCHD.HISTORY 9/14/3 14.3.42 TAPE<br />
DEMOHIST <strong>CA</strong>JINH1 EARLOBJ.FILE 9/14/3 14.5.28 3,2 8 F DISK<br />
DEMOHIST <strong>CA</strong>JINH1 WORK1.FILE 9/14/3 14.5.39 DISK<br />
DEMOHIST <strong>CA</strong>JINM1 IJSYS1.FILE 9/14/3 14.6.25 248 248 F DISK<br />
DEMOHIST <strong>CA</strong>JINM1 IJSYS5.FILE 9/14/3 14.6.28 3,224 248 F DISK<br />
DEMOHIST <strong>CA</strong>JINM1 EARLOBJ.FILE 9/14/3 14.6.4 3,2 8 F DISK<br />
DEMOHIST <strong>CA</strong>JINM1 WORK1.FILE 9/14/3 14.9.49 DISK<br />
DEMOHIST <strong>CA</strong>JINM2 IJSYS1.FILE 9/14/3 14.11.38 248 248 F DISK<br />
DEMOHIST <strong>CA</strong>JINM2 IJSYS5.FILE 9/14/3 14.11.42 3,224 248 F DISK<br />
DEMOHIST <strong>CA</strong>JINM2 EARLOBJ.FILE 9/14/3 14.12. 3,2 8 F DISK<br />
DEMOHIST <strong>CA</strong>JINM2 WORK1.FILE 9/14/3 14.14.54 DISK<br />
DEMOHIST <strong>CA</strong>JINM3 EARLOBJ.FILE 9/14/3 14.15.21 3,2 8 F DISK<br />
DEMOHIST <strong>CA</strong>JINM3 WORK1.FILE 9/14/3 14.19.16 DISK<br />
DEMOHIST <strong>CA</strong>JINH2 EARLOBJ.FILE 9/14/3 14.22.19 3,2 8 F DISK<br />
DEMOHIST <strong>CA</strong>JINH2 WORK1.FILE 9/14/3 14.22.28 DISK<br />
DEMOHIST <strong>CA</strong>JINH3 EARLOBJ.FILE 9/14/3 14.23.3 3,2 8 F DISK<br />
DEMOHIST <strong>CA</strong>JINH3 WORK1.FILE 9/14/3 14.23.13 DISK<br />
DEMOHIST <strong>CA</strong>JINH4 EARLOBJ.FILE 9/14/3 14.23.53 3,2 8 F DISK<br />
DEMOHIST <strong>CA</strong>JINH4 WORK1.FILE 9/14/3 14.24.1 DISK<br />
DEMOHIST <strong>CA</strong>JINH5 EARLOBJ.FILE 9/14/3 14.24.48 3,2 8 F DISK<br />
DEMOHIST <strong>CA</strong>JINH5 WORK1.FILE 9/14/3 14.24.58 DISK<br />
DEMOHIST <strong>CA</strong>JINH6 EARLOBJ.FILE 9/14/3 14.25.58 3,2 8 F DISK<br />
DEMOHIST <strong>CA</strong>JINH6 WORK1.FILE 9/14/3 14.26.15 DISK<br />
DEMOHIST <strong>CA</strong>JINH7 EARLOBJ.FILE 9/14/3 14.28. 3,2 8 F DISK<br />
DEMOHIST <strong>CA</strong>JINH7 WORK1.FILE 9/14/3 14.28.36 DISK<br />
DEMOTRCK <strong>CA</strong>JIND1 EARLOBJ.FILE 9/14/3 14.29.21 3,2 8 F DISK<br />
DEMOTRCK <strong>CA</strong>JIND1 WORK1.FILE 9/14/3 14.29.29 DISK<br />
DEMOTRCK <strong>CA</strong>JIND2 EARLOBJ.FILE 9/14/3 14.31.21 3,2 8 F DISK<br />
DEMOTRCK <strong>CA</strong>JIND2 WORK1.FILE 9/14/3 14.31.27 DISK<br />
DEMOTRCK <strong>CA</strong>JING1 EARLOBJ.FILE 9/14/3 14.34.42 3,2 8 F DISK<br />
DEMOTRCK <strong>CA</strong>JING1 WORK1.FILE 9/14/3 14.34.53 DISK<br />
DEMOTRCK <strong>CA</strong>JING2 EARLOBJ.FILE 9/14/3 14.35.36 3,2 8 F DISK<br />
DEMOTRCK <strong>CA</strong>JING2 WORK1.FILE 9/14/3 14.35.45 DISK<br />
DEMOTRCK <strong>CA</strong>JINS1 EARLOBJ.FILE 9/14/3 14.37.51 3,2 8 F DISK<br />
DEMOTRCK <strong>CA</strong>JINS1 WORK1.FILE 9/14/3 14.37.58 DISK<br />
DEMOTRCK <strong>CA</strong>JINS6 EARLOBJ.FILE 9/14/3 14.42.19 3,2 8 F DISK<br />
DEMOTRCK <strong>CA</strong>JINTD1 IJSYS1.FILE 9/14/3 14.44.41 248 248 F DISK<br />
DEMOTRCK <strong>CA</strong>JINTD1 IJSYS4.FILE 9/14/3 14.44.44 248 248 F DISK<br />
DEMOTRCK <strong>CA</strong>JINTD1 IJSYS5.FILE 9/14/3 14.44.48 3,224 248 F DISK<br />
DEMOTRCK <strong>CA</strong>JINTD1 EARLOBJ.FILE 9/14/3 14.45.13 3,2 8 F DISK<br />
DEMOTRCK <strong>CA</strong>JINTD1 WORK1.FILE 9/14/3 14.45.55 DISK<br />
DEMOTRCK <strong>CA</strong>JINT1 EARLOBJ.FILE 9/14/3 14.48.23 3,2 8 F DISK<br />
Use these optional keywords to limit the report to selected in<strong>for</strong>mation:<br />
To<br />
Limit the report to one<br />
job or a group of jobs whose names begin<br />
with the same characters<br />
schedule or a group of schedules whose<br />
names begin with the same characters<br />
Report on<br />
a date other than today<br />
more than one day<br />
Specify<br />
JOB=jname]jname*<br />
SCHEDULE=sname]sname*<br />
FROMDATE=mmddyy|ddmmyy<br />
FOR=nn<br />
5-24 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.4 Batch Versions of Online Reports<br />
To<br />
Start the report at a time other than AUTOTIM<br />
Specify<br />
FROMTIME=hhmm<br />
JCL that produces this report requires the inclusion of a work file. A generic<br />
version of this work file is contained on the installation tape. The file's name is<br />
Z.<strong>CA</strong>WORK1. Tailor this file to your installation's needs and ensure that it is<br />
accessible be<strong>for</strong>e running the JCL that produces the report. To produce this<br />
report, submit the following JCL with your job statement:<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT DATASET<br />
/<br />
/&<br />
The following in<strong>for</strong>mation is included on the Closed Data Set report:<br />
CLOSED DATA SET DATE<br />
SCHEDULE NAME<br />
JOB NAME<br />
DATA SET NAME<br />
LAST CLOSED<br />
TIME CLOSED<br />
BLOCK SIZE<br />
RECORD SIZE<br />
RECORD FORMAT<br />
DEVICE TYPE<br />
5.4.3 Completed <strong>Job</strong> Schedule<br />
FROMDATE, if specified, or else today's date.<br />
The schedules processed during the period<br />
reported on.<br />
The jobs processed during the period reported<br />
on.<br />
The data sets used by these jobs.<br />
The date the data set was closed.<br />
The time the data set was closed.<br />
The data set's block size.<br />
The data set's logical record size.<br />
The data set's record <strong>for</strong>mat.<br />
DISK or TAPE.<br />
Note: Data set in<strong>for</strong>mation collection is determined by the DSN= option in<br />
the <strong>CA</strong>IJGEN macro.<br />
The Completed <strong>Job</strong> Schedule report lists all <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong>-controlled<br />
jobs that completed on the current AUTOS<strong>CA</strong>N DATE starting at AUTOTIM,<br />
unless you use the optional keywords described following. Up to the last seven<br />
executions of a job that completed will be reported on. For each job that<br />
completed, the date on which the job and schedule were planned to run is<br />
shown, along with the actual date, actual start time, and end time of the job.<br />
<strong>Job</strong>s on a report <strong>for</strong> a day other than today will be listed up to AUTOTIM.<br />
Chapter 5. Reports 5-25
5.4 Batch Versions of Online Reports<br />
COMPUTER ASSOCIATES COMPLETED JOB SCHEDULE COMPLETE PAGE 1<br />
<strong>CA</strong>-SCHEDULER 7.3 39SH73<br />
3 SEP 23 15.37.6<br />
PLANNED START DATE: 2 SEP 23<br />
-------P L A N N E D------ --------A C T U A L-------<br />
SCHEDULE ----JOB---- START END ELAPSED START END ELAPSED COMP<br />
NAME NAME ST TIME TIME TIME TIME TIME TIME CODE<br />
-------- -------- -- -------- -------- -------- -------- -------- -------- -----<br />
SCHD1 JOB13 4 1/9. /. /. 1/12.36 1/12.36 /. X'1'<br />
SCHD2 JOB23 4 1/9.15 /. /. 1/12.36 1/12.38 /.1 X'1'<br />
DEMO<br />
DEMO<br />
DEMO<br />
DEMO<br />
DEMO<br />
<strong>CA</strong>JDEM1 4 /. /. /. /12.42 /12.42 /. X'1'<br />
<strong>CA</strong>JDEM2 4 /. /. /. /12.42 /12.42 /. X'1'<br />
<strong>CA</strong>JDEM3 39 /. /. /. /12.43 /12.43 /.<br />
<strong>CA</strong>JDEM3 4 /. /. /. /14.2 /14.2 /. X'1'<br />
<strong>CA</strong>JDEM4 4 /. /. /. /14.2 /14.3 /. X'1'<br />
DEMOHIST <strong>CA</strong>JINH1 4 /. /. /. /14.5 /14.5 /. X'1'<br />
DEMOHIST <strong>CA</strong>JINM1 4 /. /. /. /14.5 /14.1 /.4 X'1'<br />
DEMOHIST <strong>CA</strong>JINM2 4 /. /. /. /14.1 /14.15 /.4 X'1'<br />
DEMOHIST <strong>CA</strong>JINM3 4 /. /. /. /14.15 /14.19 /.4 X'1'<br />
DEMOHIST <strong>CA</strong>JINH2 4 /. /. /. /14.2 /14.22 /.2 X'1'<br />
DEMOHIST <strong>CA</strong>JINH3 4 /. /. /. /14.22 /14.23 /. X'1'<br />
DEMOHIST <strong>CA</strong>JINH4 4 /. /. /. /14.23 /14.24 /. X'1'<br />
DEMOHIST <strong>CA</strong>JINH5 4 /. /. /. /14.24 /14.25 /. X'1'<br />
DEMOHIST <strong>CA</strong>JINH6 4 /. /. /. /14.25 /14.27 /.2 X'1'<br />
DEMOHIST <strong>CA</strong>JINH7 4 /. /. /. /14.27 /14.28 /.1 X'1'<br />
DEMOTRCK <strong>CA</strong>JIND1 4 /. /. /. /14.28 /14.29 /. X'1'<br />
DEMOTRCK <strong>CA</strong>JIND2 4 /. /. /. /14.29 /14.31 /.1 X'1'<br />
DEMOTRCK <strong>CA</strong>JING1 4 /. /. /. /14.32 /14.35 /.2 X'1'<br />
DEMOTRCK <strong>CA</strong>JING2 4 /. /. /. /14.35 /14.37 /.2 X'1'<br />
DEMOTRCK <strong>CA</strong>JINS1 4 /. /. /. /14.37 /14.39 /.2 X'1'<br />
DEMOTRCK <strong>CA</strong>JINS6 4 /. /. /. /14.39 /14.42 /.2 X'1'<br />
DEMOTRCK <strong>CA</strong>JINTD1 4 /. /. /. /14.42 /14.47 /.4 X'1'<br />
DEMOTRCK <strong>CA</strong>JINT1 4 /. /. /. /14.47 /14.49 /.1 X'1'<br />
DEMOTRCK <strong>CA</strong>JINT2 4 /. /. /. /14.49 /14.54 /.5 X'1'<br />
DEMOTRCK <strong>CA</strong>JINT3 4 /. /. /. /14.54 /14.59 /.4 X'1'<br />
DEMOTRCK <strong>CA</strong>JINT4 4 /. /. /. /14.59 /15.1 /.2 X'1'<br />
DEMOTRCK <strong>CA</strong>JINT6 4 /. /. /. /15.1 /15.4 /.2 X'1'<br />
DEMOTRCK <strong>CA</strong>JINT7 4 /. /. /. /15.5 /15.8 /.3 X'1'<br />
Use the following optional keywords to limit the report to selected<br />
in<strong>for</strong>mation:<br />
To<br />
Limit the report to one<br />
job or a group of jobs whose names<br />
begin with the same characters<br />
schedule or a group of schedules whose<br />
names begin with the same characters<br />
Specify<br />
JOB=jname]jname*<br />
SCHEDULE=sname]sname*<br />
station<br />
Report on<br />
a date other than today<br />
more than one day<br />
jobs that were scheduled <strong>for</strong> a given<br />
date regardless of when they abended<br />
STATION=nn<br />
FROMDATE=mmddyy|ddmmyy<br />
FOR=nn<br />
SDATE=mmddyy|ddmmyy<br />
5-26 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.4 Batch Versions of Online Reports<br />
To<br />
Start the report later than AUTOTIM<br />
Specify<br />
FROMTIME=hhmm<br />
JCL that produces this report requires the inclusion of a work file. A generic<br />
version of this work file is contained on the installation tape. The file's name is<br />
Z.<strong>CA</strong>WORK1. Tailor this file to your installation's needs and ensure that it is<br />
accessible be<strong>for</strong>e running the JCL that produces the report. To produce the<br />
Completed <strong>Job</strong> Schedule report, submit the following JCL with your job<br />
statement:<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT COMPLETE<br />
/<br />
/&<br />
The following in<strong>for</strong>mation is included on the Completed <strong>Job</strong> Schedule report:<br />
PLANNED START DATE<br />
SCHEDULE NAME<br />
JOB NAME<br />
JOB ST<br />
PLANNED START TIME<br />
PLANNED END TIME<br />
PLANNED ELAPSED TIME<br />
ACTUAL START TIME<br />
ACTUAL END TIME<br />
ACTUAL ELAPSED TIME<br />
TERM CODE<br />
The date the job was selected to run.<br />
The schedule the completed job was assigned<br />
to.<br />
The jobs that completed during the period<br />
reported on.<br />
The station where these jobs were scheduled.<br />
The EARLIEST START TIME, if one was<br />
defined <strong>for</strong> the job.<br />
The COMPLETION DEADLINE TIME, if one<br />
was defined.<br />
The AVERAGE TIME, if one was defined <strong>for</strong><br />
the job.<br />
The time the job actually started.<br />
The time the job actually ended.<br />
The time it actually took to process the job.<br />
The completion code.<br />
5.4.3.1 Example 1<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT COMPLETE,FROMDATE=213,FOR=28<br />
/<br />
/&<br />
Chapter 5. Reports 5-27
5.4 Batch Versions of Online Reports<br />
5.4.3.2 Example 2<br />
5.4.3.3 Example 3<br />
5.4.3.4 Example 4<br />
5.4.3.5 Example 5<br />
The preceding JCL will list all the jobs that completed during the month of<br />
February.<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT COMPLETE,FROMTIME=1,JOB=PROD<br />
/<br />
/&<br />
The preceding JCL will list the jobs starting with 'PROD' that completed today<br />
from 1:00 a.m.<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT COMPLETE,SCHEDULE=DAILY1<br />
/<br />
/&<br />
The preceding JCL will list all the jobs in schedule 'DAILY1' that completed<br />
today.<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT COMPLETE,STATION=36<br />
/<br />
/&<br />
The preceding JCL will list all the jobs <strong>for</strong> station 36 that completed today. In<br />
this example, station 36 is a pre-CPU station.<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT COMPLETE FROMDATE=1153<br />
/<br />
/&<br />
The preceding JCL will produce a report <strong>for</strong> any job that completed on<br />
10/15/03.<br />
5-28 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.4 Batch Versions of Online Reports<br />
5.4.3.6 Example 6<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT COMPLETE SDATE=1153<br />
/<br />
/&<br />
5.4.4 Date Translation Report<br />
The preceding JCL will produce a report <strong>for</strong> any job that was scheduled to run<br />
on 10/15/03 and completed on the same date or later.<br />
The Date Translation report shows which Gregorian calendar dates, workdays,<br />
holidays, and accounting periods are true <strong>for</strong> a specific date and datetable<br />
combination. We recommend that you run this report to verify that the<br />
selection criteria keywords you use in your schedule and job criteria<br />
definitions are correct. In some cases, this report can be interpreted as showing<br />
which selection criteria keywords are false. In either case, the values on this<br />
report are always calculated based upon the combination of Gregorian<br />
calendar conditions, a specific datetable definition, and the actual date the<br />
report is run. When schedules and jobs do not use calendars <strong>for</strong> selection, this<br />
report will show which selection criteria keywords they can use on a specific<br />
day to be selected.<br />
Chapter 5. Reports 5-29
5.4 Batch Versions of Online Reports<br />
COMPUTER ASSOCIATES DATE TRANSLATION REPORT DATETRAN PAGE 1<br />
<strong>CA</strong>-SCHEDULER 7.3 39SHESA<br />
4 SEP 23<br />
15.53.49<br />
SIMULATION DATE 8 SEP 23<br />
JULIAN DATE=3251<br />
GREGORIAN DATE=9/8/3<br />
TABLE NAME=DATETAB<br />
DAY OF WEEK=FRI WEEK-DAY=YES WEEK-END=NO MWF=YES TT=NO NTH DAY OF MONTH=FRI2 FRI-4 NEGATIVE DAY OF MONTH=DOM-23<br />
WEEK OF MONTH=2ND-WEEK WEEK OF YEAR=WOY36 WOY-18 DAYS IN MONTH=3 LEAP-YEAR=NO<br />
DAY1OF2=NO DAY2OF2=YES<br />
DAY1OF3=NO DAY2OF3=NO DAY3OF3=YES<br />
DAY1OF4=NO DAY2OF4=YES DAY3OF4=NO DAY4OF4=NO<br />
DAY1OF5=NO DAY2OF5=NO DAY3OF5=NO DAY4OF5=NO DAY5OF5=YES<br />
DAY1OF6=NO DAY2OF6=NO DAY3OF6=NO DAY4OF6=NO DAY5OF6=NO DAY6OF6=YES<br />
WEEK1OF2=YES WEEK2OF2=NO<br />
WEEK1OF3=YES WEEK2OF3=NO WEEK3OF3=NO<br />
WEEK1OF4=YES WEEK2OF4=NO WEEK3OF4=NO WEEK4OF4=NO<br />
WEEK1OF5=NO WEEK2OF5=NO WEEK3OF5=YES WEEK4OF5=NO WEEK5OF5=NO<br />
WEEK1OF6=YES WEEK2OF6=NO WEEK3OF6=NO WEEK4OF6=NO WEEK5OF6=NO WEEK6OF6=NO<br />
WORK-DAY=YES WORK DAY OF WEEK=WDOW5 WDOW-1 WORK DAY OF MONTH=WDOM6 WDOM-16 WORK DAY OF YEAR=18 -81<br />
WORK WEEK OF MONTH=WWOM2 WWOM-4<br />
WORK WEEK OF YEAR=WWOY36 WWOY-17<br />
RD1=+5 -16 RD2=+5 -16 RD3=+5 -17 RD4=+4 -18 RD5=+3 -19 RD6=+2 -2 RD7=+1 -21 RD8=+ -<br />
RD9=+22 -1 RD1=+21 -1 RD11=+2 -1 RD12=+2 -2 RD13=+2 -3 RD14=+19 -4 RD15=+18 -5 RD16=+17 -6<br />
RD17=+16 -6 RD18=+15 -6 RD19=+15 -7 RD2=+15 -8 RD21=+14 -9 RD22=+13 -1 RD23=+12 -11 RD24=+11 -11<br />
RD25=+1 -11 RD26=+1 -12 RD27=+1 -13 RD28=+9 -14 RD29=+8 -15 RD3=+7 -16 RD31=+6<br />
HDAY=NO<br />
HDAY-1=NO HDAY-2=NO HDAY-3=NO HDAY-4=NO HDAY-5=YES HDAY-6=YES HDAY-7=NO<br />
HDAY1 =YES HDAY2 =YES HDAY3 =NO HDAY4 =NO HDAY5 =NO HDAY6 =NO HDAY7 =NO HDAY8 =YES HDAY9 =YES HDAY1=NO<br />
HDAY11=NO HDAY12=NO HDAY13=NO HDAY14=NO HDAY15=YES HDAY16=YES HDAY17=NO HDAY18=NO HDAY19=NO HDAY2=NO<br />
HDAY21=NO HDAY22=YES HDAY23=YES HDAY24=NO HDAY25=NO HDAY26=NO HDAY27=NO HDAY28=NO HDAY29=YES HDAY3=YES<br />
HDAY31=NO<br />
A-ACCOUNTING DAY=YES DAY OF MONTH=ADOM6 ADOM-16 DAY OF YEAR=18 -81 WEEK OF MONTH=AWOM2 AWOM-4 MONTH OF YEAR=AMOY9 AMOY-4<br />
X-ACCOUNTING DAY=YES DAY OF MONTH=XDOM6 XDOM-16 DAY OF YEAR=18 -81 WEEK OF MONTH=XWOM2 XWOM-4 MONTH OF YEAR=XMOY9 XMOY-4<br />
The Date Translation report will also display valid accounting day conditions<br />
based upon the seven-byte datetable name. This means that all defined<br />
variations (prefixes) of the named datetable will be analyzed at the end of the<br />
report.<br />
JCL that produces this report requires the inclusion of a work file. A generic<br />
version of this work file is contained on the installation tape. The file's name is<br />
Z.<strong>CA</strong>WORK1. Tailor this file to your installation's needs and ensure that it is<br />
accessible be<strong>for</strong>e running the JCL that produces the report. To produce the<br />
report, submit the following JCL with your job statement :<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT DATETRAN<br />
/<br />
/&<br />
All datetables are translated <strong>for</strong> today only unless you use these optional<br />
keywords to limit the report to selected in<strong>for</strong>mation:<br />
5-30 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.4 Batch Versions of Online Reports<br />
To<br />
Limit the report to<br />
one specific datetable<br />
the datetable referenced by this schedule<br />
the datetable referenced by the schedule<br />
this job is assigned to<br />
Report on<br />
a date other than today<br />
more than one day<br />
Start the report at a time other than AUTOTIM<br />
Specify<br />
TABLE-tablename<br />
SCHEDULE=sname<br />
JOB=jname<br />
FROMDATE=mmddyy|ddmmyy<br />
FOR=nn<br />
FROMTIME=hhmm<br />
5.4.5 File Status Report<br />
A Date Translation Report may also be produced while running <strong>Unicenter</strong><br />
<strong>CA</strong>-<strong>Scheduler</strong> in simulation mode. See the topic Simulation Reports in this<br />
chapter <strong>for</strong> explanations of the in<strong>for</strong>mation found on this report.<br />
The File Status report shows the physical DASD status <strong>for</strong> the named file. The<br />
in<strong>for</strong>mation on the left side of the report is static and does not change unless<br />
the file is re<strong>for</strong>matted. You can request in<strong>for</strong>mation pertaining to the job<br />
master database, tracking file, staging library, documentation library, or<br />
<strong>Unicenter</strong> <strong>CA</strong>-Driver procedure library.<br />
F I L E S T A T U S R E P O R T<br />
DDNAME :<strong>CA</strong>IJMST FILE ID :SCHEDULER.MASTER<br />
VOLUME SERIAL :VOL12C SPACE ALLO<strong>CA</strong>TED :7512 JOBS<br />
DASD TYPE :338 SPACE AVAILABLE :3512 JOBS<br />
CISIZE :6144 REORG RECOMENDED:NO<br />
LOWER EXTENT LIMIT:185 SHARED FILE :YES<br />
UPPER EXTENT LIMIT:23 14<br />
CROSS-CPU ENQUED:NO<br />
FORMATTED BY : LAST ACCESSED BY:<br />
JOB NAME :RESTORE JOB NAME :S71E<br />
STEP NAME :FORM STEP NAME :S71E<br />
PROC NAME : PROC NAME :<br />
PHYSI<strong>CA</strong>L CPUID :FF22389381 PHYSI<strong>CA</strong>L CPUID:FF22389381<br />
DATE :4 OCT 23 DATE :6 NOV 23<br />
TIME : 6.41.12 TIME :11.53.44<br />
There are no keywords associated with this report.<br />
To produce a file status report <strong>for</strong> the job master database, submit the<br />
following JCL with your job statement:<br />
// JOB <strong>CA</strong>JUTIL<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT <strong>CA</strong>IJMST<br />
/<br />
/&<br />
To produce a file status report <strong>for</strong> the tracking file, submit the following JCL<br />
with your job statement:<br />
Chapter 5. Reports 5-31
5.4 Batch Versions of Online Reports<br />
// JOB <strong>CA</strong>JUTIL<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT <strong>CA</strong>IJTRK<br />
/<br />
/&<br />
To produce a file status report <strong>for</strong> the staging library, submit the following JCL<br />
with your job statement:<br />
// JOB <strong>CA</strong>JUTIL<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT <strong>CA</strong>IJSTG<br />
/<br />
/&<br />
To produce a file status report <strong>for</strong> the documentation library, submit the<br />
following JCL with your job statement:<br />
// JOB <strong>CA</strong>JUTIL<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT <strong>CA</strong>IJDCM<br />
/<br />
/&<br />
To produce a file status report <strong>for</strong> the <strong>Unicenter</strong> <strong>CA</strong>-Driver procedure library,<br />
submit the following JCL with your job statement:<br />
// JOB <strong>CA</strong>JUTIL<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT <strong>CA</strong>IJDRV<br />
/<br />
/&<br />
The following in<strong>for</strong>mation is included on the File Status Report:<br />
DDNAME<br />
VOLUME SERIAL<br />
DASD TYPE<br />
CISIZE<br />
LOWER EXTENT LIMIT<br />
UPPER EXTENT LIMIT<br />
FORMATTED BY<br />
JOB NAME<br />
STEP NAME<br />
PROC NAME<br />
PHYSI<strong>CA</strong>L CPUID<br />
DATE<br />
TIME<br />
The ddname used to allocate the file as specified in<br />
the <strong>CA</strong>IJGEN macro generation options.<br />
The volume serial where the file actually resides.<br />
The actual DASD type where the file resides.<br />
The control interval size used to <strong>for</strong>mat the file.<br />
The starting disk address <strong>for</strong> the file in cchhr<br />
<strong>for</strong>mat.<br />
The ending disk address <strong>for</strong> the file in cchhr<br />
<strong>for</strong>mat.<br />
In<strong>for</strong>mation about the job that initially <strong>for</strong>matted<br />
the file.<br />
The job name used to <strong>for</strong>mat the file.<br />
The program used to <strong>for</strong>mat data set.<br />
The PROC name used to <strong>for</strong>mat the file.<br />
The physical CPU ID used to <strong>for</strong>mat the file.<br />
The date that the file was <strong>for</strong>matted.<br />
The time that the file was <strong>for</strong>matted.<br />
5-32 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.4 Batch Versions of Online Reports<br />
Most of the in<strong>for</strong>mation on the right side of the report is dynamic and shows<br />
the current status of the file:<br />
FILE ID<br />
SPACE ALLO<strong>CA</strong>TED<br />
SPACE AVAILABLE<br />
REORG RECOMENDED<br />
SHARED FILE<br />
CROSS-CPU ENQUED<br />
The name used on the ID=id keyword of the<br />
FORMAT command.<br />
The amount of DASD space allocated to the file in<br />
terms of the number of jobs; that is, the total<br />
number of jobs that can be defined on the space<br />
allocated. If you expect to have more jobs, you<br />
should increase the amount of disk space allocated<br />
to the file.<br />
The amount of contiguous DASD space available in<br />
terms of the number of jobs. As more jobs are<br />
added, this number will decrease. If jobs are<br />
deleted, it may not accurately reflect the available<br />
space. When this number approaches zero, a<br />
REORG will be recommended.<br />
Recommends whether to per<strong>for</strong>m a REORG on the<br />
file. If after a REORG, the amount of space<br />
available does not increase, you should probably<br />
allocate more space to the file.<br />
Indicates whether the file is shared among multiple<br />
CPUs.<br />
Indicates whether the file is currently enqueued by<br />
one CPU in a multi-CPU environment. If so, the<br />
LAST ACCESSED BY in<strong>for</strong>mation shows the CPU<br />
and the job or user that is currently holding the<br />
enqueue. If that job or user no longer exists on that<br />
CPU, (such as might happen after a system crash)<br />
you should per<strong>for</strong>m a FORCEDEQ on the file to<br />
clear the enqueue.<br />
LAST ACCESSED BY<br />
JOB NAME<br />
STEP NAME<br />
PROC NAME<br />
PHYSI<strong>CA</strong>L CPUID<br />
DATE<br />
TIME<br />
The job or user that last<br />
accessed the file.<br />
The job name used.<br />
The program or CICS<br />
TASKID<br />
The PROC name used.<br />
The physical CPU ID<br />
where the job is running.<br />
The date that the job<br />
accessed the file.<br />
The time that the job<br />
accessed the file.<br />
Chapter 5. Reports 5-33
5.4 Batch Versions of Online Reports<br />
5.4.6 <strong>Job</strong> Average Report<br />
The <strong>Job</strong> Average report lists the average time and I/O in<strong>for</strong>mation <strong>for</strong> the last<br />
seven successful executions of all <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> controlled jobs. It is<br />
a high per<strong>for</strong>mance report since no sorting is per<strong>for</strong>med. <strong>Job</strong>s are listed in<br />
alphabetical order. You may limit the report to one job or a group of jobs.<br />
COMPUTER ASSOCIATES JOB AVERAGE REPORT PAGE 1<br />
JOB AVG AVG AVG AVG AVG<br />
NAME JNO ST ELAPSED CPU TIME DISK I/O TAPE I/O OTHER I/O<br />
CICSACC 1 39 /.7 /. 13 44 <br />
CICSACC 1 4 /9.14 /.5 2763 <br />
CICSASAP 1 4 /.5 /.4 16 <br />
CICSASAP 2 4 /.4 /.4 13 <br />
CICSASAP 3 4 /.5 /.4 16 <br />
CICSASAP 4 4 /.4 /.4 13 <br />
CICSBAX 1 39 /.1 /. 47 <br />
CICSBAX 1 4 /14.4 /.34 3278 <br />
CICSBAX 2 4 /6.59 /.6 31783 <br />
CICSBAXA 1 39 /.54 /. <br />
CICSBAXA 1 4 /. /. 67 <br />
CICSBAXB 1 4 /.19 /. 679 433 <br />
To<br />
Limit the report to one job or a group of jobs<br />
Specify<br />
Name=jname|generic jname<br />
JCL that produces this report requires the inclusion of a work file. A generic<br />
version of this work file is contained on the installation tape. The file's name is<br />
Z.<strong>CA</strong>WORK1. Tailor this file to your installation's needs and ensure that it is<br />
accessible be<strong>for</strong>e running the JCL that produces the report. To produce a<br />
report listing the average time and I/O in<strong>for</strong>mation <strong>for</strong> all <strong>Unicenter</strong><br />
<strong>CA</strong>-<strong>Scheduler</strong> controlled jobs, submit the following JCL with your job<br />
statement:<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT JOBAVG<br />
/<br />
/&<br />
The following in<strong>for</strong>mation is included on the <strong>Job</strong> Average Report:<br />
JOB NAME<br />
JNO<br />
ST<br />
AVG ELAPSED<br />
The job name.<br />
The <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> job number.<br />
The station ID.<br />
The average elapsed time in DD/hh.mm <strong>for</strong>mat.<br />
AVG CPU TIME The average CPU time in DD/hh.mm <strong>for</strong>mat.<br />
5-34 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.4 Batch Versions of Online Reports<br />
AVG DISK I/O The average number of EXCPs on DASD devices.<br />
AVG TAPE I/O The average number of EXCPs on TAPE devices.<br />
AVG OTHER I/O The average number of EXCPs on other devices.<br />
5.4.6.1 Example 1<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT JOBAVG NAME=JOB1<br />
/<br />
/&<br />
5.4.6.2 Example 2<br />
The preceding JCL will list the average time and I/O in<strong>for</strong>mation <strong>for</strong> JOB1.<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT JOBAVG NAME=JOB<br />
/<br />
/&<br />
5.4.7 <strong>Job</strong> History Report<br />
The preceding JCL will list the average time and I/O in<strong>for</strong>mation <strong>for</strong> all jobs<br />
that begin with the letters JOB.<br />
The <strong>Job</strong> History report lists the last seven executions <strong>for</strong> all <strong>Unicenter</strong><br />
<strong>CA</strong>-<strong>Scheduler</strong>-controlled jobs. It is a high per<strong>for</strong>mance report since no sorting<br />
is per<strong>for</strong>med. <strong>Job</strong>s are listed in alphabetical order. You may limit the report to<br />
one job or a group of jobs.<br />
Chapter 5. Reports 5-35
5.4 Batch Versions of Online Reports<br />
COMPUTER ASSOCIATES JOB HISTORY REPORT PAGE 1<br />
JOB SCHEDULE SCHEDULED START START END END POWER COMP.<br />
NAME JNO ST NAME RC DATE TIME DATE TIME DATE TIME JOBNO CODE<br />
<strong>CA</strong>JDEM1 1 4 DEMO 84 2/24 1.23 2/24 1.23 2/24 1.23 1 X'1'<br />
DEMO 88 3/3 12.41 3/3 12.42 3/3 12.42 742 X'1'<br />
<strong>CA</strong>JDEM2 1 4 DEMO 1 2/22 13.42 PENDING<br />
DEMO 1 2/24 1.23 2/24 1.24 2/24 1.24 11 X'1'<br />
DEMO 1 3/3 12.41 3/3 12.42 3/3 12.42 745 X'1'<br />
<strong>CA</strong>JDEM3 1 39 DEMO 84 2/22 13.42 PENDING<br />
DEMO 88 3/3 12.41 3/3 12.43 3/3 12.43<br />
<strong>CA</strong>JDEM3 1 4 DEMO 1 2/22 13.42 PENDING<br />
DEMO 1 3/3 12.41 3/3 12.43 3/3 12.43 747 X'2'<br />
DEMO 1 3/3 12.41 3/3 14.2 3/3 14.2 826 X'1'<br />
<strong>CA</strong>JDEM4 1 4 DEMO 1 2/22 13.42 PENDING<br />
DEMO 1 3/3 12.41 3/3 14.2 3/3 14.3 827 X'1'<br />
<strong>CA</strong>JIND1 1 4 DEMOTRCK 1 2/22 13.42<br />
PENDING<br />
DEMOTRCK 1 2/24 1.23 2/24 11.22 2/24 11.23 33 X'1'<br />
<strong>CA</strong>JIND2 1 4 DEMOTRCK 1 2/22 13.42<br />
PENDING<br />
DEMOTRCK 1 2/24 1.23 2/24 11.23 2/24 11.25 34 X'1'<br />
<strong>CA</strong>JING1 1 4 DEMOTRCK 1 2/22 13.42<br />
PENDING<br />
DEMOTRCK 1 2/24 1.23 2/24 11.25 2/24 11.27 35 X'1'<br />
<strong>CA</strong>JING2 1 4 DEMOTRCK 1 2/22 13.42<br />
PENDING<br />
DEMOTRCK 1 2/24 1.23 2/24 11.27 2/24 11.29 36 X'1'<br />
<strong>CA</strong>JINH1 1 4 DEMOHIST 1 2/22 13.42<br />
PENDING<br />
DEMOHIST 1 2/24 1.23 2/24 1.47 2/24 1.5 21 X'1'<br />
<strong>CA</strong>JINH2 1 4 DEMOHIST 1 2/22 13.42<br />
PENDING<br />
DEMOHIST 1 2/24 1.23 2/24 11.1 2/24 11.13 27 X'1'<br />
<strong>CA</strong>JUCMD1 1 4 <strong>CA</strong>JUCMD 1 3/1 17.34<br />
<strong>CA</strong>JUCMD 1 3/1 17.44<br />
118<br />
<strong>CA</strong>JUCMD 1 3/2 15.56 3/2 15.57 3/2 15.58 51 X'1'<br />
<strong>CA</strong>JUCMD2 1 4 <strong>CA</strong>JUCMD 1 3/1 17.34<br />
PENDING<br />
<strong>CA</strong>JUCMD 1 3/1 17.44<br />
PENDING<br />
JOB11 1 39 SCHD1 1 3/1 17.34 3/1 17.34<br />
SCHD1 1 3/2 14.25 3/2 14.25 3/2 14.26<br />
SCHD1 1 3/2 15.56 3/2 15.56 3/2 15.58<br />
JOB11 1 4 SCHD1 1 3/1 17.47 PENDING<br />
SCHD1 1 3/2 14.25 3/2 14.27 3/2 14.27 37 X'FF'<br />
SCHD1 1 3/2 15.56 3/2 15.58 3/2 15.59 52 X'1'<br />
JOB12 1 2 SCHD1 1 3/1 17.34 3/1 17.34<br />
SCHD1 1 3/2 14.25 3/2 14.25 3/2 14.26<br />
SCHD1 1 3/2 15.56 3/2 15.56 3/2 15.58<br />
JOB12 1 4 SCHD1 1 3/1 17.34 PENDING<br />
SCHD1 1 3/2 15.56 3/2 16.3 3/2 16.5 59 X'1'<br />
JOB12 1 6 SCHD1 1 3/1 17.34 PENDING<br />
SCHD1 1 3/2 15.56 3/2 16.5<br />
JOB13 1 4 SCHD1 1 3/1 17.44 PENDING<br />
SCHD1 1 3/2 15.56 3/3 12.36 3/3 12.36 735 X'1'<br />
JOB13 1 6 SCHD1 1 3/1 17.34 PENDING<br />
JOB21 1 4 SCHD2 1 3/1 17.44 PENDING<br />
SCHD2 1 3/2 14.25<br />
SCHD2 1 3/2 15.56 3/2 15.59 3/2 16.1 54 X'1'<br />
JOB22 1 4 SCHD2 1 2/24 16.28 PENDING<br />
SCHD2 1 2/24 16.44 PENDING<br />
SCHD2 1 2/24 16.52 2/24 16.55 2/24 16.56 136 X'1'<br />
SCHD2 1 3/2 14.25 PENDING<br />
SCHD2 1 3/2 15.56 3/2 16.5 3/2 16.7 61 X'1'<br />
JOB23 1 4 SCHD2 1 3/1 17.44 PENDING<br />
SCHD2 1 3/1 17.47 PENDING<br />
SCHD2 1 3/2 15.56 3/3 12.36 3/3 12.38 736 X'1'<br />
JOB33 1 4 SCHD3 1 3/1 17.34 PENDING<br />
SCHD3 1 3/1 17.44 PENDING<br />
SCHD3 1 3/1 17.47 PENDING<br />
SCHD3 1 3/1 17.47 PENDING<br />
To<br />
Limit the report to one job or a group of jobs<br />
Specify<br />
Name=jname|generic jname<br />
JCL that produces this report requires the inclusion of a work file. A generic<br />
version of this work file is contained on the installation tape. The file's name is<br />
Z.<strong>CA</strong>WORK1. Tailor this file to your installation's needs and ensure that it is<br />
accessible be<strong>for</strong>e running the JCL that produces the report. To list the last<br />
5-36 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.4 Batch Versions of Online Reports<br />
seven executions of all <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong>-controlled jobs, submit the<br />
following JCL with your job statement:<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT JOBHIST<br />
/<br />
/&<br />
The following in<strong>for</strong>mation is included on the <strong>Job</strong> History Report:<br />
JOB NAME<br />
JNO<br />
ST<br />
SCHEDULE NAME<br />
RC<br />
SCHEDULED DATE<br />
SCHEDULED TIME<br />
START DATE<br />
START TIME<br />
END DATE<br />
END TIME<br />
POWER JOBNO<br />
COMP. CODE<br />
The job name.<br />
The <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> job number.<br />
The station ID.<br />
The schedule to which the job was assigned.<br />
The selection criteria reason code.<br />
The date that the job was scheduled to run.<br />
The time that the job was scheduled to run.<br />
The date that the job actually started.<br />
The time that the job actually started.<br />
The date that the job actually completed.<br />
The time that the job actually completed.<br />
The POWER assigned job number<br />
The job completion code or submit fail code<br />
(PENDING) indicates that the job did not complete<br />
on the day it was scheduled to run (backlogged).<br />
5.4.7.1 Example 1<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT JOBHIST NAME=JOB1<br />
/<br />
/&<br />
The preceding JCL lists the last seven executions of JOB1.<br />
Chapter 5. Reports 5-37
5.4 Batch Versions of Online Reports<br />
5.4.7.2 Example 2<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT JOBHIST NAME=JOB<br />
/<br />
/&<br />
5.4.8 Successor Chain List<br />
This report lists the last seven executions of all jobs that begins with the letters<br />
JOB.<br />
The Successor Chain List report may be produced <strong>for</strong> a job or a schedule. It<br />
includes the job (or schedule) and its immediate and global successors. Four<br />
REPORT command objects may be used to produce the list.<br />
COMPUTER ASSOCIATES SUCCESSOR CHAIN PAGE 1<br />
1 PBC7A 1 4 BCBDACC<br />
2 PBC1A 1 4 BCBDACC<br />
3 PBC12A 1 4 BCBDACC<br />
4 PBC11A 1 4 BCBDACC<br />
5 PBC12A 1 4 BCBDACC<br />
6 PBC7A 2 4 BCBDACC<br />
7 PBC122A 1 4 BCBDACC<br />
8 PBC124A 1 4 BCBDACC<br />
9 PBC128A 1 4 BCBDACC<br />
1 PBC14A 1 4 BCBDACC<br />
11 PBC142A 1 4 BCBDACC<br />
12 PBC7A 3 4 BCBDACC<br />
13 PBC998A 2 4 BCBDACC<br />
7 PBC128A 1 4 BCBDACC DEADLOCK <br />
To produce the successor chain list <strong>for</strong> a job out of the job master database,<br />
submit the following JCL with your job statement:<br />
// JOB <strong>CA</strong>JUTIL<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT JOBCHAIN NAME=jname<br />
/<br />
/&<br />
To produce the successor chain list <strong>for</strong> a schedule out of the job master<br />
database, submit the following JCL with your job statement:<br />
// JOB <strong>CA</strong>JUTIL<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT SCDCHAIN NAME=sname<br />
/<br />
/&<br />
To produce the successor chain list <strong>for</strong> a job out of the tracking file, submit the<br />
following JCL with your job statement:<br />
5-38 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.4 Batch Versions of Online Reports<br />
// JOB <strong>CA</strong>JUTIL<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT CJOBCHAN NAME=jname<br />
/<br />
/&<br />
To produce the successor chain list <strong>for</strong> a schedule out of the tracking file,<br />
submit the following JCL with your job statement:<br />
// JOB <strong>CA</strong>JUTIL<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT CSCDCHAN NAME=sname<br />
/<br />
/&<br />
A job name or schedule name is always required. A job name may be qualified<br />
by JNO=nn, STation=nn, or Schedule=sname.<br />
REPORT JOBCHAIN and REPORT SCDCHAIN accept the DATE=date<br />
keyword.<br />
■<br />
■<br />
if the DATE=date keyword is specified, the list is produced <strong>for</strong> the job (or<br />
schedule) and <strong>for</strong> only those global successors that would be scheduled on<br />
that date.<br />
If DATE=date keyword is NOT specified, the list is produced <strong>for</strong> the job<br />
(or schedule) and <strong>for</strong> all global successors defined on the job master<br />
database.<br />
REPORT CJOBCHAN and REPORT CSCDCHAN produce the list <strong>for</strong> the job<br />
(or schedule) and <strong>for</strong> the global successors that are currently on the tracking<br />
file. The current status is also included on the list.<br />
The list is indented left to right, according to the successor level (indicated by<br />
the number in positions 1-3). The indentation is limited by the panel (page)<br />
size and repeats every 20 levels. The rightmost area of the panel may display<br />
the status of the job (or schedule). If a successor loop occurs, the list will stop<br />
there and display an error message: ** DEADLOCK **. A job is identified by its<br />
name, job number, station ID, and schedule name, while a schedule is<br />
identified by its name preceded by dashes.<br />
Subchains <strong>for</strong> a job or schedule are repeated every time it is referenced on a<br />
criteria record <strong>for</strong> the named job or schedule or any of its successors. Use the<br />
REPEAT=NO keyword to produce the report without repeated subchains. The<br />
subchain is listed once, and any subsequent references to a subchain are<br />
indicated by '** REPEAT **' on the right side of the report.<br />
Use the LEVEL=nnn keyword to limit the report to 'nnn' levels.<br />
Chapter 5. Reports 5-39
5.4 Batch Versions of Online Reports<br />
5.4.8.1 Example 1<br />
// JOB <strong>CA</strong>JUTIL<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT JOBCHAIN NAME=JOB1<br />
/<br />
/&<br />
5.4.8.2 Example 2<br />
The preceding JCL produces the global successor chain list <strong>for</strong> job JOB1.<br />
// JOB <strong>CA</strong>JUTIL<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT JOBCHAIN NAME=JOB1,DATE=1153<br />
/<br />
/&<br />
5.4.8.3 Example 3<br />
The preceding JCL produces the global successor chain list <strong>for</strong> job JOB1 and<br />
only those successors that would be scheduled <strong>for</strong> 10/15/03.<br />
// JOB <strong>CA</strong>JUTIL<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT SCDCHAIN NAME=SCD1<br />
/<br />
/&<br />
5.4.8.4 Example 4<br />
The preceding JCL produces the global successor chain list <strong>for</strong> schedule SCD1.<br />
// JOB <strong>CA</strong>JUTIL<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT SCDCHAIN NAME=SCD1,DATE=1153<br />
/<br />
/&<br />
5.4.8.5 Example 5<br />
The preceding JCL produces the global successor chain list <strong>for</strong> schedule SCD1<br />
and only those successors that would be scheduled <strong>for</strong> 10/15/03.<br />
// JOB <strong>CA</strong>JUTIL<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT CJOBCHAN NAME=JOB1<br />
/<br />
/&<br />
5-40 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.4 Batch Versions of Online Reports<br />
5.4.8.6 Example 6<br />
The preceding JCL produces the global successor chain list <strong>for</strong> job JOB1, only if<br />
it is currently on the tracking file.<br />
// JOB <strong>CA</strong>JUTIL<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT CSCDCHAN NAME=SCD1<br />
/<br />
/&<br />
5.4.8.7 Example 7<br />
The preceding JCL produces the global successor chain list <strong>for</strong> schedule SCD1,<br />
only if it is currently on the tracking file.<br />
// JOB <strong>CA</strong>JUTIL<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT JOBCHAIN NAME=JOB1,REPEAT=NO<br />
/<br />
/&<br />
5.4.8.8 Example 8<br />
The preceding JCL produces the global successor chain list <strong>for</strong> job JOB1<br />
without repeating subchains.<br />
// JOB <strong>CA</strong>JUTIL<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REPORT CSCDCHAN NAME=SCD1,LEVEL=2<br />
/<br />
/&<br />
The preceding JCL produces a list of immediate successors to schedule SCD1<br />
that are currently on the tracking file.<br />
Chapter 5. Reports 5-41
5.5 Tapepull Commands<br />
5.5 Tapepull Commands<br />
5.5.1 TAPEPULL GROUP<br />
This topic describes the keywords and gives usage notes and examples <strong>for</strong> the<br />
TAPEPULL GROUP and TAPEPULL job.<br />
TAPEPULL GROUP<br />
Punch a job that will produce a list of tapes needed<br />
<strong>for</strong> a group of simulated jobs.<br />
5.5.1.1 Keywords<br />
Class=x<br />
LDest=userid<br />
POwerjnm=name<br />
PRTy=n<br />
RERun=YES/NO<br />
STAGe=YES|NO<br />
5.5.1.2 Keyword Descriptions<br />
Class=x<br />
Supply the CLASS parameter <strong>for</strong> the TAPEPULL LIST JOB statement that is<br />
submitted to POWER (a value from 0-9 or A-Z). If the parameter is omitted it<br />
will default to the POWER default value.<br />
LDest=userid<br />
Use this parameter to route the list output of TAPEPULL LIST JOB to the<br />
intended VM user ID. Use this field only <strong>for</strong> VM spooling.<br />
POwerjnm=name<br />
Use the TAPEPULL LIST JOB name you intend the job to be punched with. If<br />
no job name is supplied, the name is defaulted to TAPEPULL.<br />
PRTy=n<br />
Supply the PRI parameter <strong>for</strong> the TAPEPULL LIST JOB statement that is<br />
submitted to POWER (a value from 0-9). If the parameter is omitted it will<br />
default to the POWER default value.<br />
RERun=YES/NO<br />
Specify YES to have <strong>Unicenter</strong> <strong>CA</strong>-Driver jobs expanded with restart<br />
parameters defined on the Restart Parm Definition panel. No is the default.<br />
5-42 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.5 Tapepull Commands<br />
5.5.1.3 Usage Notes<br />
STAGe=YES|NO<br />
Specify YES to cause an attempt to retrieve the job's JCL from the <strong>Unicenter</strong><br />
<strong>CA</strong>-<strong>Scheduler</strong> staging file. Specify NO to retrieve the jobs' JCL from the<br />
master JCL library depending on the job submission in<strong>for</strong>mation defined <strong>for</strong><br />
the job even when there are copies of the JCL on the staging file. NO is the<br />
default and does not need be specified.<br />
Use the TAPEPULL command only after a SIMULATE TAPEPULL command.<br />
You must have either BrightStor <strong>CA</strong>-Dynam/T or <strong>CA</strong>-Tape Manager installed<br />
and active at your installation to use this command.<br />
When this command is issued, the JNI file produced by the SIMULATE<br />
TAPEPULL command is read (see the SIMULATE command's Usage Notes)<br />
and each job's JCL is retrieved according to the job submission in<strong>for</strong>mation<br />
defined <strong>for</strong> the job and simulated on the JNI file.<br />
Note: See copybook <strong>CA</strong>JNIWRK.Z <strong>for</strong> in<strong>for</strong>mation on the JNI file.<br />
The following LIBTYPES are not supported:<br />
■<br />
■<br />
<strong>VSE</strong>/POWER Reader Queue<br />
CMS<br />
5.5.1.4 Example<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
SIMULATE TAPEPULL,FD=9183,FOR=3<br />
TAPEPULL GROUP<br />
/<br />
/&<br />
The preceding example illustrates how the TAPEPULL keyword in the<br />
simulation is used together with the command TAPEPULL to punch the job<br />
that will print all the necessary tapes <strong>for</strong> the jobs that appear on the SIMEXEC<br />
report.<br />
Chapter 5. Reports 5-43
5.5 Tapepull Commands<br />
5.5.2 TAPEPULL JOB<br />
TAPEPULL JOB<br />
Punch a job that will produce a list of tapes needed <strong>for</strong><br />
that specific job.<br />
5.5.2.1 Keywords<br />
Name=jname<br />
Class=x<br />
JNo=nn<br />
LDest=userid<br />
POwerjnm=name<br />
PRTy=n<br />
Rerun=YES|NO<br />
Schedule=sname<br />
STAGe=YES|NO<br />
5.5.2.2 Keyword Descriptions<br />
Name=jname<br />
Specify the job (1- to 8-character job name) you want to include.<br />
Class=x<br />
Supply the CLASS parameter <strong>for</strong> the TAPEPULL LIST JOB statement that is<br />
submitted to POWER (a value from 0-9 or A-Z). If the parameter is omitted it<br />
will default to the POWER default value.<br />
JNo=nn<br />
Specify the job number (an integer from 1-99) if you want to include a<br />
particular occurrence of a job.<br />
LDest=userid<br />
Use this parameter to route the list output of TAPEPULL LIST JOB to the<br />
intended VM user ID. Use this field <strong>for</strong> VM spooling only.<br />
POwerjnm=name<br />
Use the TAPEPULL LIST JOB name you intend the job to be punched with. If<br />
no job name is supplied, the name is defaulted to TAPEPULL.<br />
PRTy=n<br />
Supply the PRI parameter <strong>for</strong> the TAPEPULL LIST JOB statement that is<br />
submitted to POWER (a value from 0-9). If the parameter is omitted it will<br />
default to the POWER default value.<br />
5-44 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.5 Tapepull Commands<br />
5.5.2.3 Usage Notes<br />
5.5.2.4 Example<br />
Rerun=YES|NO<br />
Specify YES to have <strong>Unicenter</strong> <strong>CA</strong>-Driver jobs expanded with restart<br />
parameters specified on the DRIVER Restart Parm Definition panel.<br />
Schedule=sname<br />
Specify the schedule name (1-8 characters) if the job has been defined in more<br />
than one schedule. If this is not specified, <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> will include<br />
the first job it finds with the specified job name.<br />
STAGe=YES|NO<br />
Specify YES to cause an attempt to retrieve the jobs' JCL from the <strong>Unicenter</strong><br />
<strong>CA</strong>-<strong>Scheduler</strong> staging file. Specify NO to retrieve the jobs' JCL from the<br />
master JCL library depending on the job submission in<strong>for</strong>mation defined <strong>for</strong><br />
the job even when there are copies of the JCL on the staging file. NO is the<br />
default and need not be specified.<br />
Use the TAPEPULL JOB command to produce a list of tapes needed <strong>for</strong> a<br />
specific job. You must have either BrightStor <strong>CA</strong>-Dynam/T or <strong>CA</strong>-Tape<br />
Manager installed and active at your installation to use this command.<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
TAPEPULL JOB N=JOB111,S=SCD11,RERUN=YES<br />
/<br />
/&<br />
The preceding example illustrates how the TAPEPULL command can be used<br />
to determine which tapes are required to rerun a job.<br />
Chapter 5. Reports 5-45
5.6 Simulation<br />
5.6 Simulation<br />
<strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> can be run in simulation mode. This means that jobs<br />
and schedules are selected <strong>for</strong> processing, but no jobs are actually run. Instead,<br />
simulation reports are produced showing what schedules and jobs would be<br />
selected and when and where each job would be processed. <strong>Job</strong>s are<br />
scheduled <strong>for</strong> processing on the simulation reports depending on their<br />
requirements and the availability of resources, in addition to the start times,<br />
deadlines, and predecessors that determine scheduling in a live run. More<br />
specifically, simulation scheduling is based on:<br />
These Values<br />
Defined By These<br />
Fields<br />
In These Records<br />
<strong>Job</strong> class and priority CLASS, PRIORITY <strong>Job</strong> base record<br />
Schedule base record<br />
Station resource record<br />
Start time EARLY TIME <strong>Job</strong> base record<br />
Schedule base record<br />
<strong>Job</strong> reason code record<br />
Schedule reason code record<br />
Average run time AVERAGE TIME <strong>Job</strong> base record<br />
<strong>Job</strong> reason code record<br />
<strong>Job</strong> history record<br />
Station resource record<br />
Maximum execution time MAXTIME <strong>Job</strong> base record<br />
Schedule base record<br />
<strong>Job</strong> reason code record<br />
Schedule reason code record<br />
Routing delay time<br />
between stations<br />
<strong>Job</strong> requirements:<br />
devices<br />
EXCPs<br />
CPU time<br />
Production start time and<br />
end time at each station<br />
Availability of shared and<br />
dedicated devices<br />
ROUTE DELAY<br />
DASDnn, TAPEnn,<br />
UNITnn<br />
DASD, TAPE, and<br />
UNIT<br />
EXCPS MAX CPU<br />
TIME<br />
PST and PET TIME<br />
DASDnn,TAPENN,<br />
UNIT RECORDnn<br />
<strong>Job</strong> resource record<br />
Station resource record<br />
<strong>Job</strong> resource record<br />
<strong>Job</strong> history record<br />
Station resource record<br />
Station resource record<br />
5-46 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.6 Simulation<br />
These Values<br />
Availability of units or<br />
partitions of the right<br />
class<br />
Defined By These<br />
Fields<br />
UNITnn, PARTnn<br />
In These Records<br />
Station resource record<br />
The panels and commands that define these records are described in the<br />
"Online Panels and Batch Maintenance" chapter.<br />
Note: The SKIP option, in the JBR, is not reflected in these reports.<br />
5.6.1 Summary of the Simulation Reports<br />
The following reports are generated <strong>for</strong> each day in the simulation period:<br />
Use This Report Report ID For In<strong>for</strong>mation On<br />
Date Translation Report DATETRAN What calendar, workday, and accounting<br />
criteria are true on any given date<br />
Schedules/<strong>Job</strong>s Selected For DDMMYY SELECTED Which schedules and jobs wi ll be selected<br />
<strong>for</strong> processing<br />
Resources Required For All <strong>Job</strong>s RESALL What resources are required<br />
Simulated Execution Schedule SIMEXEC When each job should be processed and on<br />
which unit<br />
Simulated<br />
Unit/Partition Utilization<br />
Device Utilization<br />
UNITUTIL<br />
DEVUTIL<br />
The extent to which each:<br />
unit/partition will be used<br />
dedicated device will be used<br />
shared device will be used<br />
Shared Device Utilization<br />
DEVUTIL<br />
Backlogged Schedules/<strong>Job</strong>s BACKLOG Which schedules and jobs will have to be<br />
carried over in backlog to the next day<br />
Late <strong>Job</strong> Profile LATEJOBS Which jobs will start and end late each day<br />
and at the end of the entire simulation<br />
period<br />
Tracking File <strong>Job</strong> Start Errors (generated<br />
only if you specify REVISE=YES)<br />
EXPERROR<br />
When jobs in the tracking file have not<br />
started yet or did not start on time<br />
Chapter 5. Reports 5-47
5.6 Simulation<br />
Sample reports are at the end of this topic. If you do not want to print some<br />
of these reports, you can specify the ones you want to exclude on the<br />
EXCREPT keyword on the SIMULATE command.<br />
5-48 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.6 Simulation<br />
5.6.2 Summary of the SIMULATE Command Keywords<br />
To run simulation, execute <strong>CA</strong>JUTIL0 with the SIMULATE command. The<br />
following keywords are available with the SIMULATE command:<br />
To Produce A Simulated Schedule<br />
For all defined stations<br />
For up to 8 stations<br />
For today<br />
For a date in the past, present or future<br />
For one day<br />
For a number of days<br />
On the Simulated Execution Schedule (SIMEXEC) report<br />
(only) <strong>for</strong> the first day of simulation<br />
On the Simulated Execution Schedule (SIMEXEC) report<br />
(only) <strong>for</strong> every day of simulation<br />
On the Simulated Execution Schedule (SIMEXEC) report<br />
(only) starting at FROMDATE or FROMTIME (if<br />
specified) or otherwise AUTOS<strong>CA</strong>N time<br />
On the Simulated Execution Schedule (SIMEXEC) report<br />
(only) starting at a specific time<br />
On the Simulated Execution Schedule (SIMEXEC) report<br />
(only) ending at the end of the simulation period<br />
may optionally be specified by FOR)<br />
On the Simulated Execution Schedule (SIMEXEC) report<br />
only) ending at a specific time<br />
That starts at AUTOTIM<br />
That starts at a specific time<br />
That lets CPU jobs end if running at production<br />
end time (PET)<br />
That stops CPU jobs at production end time and<br />
restarts at production start time (PST)<br />
That allows the full 24 hours each day<br />
That allows a different amount of time<br />
That shows use at 15-minute intervals<br />
That shows use at a different interval<br />
That selects jobs from the database<br />
That shows current status of tracking file<br />
Ignore Or Use This Keyword<br />
(default)<br />
STATION=(nn,...)<br />
(default)<br />
FROMDATE=mmddyy<br />
(default)<br />
FOR=nnn<br />
(default)<br />
EVERYDAY=YES<br />
(default)<br />
RFT=hhmmm]ddhhmm<br />
(default)<br />
RTT=hhmmm]ddhhmm<br />
(default)<br />
FROMTIME=hhmm<br />
(default)<br />
Cpushut=yes<br />
(default)<br />
MAXTIME=ddhhmm<br />
(default)<br />
INTERVAL=mm<br />
(default)<br />
REVISE=yes<br />
Chapter 5. Reports 5-49
5.6 Simulation<br />
To Produce A Simulated Schedule<br />
That updates the database with the simulated start time<br />
That does not update the database<br />
With all of the simulation reports<br />
Without some of the simulation reports<br />
With some of the Forecast reports<br />
Without diagnostic dumps<br />
With diagnostic dumps (only upon Computer Associates<br />
request)<br />
With the <strong>Job</strong> Summary report showing<br />
the current month<br />
a different month<br />
Ignore Or Use This Keyword<br />
(default)<br />
UPDATE=NO<br />
(default)<br />
EXCREPT=<br />
(reportid1,...)<br />
INCREPT=<br />
(reportid1...)<br />
(default)<br />
TRACEOPT=<br />
(dump1,...)<br />
(default)<br />
MONthof=mmyy<br />
Valid only if INCREPT=SUMMARY is used. In addition,<br />
this parameter does not affect simulation, only the <strong>Job</strong><br />
Summary report.<br />
5.6.3 Summary of the Simulation Commands<br />
The following options are available using commands that must precede the<br />
SIMULATE command. Changed values are in effect <strong>for</strong> that simulation run<br />
only.<br />
To Change<br />
<strong>Job</strong>s and schedules that will be selected by<br />
excluding<br />
- schedules<br />
- jobs<br />
singling out one or more schedules<br />
Use This Command<br />
EXCLUDE S<br />
EXCLUDE J<br />
ONLY S<br />
5-50 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.6 Simulation<br />
To Change<br />
<strong>Job</strong>s and schedules that will be processed by<br />
activating REQUESTED<br />
- schedules<br />
- jobs<br />
adding<br />
- schedules<br />
- jobs<br />
holding<br />
- schedules<br />
- jobs<br />
releasing from HOLD<br />
- schedules<br />
- jobs<br />
rerunning jobs (valid only with REVISE=YES)<br />
Schedules that are included in the Simulated<br />
Execution<br />
Schedule (SIMEXEC) report<br />
Normal execution time <strong>for</strong><br />
one or more schedules<br />
one or more jobs<br />
a station<br />
Automatic selection of one or more schedules<br />
Values defined <strong>for</strong><br />
dedicated resources<br />
shared resources<br />
Use This Command<br />
REQUEST S<br />
REQUEST J<br />
RUN S<br />
RUN J<br />
HOLD S<br />
HOLD J<br />
RELEASE S<br />
RELEASE J<br />
RERUN J<br />
RONLY S<br />
OVERRIDE SCHEDULE<br />
OVERRIDE JOB<br />
OVERRIDE STATION<br />
OVERRIDE SCHEDULE<br />
OVERRIDE RESOURCE<br />
OVERRIDE SHRRSR<br />
The preceding commands are described in alphabetical order on the following<br />
pages.<br />
Note: The function of the INCLUDE command has been incorporated into the<br />
OVERRIDE and RUN commands. For compatibility with Version 7.0,<br />
however, the INCLUDE command will still be accepted.<br />
5.6.4 Virtual Storage Requirements <strong>for</strong> Simulation<br />
Executing simulation requires 200K in virtual storage <strong>for</strong> the program. A<br />
certain amount of additional virtual storage is necessary based upon the<br />
following variables.<br />
Allocate<br />
For Each<br />
72 bytes Partition<br />
120 bytes Defined station<br />
Chapter 5. Reports 5-51
5.6 Simulation<br />
Allocate<br />
For Each<br />
80 bytes Defined and selected schedule<br />
152 bytes Defined and selected job<br />
268 bytes Selected job with a resource record<br />
5.6.4.1 Example<br />
Given the following values, 290K of virtual storage is necessary to run<br />
simulation.<br />
Program storage<br />
248 bytes<br />
Partitions BG,F1,F2,F3,F4<br />
36 bytes<br />
Stations 2,3,39,4,6,9<br />
72 bytes<br />
6 schedules<br />
48 bytes<br />
3 jobs<br />
456 bytes<br />
15 jobs with resource records<br />
42 bytes<br />
--------------------------------------------------------------------<br />
Total<br />
29648 bytes<br />
or 29K<br />
5.6.5 Selection Criteria's Impact on Simulation<br />
Follow these guidelines to produce accurate simulation results.<br />
1. Specify REQUESTED after job and schedule names when writing selection<br />
criteria. Otherwise, simulation may return different reason codes than those<br />
<strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> returns during actual production.<br />
2. Remember that DSN, DOS, and PRED predecessors may affect simulation<br />
accuracy. Simulation assumes that these types of predecessors complete<br />
successfully. In actual production, they may not. There<strong>for</strong>e, do not assume<br />
that simulation involving these types of predecessors is always accurate.<br />
5-52 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.7 Simulation Commands<br />
5.7 Simulation Commands<br />
5.7.1 EXCLUDE <strong>Job</strong><br />
This topic describes each of the commands that must precede the SIMULATE<br />
command. Usage notes on when to use the command are given, descriptions<br />
are given <strong>for</strong> each keyword, and an example is provided <strong>for</strong> each command.<br />
EXCLUDE <strong>Job</strong> Name=jname<br />
Exclude one or more jobs <strong>for</strong> this<br />
simulation run only.<br />
5.7.1.1 Keywords<br />
Name=jname<br />
JNo=nn<br />
Schedule=sname<br />
SImday=nn<br />
STation=nn<br />
5.7.1.2 Keyword Descriptions<br />
Name=jname<br />
Specify the job (1- to 8-character job name) you want to exclude from the<br />
simulation run. To exclude a group of jobs, use the asterisk (*) or question<br />
mark (?) mask characters.<br />
JNo=nn<br />
Specify the job number (an integer from 1-99) if you want to exclude a<br />
particular occurrence of the job from the simulation run.<br />
Schedule=sname<br />
Specify the schedule name (1-8 characters) if the job has been defined in more<br />
than one schedule. If this is not specified, <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> will exclude<br />
the first job it finds with the specified job name.<br />
SImday=nn<br />
Indicate what day to exclude the job. Give the number of that day relative to<br />
the beginning of the simulation period, where the first day is day 0. There<strong>for</strong>e,<br />
to exclude a job only on the second day of simulation, specify SIMDAY=1. If<br />
you do not use this keyword, the job will be excluded every day during the<br />
simulation period.<br />
STation=nn<br />
Chapter 5. Reports 5-53
5.7 Simulation Commands<br />
5.7.1.3 Usage Notes<br />
5.7.1.4 Example<br />
5.7.2 EXCLUDE Schedule<br />
Specify the station ID (integer from 1-99) <strong>for</strong> non-CPU stations.<br />
Use the EXCLUDE <strong>Job</strong> command to exclude a job that is normally selected<br />
today but is not needed <strong>for</strong> this simulation run. The effect is to treat the job as<br />
if it can not be selected today. All successors are excluded too.<br />
Specify JNO <strong>for</strong> job numbers other than 01. Specify the schedule name if the<br />
job has been defined in more than one schedule. Specify STATION <strong>for</strong><br />
non-CPU stations.<br />
The EXCLUDE <strong>Job</strong> command must precede the SIMULATE command. Code a<br />
separate EXCLUDE command <strong>for</strong> each job that you want to exclude.<br />
JCL that produces simulation reports requires the inclusion of a work file. A<br />
generic version of this work file is contained on the installation tape. The file's<br />
name is Z.<strong>CA</strong>WORK1. Tailor this file to your installation's needs and ensure<br />
that it is accessible be<strong>for</strong>e running the JCL that produces the reports.<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
EXCLUDE J N=MONTHLY,<br />
S=ANNUAL<br />
SIMULATE<br />
/<br />
/&<br />
exclude a job<br />
job is in this schedule<br />
produce simulation reports<br />
The preceding example excludes from this simulation run a job named<br />
MONTHLY that is in the schedule named ANNUAL. If MONTHLY has any<br />
successors, they will be excluded too.<br />
EXCLUDE Schedule Name=sname<br />
Exclude one or more schedules <strong>for</strong> this<br />
simulation run only.<br />
5.7.2.1 Keywords<br />
Name=sname<br />
SImday=nn<br />
5-54 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.7 Simulation Commands<br />
5.7.2.2 Keyword Descriptions<br />
5.7.2.3 Usage Notes<br />
5.7.2.4 Example<br />
Name=sname<br />
Use this required keyword to specify the schedule (1- to 8-character schedule<br />
name) you want to exclude from the simulation run. To exclude a group of<br />
jobs, use the asterisk (*) or question mark (?) mask characters.<br />
SImday=nn<br />
Indicate what day to exclude the schedule. Give the number of that day<br />
relative to the beginning of the simulation period, where the first day is day 0.<br />
There<strong>for</strong>e, to exclude a schedule only on the second day of simulation, specify<br />
SIMDAY=1. If you do not use this keyword, the schedule will be excluded<br />
every day during the simulation period.<br />
Use the EXCLUDE Schedule command to exclude a schedule that is normally<br />
selected today but is not needed <strong>for</strong> this simulation run. All jobs within this<br />
schedule, as well as their successors, are excluded. The effect of this command<br />
is to treat this schedule as if it can not be selected today.<br />
The EXCLUDE Schedule command must precede the SIMULATE command.<br />
Code a separate EXCLUDE command <strong>for</strong> each schedule that you want to<br />
exclude.<br />
JCL that produces simulation reports requires the inclusion of a work file. A<br />
generic version of this work file is contained on the installation tape. The file's<br />
name is Z.<strong>CA</strong>WORK1. Tailor this file to your installation's needs and ensure<br />
that it is accessible be<strong>for</strong>e running the JCL that produces the reports.<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
EXCLUDE S N=USUALLY<br />
SIMULATE<br />
/<br />
/&<br />
exclude a schedule<br />
produce simulation reports<br />
The preceding example excludes a schedule named USUALLY from this<br />
simulation run. If this schedule has any successors, they will be excluded too.<br />
Chapter 5. Reports 5-55
5.7 Simulation Commands<br />
5.7.3 HOLD <strong>Job</strong><br />
HOLD <strong>Job</strong> Name=jname<br />
Place one or more jobs in HELD status.<br />
5.7.3.1 Keywords<br />
Name=jname<br />
AT=hhmm|ddhhmm<br />
JNo=nn<br />
Schedule=sname<br />
SImday=nn<br />
STation=nn<br />
5.7.3.2 Keyword Descriptions<br />
Name=jname<br />
Specify the job (1- to 8-character job name) you want to put on hold. To hold<br />
a group of jobs, use the asterisk (*) or question mark (?) mask characters.<br />
AT=hhmm|ddhhmm<br />
Specify the time that the job is to be held. Specify hhmm in terms of a 24-hour<br />
clock. Use dd to indicate the number of autoscan days in the future when the<br />
job is to be held. Do not use dd if the job will be held today.<br />
JNo=nn<br />
Specify the job number (an integer from 1-99) if you want to hold a particular<br />
occurrence of a job. If not specified, the first occurrence is assumed.<br />
Schedule=sname<br />
Specify the schedule name (1-8 characters) if the job has been defined in more<br />
than one schedule. If this is not specified, <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> will hold<br />
the first job it finds with the specified job name.<br />
SImday=nn<br />
Indicate what day of the simulation period to put the job on hold. Give the<br />
number of that day relative to the beginning of the simulation period, where<br />
the first day is day 0. There<strong>for</strong>e, to place a job in HELD status on the second<br />
day of simulation, specify SIMDAY=1. If you do not use this keyword, the job<br />
is placed in HELD status every day during the simulation period.<br />
STation=nn<br />
Specify the station ID (integer from 1-99) <strong>for</strong> non-CPU stations.<br />
5-56 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.7 Simulation Commands<br />
5.7.3.3 Usage Notes<br />
5.7.3.4 Example<br />
5.7.4 HOLD Schedule<br />
Use the HOLD <strong>Job</strong> command to prevent simulation from starting a job until<br />
the RELEASE command is issued.<br />
This command must precede the SIMULATE command.<br />
<strong>Job</strong>s that are held are not placed in a partition to simulate their processing<br />
until the RELEASE simulation command is issued against them.<br />
JCL that produces simulation reports requires the inclusion of a work file. A<br />
generic version of this work file is contained on the installation tape. The file's<br />
name is Z.<strong>CA</strong>WORK1. Tailor this file to your installation's needs and ensure<br />
that it is accessible be<strong>for</strong>e running the JCL that produces the reports.<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
HOLD J N=CUST1,<br />
S=SALES,<br />
SIMDAY=2<br />
SIMULATE<br />
/<br />
/&<br />
hold a job<br />
job is in this schedule<br />
hold it only on 3rd day<br />
produce simulation reports<br />
The preceding example places the job CUST1 in HELD status on the third day<br />
of the simulation period.<br />
HOLD Schedule Name=sname<br />
Place one or more schedules in HELD status.<br />
5.7.4.1 Keywords<br />
Name=sname<br />
AT=hhmm|ddhhmm<br />
SImday=nn<br />
5.7.4.2 Keyword Descriptions<br />
Name=sname<br />
Specify the schedule (1- to 8-character schedule name) you want to put on<br />
hold. To hold a group of schedules, use the asterisk (*) or question mark (?)<br />
mask characters.<br />
AT=hhmm|ddhhmm<br />
Chapter 5. Reports 5-57
5.7 Simulation Commands<br />
5.7.4.3 Usage Notes<br />
5.7.4.4 Example<br />
Specify the time that the schedule is to be held. Specify hhmm in terms of a<br />
24-hour clock. Use dd to indicate the number of autoscan days in the future<br />
when the schedule is to be held. Do not use dd if the schedule will be held<br />
today.<br />
SImday=nn<br />
Indicate what day of the simulation period to put the schedule on hold. Give<br />
the number of that day relative to the beginning of the simulation period,<br />
where the first day is day 0. There<strong>for</strong>e, to place a schedule in HELD status on<br />
the second day of simulation, specify SIMDAY=1. If you do not use this<br />
keyword, the schedule is placed in HELD status every day during the<br />
simulation period.<br />
Use the HOLD Schedule command to prevent simulation from starting a<br />
schedule until the RELEASE command is issued. It must precede the<br />
SIMULATE command.<br />
The HOLD Schedule command holds a schedule and all jobs in the schedule<br />
that have not started, completed, interrupted, abended, or failed by the time<br />
the HOLD command is processed.<br />
<strong>Job</strong>s in a held schedule are not placed in a partition to simulate their<br />
processing until the RELEASE simulation command is issued against them.<br />
JCL that produces simulation reports requires the inclusion of a work file. A<br />
generic version of this work file is contained on the installation tape. The file's<br />
name is Z.<strong>CA</strong>WORK1. Tailor this file to your installation's needs and ensure<br />
that it is accessible be<strong>for</strong>e running the JCL that produces the reports.<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
HOLD S N=PAYROLL,<br />
AT=1<br />
SIMULATE<br />
/<br />
/&<br />
hold a schedule<br />
at 1:<br />
produce simulation reports<br />
The preceding example holds an entire schedule at 10:00 a.m. every day<br />
during the simulation period. All jobs in the schedule that have not started,<br />
ended, interrupted, abended, or failed by 10:00 a.m. will be placed in HELD<br />
status until they are released.<br />
5-58 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.7 Simulation Commands<br />
5.7.5 ONLY Schedule<br />
ONLY Schedule Name=sname<br />
Limit the eligible workload <strong>for</strong><br />
simulation to one or more schedules.<br />
5.7.5.1 Keywords<br />
Name=sname<br />
SImday=nn<br />
5.7.5.2 Keyword Descriptions<br />
5.7.5.3 Usage Notes<br />
Name=sname<br />
Specify the schedule (1- to 8-character schedule name) <strong>for</strong> which simulation<br />
reports are to be produced. To include a group of schedules, use the asterisk<br />
(*) or question mark (?) mask characters.<br />
SImday=nn<br />
Indicate what day of the simulation period to process this command. Give the<br />
number of that day relative to the beginning of the simulation period, where<br />
the first day is day 0. There<strong>for</strong>e, to process the command only on the second<br />
day of simulation, specify SIMDAY=1. If you do not use this keyword, the<br />
command will be processed every day during the simulation period.<br />
The ONLY Schedule command must precede the SIMULATE command.<br />
Use the ONLY Schedule command to limit the eligible workload <strong>for</strong> simulation<br />
to one or more schedules. A schedule is eligible <strong>for</strong> simulation if<br />
AUTOSEL=YES is specified on its SBR and its calendar or criteria indicates<br />
that the schedule is to be selected on a given day within the simulation period.<br />
Use the RUN Schedule command to include a schedule that is not normally<br />
selected <strong>for</strong> a simulation day. Use the OVERRIDE SCHEDULE command to<br />
change the AUTOSEL value.<br />
JCL that produces simulation reports requires the inclusion of a work file. A<br />
generic version of this work file is contained on the installation tape. The file's<br />
name is Z.<strong>CA</strong>WORK1. Tailor this file to your installation's needs and ensure<br />
that it is accessible be<strong>for</strong>e running the JCL that produces the reports.<br />
Chapter 5. Reports 5-59
5.7 Simulation Commands<br />
5.7.5.4 Example<br />
5.7.6 OVERRIDE <strong>Job</strong><br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
ONLY S N=ACCT<br />
ONLY S N=MANU<br />
SIMULATE<br />
/<br />
/&<br />
simulate the accounting schedules only<br />
simulate the manufacturing schedules only<br />
per<strong>for</strong>m the simulation<br />
The preceding example limits the simulation processing to schedules beginning<br />
with ACCT and MANU.<br />
OVERRIDE <strong>Job</strong> Name=jname<br />
Increase or decrease the amount of time<br />
it takes to process one or more jobs.<br />
5.7.6.1 Keywords<br />
Name=jname<br />
FACtor=nnn<br />
JNo=nn<br />
Schedule=sname<br />
STation=nn<br />
5.7.6.2 Keyword Descriptions<br />
Name=jname<br />
Specify the job name (1-8 characters) of the job whose processing time is to be<br />
modified <strong>for</strong> the simulation reports. To modify processing time <strong>for</strong> a group of<br />
jobs, use the asterisk (*) or question mark (?) mask characters.<br />
FACtor=nnn<br />
Increase or decrease the amount of time it normally takes to process the job.<br />
The simulation reports will show the effect of this change and allow you to see<br />
what would happen if execution time were actually increased or decreased.<br />
Specify nnn as the percentage by which you want the normal processing time<br />
to be multiplied (100 is normal processing time). For example, to test the effect<br />
of increasing processing time <strong>for</strong> a job by 50%, specify FACTOR=150; that is, a<br />
job that normally takes an hour to process will be given an hour and a half.<br />
The simulation reports will reflect this change. To test the effect of a job<br />
running more quickly, you can specify FACTOR=50. This will temporarily<br />
decrease processing time by 50%; that is, a job that normally takes an hour to<br />
process will be given a half hour. The simulation reports will reflect this<br />
change.<br />
JNo=nn<br />
5-60 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.7 Simulation Commands<br />
5.7.6.3 Usage Notes<br />
5.7.6.4 Example<br />
Specify the job number (an integer from 1-99) if you want to modify the<br />
processing time <strong>for</strong> a particular occurrence of a job.<br />
Schedule=sname<br />
Specify the schedule name (1-8 characters) if the job has been defined in more<br />
than one schedule. If this is not specified, <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> will take the<br />
first job it finds with the specified job name.<br />
STation=nn<br />
Specify the station ID (integer from 1-99) <strong>for</strong> non-CPU stations.<br />
Use the OVERRIDE <strong>Job</strong> command only if you want the simulation reports to<br />
reflect a change in the amount of time it normally takes to execute one job.<br />
Specify the schedule name if the job has been defined in more than one<br />
schedule. Specify STATION <strong>for</strong> non-CPU stations. Specify JNO <strong>for</strong> job numbers<br />
other than 01.<br />
This command must precede the SIMULATE command.<br />
JCL that produces simulation reports requires the inclusion of a work file. A<br />
generic version of this work file is contained on the installation tape. The file's<br />
name is Z.<strong>CA</strong>WORK1. Tailor this file to your installation's needs and ensure<br />
that it is accessible be<strong>for</strong>e running the JCL that produces the reports.<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
OVERRIDE JOB NAME=CUST1,<br />
SCHEDULE=SALES,<br />
JNO=1,<br />
FACTOR=5<br />
SIMULATE<br />
/<br />
/&<br />
change execution time <strong>for</strong> this job<br />
schedule from base record<br />
job number from base record<br />
cut processing time in half<br />
produce simulation reports<br />
The preceding example shows how the simulation reports would look if this<br />
job could be processed 50% faster.<br />
Chapter 5. Reports 5-61
5.7 Simulation Commands<br />
5.7.7 OVERRIDE Resource<br />
OVERRIDE RESOURCE STation=nn<br />
Change dedicated resources <strong>for</strong> all or<br />
part of one simulation run.<br />
5.7.7.1 Keywords<br />
5.7.7.2 Keyword Descriptions<br />
STation=nn<br />
SUBID=nnnn<br />
SYSID=sysid<br />
AVGtime=mm|hhmm|ddhhmm<br />
DASDnn=(type,number)<br />
DEFclass=x<br />
EVeryday=NO|YES<br />
EXITPARM=xxxxxxxxxxxxxxxx<br />
FACtor=nnn<br />
OET=hhmm|ddhhmm<br />
OST=hhmm|ddhhmm<br />
PARTnn=(classes,header)<br />
PET=hhmm<br />
PST=hhmm<br />
RDT=mm|hhmm|ddhhmm<br />
TAPEnn=(type,number)<br />
UNITnn=(classes,header)<br />
URnn=(type,number)<br />
STation=nn<br />
Identify the workstation <strong>for</strong> which overrides are being submitted.<br />
SUBID=nnnn<br />
Identify each unit at a non-CPU station by a 1-4 digit number. (This is the<br />
substation <strong>for</strong> which dedicated resources were defined with the DEFINE<br />
RESOURCE command.) This value is in effect during this simulation run only.<br />
SYSID=sysid<br />
Specify the CPU <strong>for</strong> which resources are being overridden.<br />
AVGtime=mm|hhmm|ddhhmm<br />
Change the number of days, hours, and minutes it will take to process a job at<br />
this station. Leading zeros are not required. This value will be used during<br />
this simulation run <strong>for</strong> any job without an AVGTIME in its job base record, or<br />
if no history exists. DOS accounting does not update the AVGtime field in the<br />
5-62 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.7 Simulation Commands<br />
JBR record. Instead, the AVGtime field in the JHR (job history) record is<br />
updated. When simulation is per<strong>for</strong>med, the order <strong>for</strong> selection of AVGtime is:<br />
1. AVGtime from the job base record<br />
2. AVGtime (updated by DOS accounting) from the job history record<br />
3. station defaults<br />
DASDnn=(type,number)<br />
Change the direct access devices that are exclusively dedicated to one<br />
substation. (A substation is one CPU at the CPU station or one unit at a<br />
non-CPU station.) This value is in effect during this simulation run only.<br />
Describe each type on a separate DASDnn keyword, where nn is a number<br />
from 01 to 16. Specify the device type and the number of devices of that type<br />
(up to 255). For example, to define eight 3380s and ten 3390s, specify<br />
DASD01=(3380,8) and DASD02=(3390,10).<br />
DEFclass=x<br />
Change the default class <strong>for</strong> all jobs processed at this station that do not have a<br />
defined class. This value is in effect during this simulation run only.<br />
EVeryday=NO|YES<br />
Indicate whether you want the override conditions to be in effect every day<br />
starting at Override Start Time (OST), and ending at Override End Time<br />
(OET). Valid options are:<br />
No<br />
Yes<br />
The override conditions will be in effect only on the days specified by<br />
OST=ddhhmm and OET=ddhhmm. This is the default and need not be<br />
specified.<br />
OST and OET will apply to every day in the simulation period. For<br />
example, to put the override conditions into effect during the noon hour<br />
every day during the simulation period, code OST=1200, OET=1300 and<br />
EVERYDAY=YES on the OVERRIDE command.<br />
EXITPARM=xxxxxxxxxxxxxxxx<br />
Use this 16-byte field to pass in<strong>for</strong>mation to an optional user exit that you can<br />
use to adjust a job's class or average process time <strong>for</strong> this simulation run. See<br />
the chapter "User Exits and Interfaces" in the <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> Systems<br />
Programmer <strong>Guide</strong> <strong>for</strong> more in<strong>for</strong>mation on coding this exit.<br />
FACtor=nnn<br />
Increase or decrease the amount of time it normally takes to process all of the<br />
jobs run on one CPU. The simulation reports will show the effect of this<br />
change and allow you to see what would happen if the execution time were<br />
actually increased or decreased. Specify nnn as the percentage by which you<br />
want the normal processing time to be multiplied (100 is normal processing<br />
Chapter 5. Reports 5-63
5.7 Simulation Commands<br />
time). For example, to test the effect of a disaster that slows down all<br />
processing on one CPU, specify FACTOR=150 with this CPU's SYSID. This<br />
will temporarily increase processing time on this CPU by 50%; that is, a job<br />
that normally takes an hour to process will be given an hour and a half. The<br />
simulation reports will show how all of the work will be processed assuming<br />
that each job run on this CPU takes 50% longer than normal. To test the effect<br />
of a new processor that runs jobs more quickly, you can specify FACTOR=50.<br />
This will temporarily decrease processing time by 50%; that is, a job that<br />
normally takes an hour to process will be given a half hour. The simulation<br />
reports will show how all of the work will be processed assuming that each<br />
job takes half its normal time.<br />
OET=hhmm|ddhhmm<br />
Specify when you want the override conditions to end (Override End Time).<br />
Specify hhmm in terms of a 24-hour clock. Specify dd as the relative number<br />
of days after simulation begins, where the first simulated day is 00, the second<br />
day is 01, the third day is 02, and so on. For example, if you specify<br />
OET=0801, the override conditions will end at 8:01 A.M. on the first day of<br />
simulation. If you specify OET=012001, the override conditions will end at<br />
8:01 P.M. on the second day of simulation. If OET is not specified, the<br />
override conditions will be in effect until the end of the simulation run.<br />
OST=hhmm|ddhhmm<br />
Specify when you want the override conditions to go into effect (Override Start<br />
Time). Specify hhmm in terms of a 24-hour clock. Specify dd as the relative<br />
number of days after simulation begins, where the first simulated day is 00,<br />
the second day is 01, the third day is 02, and so on. For example, if you<br />
specify OST=0801, the override conditions will go into effect at 8:01 A.M. on<br />
the first day of simulation. If you specify OST=012001, the override conditions<br />
will go into effect at 8:01 P.M. on the second day of simulation. If OST is not<br />
specified, the override conditions will go into effect at the beginning of the<br />
simulation run.<br />
PARTnn=(classes,header)<br />
Temporarily change the classes of jobs that can run in a partition. To do this,<br />
specify PARTnn=classes, where nn is a number from 1 to 12. You can only<br />
specify a header on an OVERRIDE if<br />
■<br />
■<br />
OST and OET are not specified<br />
You are defining a new partition that will only be used during this<br />
simulation run<br />
The classes defined here are each one character in length, and correspond to<br />
the classes defined <strong>for</strong> jobs (or default classes <strong>for</strong> schedules).<br />
5-64 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.7 Simulation Commands<br />
PET=hhmm<br />
Change the production end time at this station. Specify the time of day in<br />
terms of a 24-hour clock, where 0800 is 8:00 a.m. and 2000 is 8:00 p.m. This<br />
value is in effect during this simulation run only. Note that you cannot<br />
change the PET and specify OST/OET on the same OVERRIDE command.<br />
PST=hhmm<br />
Change the production start time at this station. Specify the time of day in<br />
terms of a 24-hour clock, where 0800 is 8:00 a.m. and 2000 is 8:00 p.m. This<br />
value is in effect during this simulation run only. Note that you cannot<br />
change the PST and specify OST/OET on the same OVERRIDE command.<br />
RDT=mm|hhmm|ddhhmm<br />
Change the number of days, hours, and minutes it will take <strong>for</strong> a job to get to<br />
this station from the preceding station (Routing Delay Time). Leading zeros<br />
are not required. This value is in effect during this simulation run only and<br />
will be used <strong>for</strong> any job without an RDT in its job record.<br />
TAPEnn=(type,number)<br />
Change the tape devices that are exclusively dedicated to one substation. (A<br />
substation is one CPU at the CPU station or one unit at a non-CPU station.)<br />
This value is in effect during this simulation run only. Describe each type on a<br />
separate TAPEnn keyword, where nn is a number from 01 to 16. Specify the<br />
device type and the number of devices of that type (up to 255). For example,<br />
to define six 3420s and eight 3480s, specify TAPE01=(3420,6) and<br />
TAPE02=(3480,8).<br />
UNITnn=(classes,header)<br />
Temporarily change the classes of jobs that can be processed at a unit. To do<br />
this, specify UNITnn=classes, where nn is a number from 1 to 16. You can<br />
only specify a header on an OVERRIDE if<br />
■<br />
■<br />
OST and OET are not specified<br />
You are defining a new unit that will only be used during this simulation<br />
run<br />
The classes defined here are each one character in length, and correspond to<br />
the classes defined <strong>for</strong> jobs (or default classes <strong>for</strong> schedules).<br />
URnn=(type,number)<br />
Change the unit record devices that are exclusively dedicated to one<br />
substation. (A substation is one CPU at the CPU station or one unit at a<br />
non-CPU station.) This value is in effect during this simulation run only.<br />
Describe each type on a separate URnn keyword, where nn is a number from<br />
Chapter 5. Reports 5-65
5.7 Simulation Commands<br />
5.7.7.3 Usage Notes<br />
5.7.7.4 Example<br />
01 to 16. Specify the device type and the number of devices of that type (up to<br />
255). For example, to define twenty 2540s and twelve 1403s, specify<br />
UR01=(2540,20) and UR02=(1403,12).<br />
Use the OVERRIDE Resource command to change the values specified on the<br />
DEFINE Resource command on the master database <strong>for</strong> device types or job<br />
classes. This allows you to test the effect of a change in resources available at<br />
one station or dedicated to one substation.<br />
You can also use FACTOR to test the effect of increased or decreased execution<br />
time on one CPU.<br />
The OVERRIDE Resource command must precede the SIMULATE command.<br />
Changes are in effect <strong>for</strong> this simulation run only, beginning with OST and<br />
ending with OET. If no time parameters are given, changes are in effect<br />
throughout the simulation run.<br />
You can only change PST or PET on this command if OST/OET are not<br />
specified.<br />
JCL that produces simulation reports requires the inclusion of a work file. A<br />
generic version of this work file is contained on the installation tape. The file's<br />
name is Z.<strong>CA</strong>WORK1. Tailor this file to your installation's needs and ensure<br />
that it is accessible be<strong>for</strong>e running the JCL that produces the reports.<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
OVERRIDE RESOURCE SYSID=1,<br />
DASD1=(338,2),<br />
TAPE1=(342,1),<br />
FACTOR=5<br />
SIMULATE<br />
/<br />
/&<br />
change CPU 1 resources<br />
increase the number of 338s<br />
decrease the number of 342s<br />
cut processing time in half<br />
produce simulation reports<br />
The preceding example changes the number of 3380s and 3420s available <strong>for</strong><br />
the exclusive use of the first CPU. It also multiplies all processing times by<br />
50%. These changes allow you to test the effect of a faster processor with more<br />
direct access devices and fewer tape drives. The results will be reflected on the<br />
simulation reports that are produced <strong>for</strong> this simulation run only.<br />
5-66 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.7 Simulation Commands<br />
5.7.8 OVERRIDE Schedule<br />
5.7.8.1 Keywords<br />
OVERRIDE Schedule Name=sname Increase or decrease the time it takes to<br />
process one or more schedules, or<br />
change AUTO SELECT to YES.<br />
Name=sname<br />
AUtosel=YES<br />
FACtor=nnn<br />
STation=nn<br />
5.7.8.2 Keyword Descriptions<br />
Name=sname<br />
Specify the schedule (1- to 8-character schedule name) whose processing time<br />
you want to modify. To modify processing time <strong>for</strong> a group of schedules, use<br />
the asterisk (*) or question mark (?) mask characters.<br />
AUtosel=YES<br />
Change the AUTOSEL parameter on the schedule base record.<br />
FACtor=nnn<br />
Increase or decrease the amount of time it normally takes to process the jobs in<br />
this schedule. The simulation reports will show the effect of this change and<br />
allow you to see what would happen if execution time were actually increased<br />
or decreased. Specify nnn as the percentage by which you want the normal<br />
processing time to be multiplied. For example, to test the effect of increasing<br />
processing time <strong>for</strong> all jobs in this schedule by 50%, specify FACTOR=150; that<br />
is, this schedule that normally takes an hour to process will be given an hour<br />
and a half. The simulation reports will reflect this change. To test the effect of<br />
the jobs running more quickly, you can specify FACTOR=50. This will<br />
temporarily decrease processing time by 50%; that is, a schedule that normally<br />
takes an hour to process will be given a half hour. The simulation reports will<br />
reflect this change.<br />
STation=nn<br />
Identify the workstation <strong>for</strong> which this override is being submitted. If not<br />
specified, station 40 (CPU) is assumed.<br />
Chapter 5. Reports 5-67
5.7 Simulation Commands<br />
5.7.8.3 Usage Notes<br />
5.7.8.4 Example<br />
Use the OVERRIDE Schedule command if you want the simulation reports to<br />
reflect a change in the amount of time it normally takes to execute all of the<br />
jobs in one schedule or if you want to change the AUTO SELECT value from<br />
NO to YES.<br />
If no STATION is specified, the override is in effect at the CPU.<br />
This command must precede the SIMULATE command.<br />
JCL that produces simulation reports requires the inclusion of a work file. A<br />
generic version of this work file is contained on the installation tape. The file's<br />
name is Z.<strong>CA</strong>WORK1. Tailor this file to your installation's needs and ensure<br />
that it is accessible be<strong>for</strong>e running the JCL that produces the reports.<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
OVERRIDE SCHEDULE NAME=CUSTMAST,<br />
FACTOR=15,<br />
AUTOSEL=YES<br />
SIMULATE<br />
/<br />
/&<br />
change execution time <strong>for</strong> schedule<br />
increase processing time by half<br />
change AUTO SELECT to YES<br />
produce simulation reports<br />
5.7.9 OVERRIDE SHRRSR<br />
The preceding example shows how the simulation reports would look if it took<br />
50% longer to process all of the jobs in this schedule. It also changes the<br />
AUTO SELECT option on the schedule definition from NO to YES so that the<br />
schedule will be automatically selected. See the example on page % to decrease<br />
processing time.<br />
OVERRIDE SHRRSR STation=nn<br />
Change shared resources <strong>for</strong> all or part<br />
of one simulation run.<br />
5.7.9.1 Keywords<br />
STation=nn<br />
DASDnn=(type,number,substation,substation,...)<br />
EVeryday=NO|YES<br />
OET=hhmm|ddhhmm<br />
OST=hhmm|ddhhmm<br />
TAPEnn=(type,number,substation,substation,...)<br />
URnn=(type,number,substation,substation,...)<br />
5-68 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.7 Simulation Commands<br />
5.7.9.2 Keyword Descriptions<br />
STation=nn<br />
Identify the workstation <strong>for</strong> which overrides are being submitted.<br />
DASDnn=(type,number,substation,substation,...)<br />
Change the direct access devices that can be shared by two or more<br />
substations. This value is in effect during this simulation run only. Describe<br />
each device type on a separate DASDnn keyword, where nn is a number from<br />
01 to 16. Specify the device type and the number of devices of that type (up to<br />
255). Then list up to eight substations that can share those devices. If this is a<br />
CPU station, identify each CPU by the SYSID number assigned it on the<br />
DEFINE RESOURCE command. If this is a non-CPU station, identify each unit<br />
by the SUBID number assigned to it on the DEFINE RESOURCE command.<br />
For example, to define four 3380s that can be shared by the three CPUs<br />
defined as SYSID=1, SYSID=2, and SYSID=3, specify DASD01=(3380,4,1,2,3).<br />
EVeryday=NO|YES<br />
Indicate whether you want the override conditions to be in effect every day<br />
starting at Override Start Time (OST), and ending at Override End Time<br />
(OET). Valid options are:<br />
No<br />
Yes<br />
The override conditions will be in effect only on the days specified by<br />
OST=ddhhmm and OET=ddhhmm. This is the default and need not be<br />
specified.<br />
OST and OET will apply to every day in the simulation period. For<br />
example, to put the override conditions into effect during the noon hour<br />
every day during the simulation period, code OST=1200, OET=1300 and<br />
EVERYDAY=YES on the OVERRIDE command.<br />
Chapter 5. Reports 5-69
5.7 Simulation Commands<br />
OET=hhmm|ddhhmm<br />
Specify when you want the override conditions to end (Override End Time).<br />
Specify hhmm in terms of a 24-hour clock. Specify dd as the relative number<br />
of days after simulation begins, where the first simulated day is 00, the second<br />
day is 01, the third day is 02, and so on. For example, if you specify<br />
OET=0801, the override conditions will end at 8:01 a.m. on the first day of<br />
simulation. If you specify OET=012001, the override conditions will end at<br />
8:01 p.m. on the second day of simulation. If OET is not specified, the<br />
override conditions will be in effect until the end of the simulation run.<br />
OST=hhmm|ddhhmm<br />
Specify when you want the override conditions to go into effect (Override Start<br />
Time). Specify hhmm in terms of a 24-hour clock. Specify dd as the relative<br />
number of days after simulation begins, where the first simulated day is 00,<br />
the second day is 01, the third day is 02, and so on. For example, if you<br />
specify OST=0801, the override conditions will go into effect at 8:01 a.m. on the<br />
first day of simulation. If you specify OST=012001, the override conditions<br />
will go into effect at 8:01 p.m. on the second day of simulation. If OST is not<br />
specified, the override conditions will go into effect at the beginning of the<br />
simulation run.<br />
TAPEnn=(type,number,substation,substation,...)<br />
Change the tape devices that can be shared by two or more substations. This<br />
value is in effect during this simulation run only. Describe each device type<br />
on a separate TAPEnn keyword, where nn is a number from 01 to 16. Specify<br />
the device type and the number of devices of that type (up to 255). Then list<br />
up to eight substations that can share those devices. If this is a CPU station,<br />
identify each CPU by the SYSID number assigned it on the DEFINE<br />
RESOURCE command. If this is a non-CPU station, identify each unit by the<br />
SUBID number assigned it on the DEFINE RESOURCE command. For<br />
example, to define four 3420s that can be shared by the two CPUs defined as<br />
SYSID=1 and SYSID=2, specify TAPE01=(3420,4,1,2).<br />
URnn=(type,number,substation,substation,...)<br />
Change the unit record devices that can be shared by two or more substations.<br />
This value is in effect during this simulation run only. Describe each unit<br />
record type on a separate URnn keyword, where nn is a number from 01 to 16.<br />
Specify the device type and the number of devices of that type (up to 255).<br />
Then list up to eight substations that can share those devices. If this is a CPU<br />
station, identify each CPU by the SYSID number assigned it on the DEFINE<br />
RESOURCE command. If this is a non-CPU station, identify each unit by the<br />
SUBID number assigned to it on the DEFINE RESOURCE command. For<br />
example, to define six 2540s that can be shared by the four keypunch units<br />
defined as SUBID=1, SUBID=2, SUBID=3, and SUBID=4, specify<br />
UR01=(2540,6,1,2,3,4).<br />
5-70 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.7 Simulation Commands<br />
5.7.9.3 Usage Notes<br />
5.7.9.4 Example<br />
5.7.10 OVERRIDE Station<br />
Use the OVERRIDE SHRRSR command to change the values specified on the<br />
DEFINE SHRRSR command in the master database <strong>for</strong> device types. This<br />
allows you to test the effect of a change in resources shared by two or more<br />
substations.<br />
This command must precede the SIMULATE command. Changes are in effect<br />
<strong>for</strong> this simulation run only, beginning with OST and ending with OET. If no<br />
time parameters are given, changes are in effect throughout the simulation run.<br />
JCL that produces simulation reports requires the inclusion of a work file. A<br />
generic version of this work file is contained on the installation tape. The file's<br />
name is Z.<strong>CA</strong>WORK1. Tailor this file to your installation's needs and ensure<br />
that it is accessible be<strong>for</strong>e running the JCL that produces the reports.<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
OVERRIDE SHRRSR DASD1=(338,,1,2),<br />
DASD2=(339,2,3,4)<br />
SIMULATE<br />
/<br />
/&<br />
decrease the number of 338s<br />
decrease the number of 339s<br />
produce simulation reports<br />
The preceding example decreases the number of 3380s and 3390s that can be<br />
shared by the CPUs listed on the DEFINE SHRRSR command.<br />
OVERRIDE STATION Id=nn<br />
Stop work from being scheduled at a<br />
station at a specific time, then restart it<br />
at a later time.<br />
5.7.10.1 Keywords<br />
Id=nn<br />
Halt=hhmm|ddhhmm<br />
Restart=hhmm|ddhhmm<br />
Subid=nnn<br />
SYsid=nn<br />
Chapter 5. Reports 5-71
5.7 Simulation Commands<br />
5.7.10.2 Keyword Descriptions<br />
Id=nn<br />
5.7.10.3 Usage Notes<br />
Specify the workstation where scheduling will be temporarily suspended (an<br />
integer from 1-99).<br />
Halt=hhmm|ddhhmm<br />
Tell what time to stop work at a station. This keyword, along with the<br />
RESTART keyword, allows you to stop and restart processing during the<br />
simulation period, <strong>for</strong> example during the lunch hour or over the weekend.<br />
Specify hhmm in terms of a 24-hour clock. Specify dd as the relative number<br />
of days after simulation begins, where the first simulated day is 00, the second<br />
day is 01, the third day is 02, and so on.<br />
Restart=hhmm|ddhhmm<br />
Tell what time to resume work at a station after it has been halted. This<br />
keyword, along with the HALT keyword, allows you to stop and restart<br />
processing during the simulation period, <strong>for</strong> example during the lunch hour or<br />
over the weekend. Specify hhmm in terms of a 24-hour clock. Specify dd as<br />
the relative number of days after simulation begins, where the first simulated<br />
day is 00, the second day is 01, the third day is 02, and so on.<br />
Subid=nnn<br />
Identify each unit at a non-CPU station by a 1-3 digit number.<br />
SYsid=nn<br />
Specify the SYSID <strong>for</strong> which resources are being overridden.<br />
Use the OVERRIDE Station command to stop work <strong>for</strong> any amount of time at<br />
any time during the simulation period.<br />
The OVERRIDE Station command must precede the SIMULATE command.<br />
The value that you supply <strong>for</strong> the SUBID or SYSID option will be in effect<br />
during the simulation period.<br />
JCL that produces simulation reports requires the inclusion of a work file. A<br />
generic version of this work file is contained on the installation tape. The file's<br />
name is Z.<strong>CA</strong>WORK1. Tailor this file to your installation's needs and ensure<br />
that it is accessible be<strong>for</strong>e running the JCL that produces the reports.<br />
5-72 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.7 Simulation Commands<br />
5.7.10.4 Example<br />
5.7.11 RELEASE JOB<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
OVERRIDE STATION ID=1,<br />
HALT=12,<br />
RESTART=13<br />
OVERRIDE STATION ID=4,<br />
HALT=3,<br />
RESTART=32359<br />
SIMULATE<br />
/<br />
/&<br />
stop production at noon<br />
resume production at 1 p.m.<br />
stop production on Sunday<br />
resume production on Monday<br />
produce simulation reports<br />
The preceding example stops work from being scheduled during the lunch<br />
hour at station 10 on the first day of simulation. It stops work all day Sunday<br />
at station 40 on the fourth day of simulation.<br />
RELEASE <strong>Job</strong> Name=jname<br />
Release one or more jobs from HELD status.<br />
5.7.11.1 Keywords<br />
Name=jname<br />
AT=hhmm|ddhhmm<br />
JNo=nn<br />
Schedule=sname<br />
SImday=nn<br />
STation=nn<br />
5.7.11.2 Keyword Descriptions<br />
Name=jname<br />
Specify the job (1- to 8-character job name) you want to release from HELD<br />
status. To release a group of jobs, use the asterisk (*) or question mark (?)<br />
mask characters.<br />
AT=hhmm|ddhhmm<br />
Specify the time that the job is to be released from HELD status. Specify<br />
hhmm in terms of a 24-hour clock. Use dd to indicate the number of autoscan<br />
days in the future when the job is to be released. Do not use dd if the job will<br />
be released today.<br />
Chapter 5. Reports 5-73
5.7 Simulation Commands<br />
5.7.11.3 Usage Notes<br />
5.7.11.4 Example<br />
JNo=nn<br />
Specify the job number (an integer from 1-99) if you want to release a<br />
particular occurrence of a job.<br />
Schedule=sname<br />
Specify the schedule name (1-8 characters) if the job has been defined in more<br />
than one schedule. If this is not specified, <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> will release<br />
the first job it finds with the specified job name.<br />
SImday=nn<br />
Indicate what day of the simulation period to release the job from hold. Give<br />
the number of that day relative to the beginning of the simulation period,<br />
where the first day is day 0. There<strong>for</strong>e, to release a job from HELD status on<br />
the second day of simulation, specify SIMDAY=1. If you do not use this<br />
keyword, the job will be released from HELD status every day during the<br />
simulation period.<br />
STation=nn<br />
Specify the station ID (integer from 1-99) <strong>for</strong> non-CPU stations.<br />
Use the RELEASE <strong>Job</strong> command to release jobs placed in HELD status.<br />
The RELEASE <strong>Job</strong> command must precede the SIMULATE command.<br />
<strong>Job</strong>s that are held are not placed in a partition to simulate their processing<br />
until the RELEASE simulation command is issued against them.<br />
JCL that produces simulation reports requires the inclusion of a work file. A<br />
generic version of this work file is contained on the installation tape. The file's<br />
name is Z.<strong>CA</strong>WORK1. Tailor this file to your installation's needs and ensure<br />
that it is accessible be<strong>for</strong>e running the JCL that produces the reports.<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
RELEASE J N=CUST1,<br />
S=SALES,<br />
SIMDAY=3<br />
SIMULATE<br />
/<br />
/&<br />
release a job<br />
job is in this schedule<br />
release it on 4th day<br />
produce simulation reports<br />
5-74 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.7 Simulation Commands<br />
5.7.12 RELEASE SCHEDULE<br />
5.7.12.1 Keywords<br />
The preceding example releases a job on the fourth day of the simulation<br />
period.<br />
RELEASE Schedule Name=sname Release one or more schedules from HELD<br />
status.<br />
Name=sname<br />
AT=hhmm|ddhhmm<br />
SImday=nn<br />
5.7.12.2 Keyword Descriptions<br />
5.7.12.3 Usage Notes<br />
Name=sname<br />
Specify the schedule (1- to 8-character schedule name) you want to release<br />
from HELD status.<br />
AT=hhmm|ddhhmm<br />
Specify the time that the schedule is to be released from HELD status. Specify<br />
hhmm in terms of a 24-hour clock. Use dd to indicate the number of autoscan<br />
days in the future when the schedule is to be released. Do not use dd if the<br />
schedule will be released today.<br />
SImday=nn<br />
Indicate what day of the simulation period to release the schedule from hold.<br />
Give the number of that day relative to the beginning of the simulation period,<br />
where the first day is day 0. There<strong>for</strong>e, to release a schedule from HELD status<br />
on the second day of simulation, specify SIMDAY=1. If you do not use this<br />
keyword, the schedule will be released from HELD status every day during<br />
the simulation period.<br />
Use the RELEASE Schedule command to release one or more schedules from<br />
HELD status. It must precede the SIMULATE command.<br />
<strong>Job</strong>s in a held schedule are not placed in a partition to simulate their<br />
processing until the RELEASE simulation command is issued against them.<br />
JCL that produces simulation reports requires the inclusion of a work file. A<br />
generic version of this work file is contained on the installation tape. The file's<br />
name is Z.<strong>CA</strong>WORK1. Tailor this file to your installation's needs and ensure<br />
that it is accessible be<strong>for</strong>e running the JCL that produces the reports.<br />
Chapter 5. Reports 5-75
5.7 Simulation Commands<br />
5.7.12.4 Example<br />
5.7.13 REQUEST <strong>Job</strong><br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
RELEASE S N=PAYROLL,<br />
AT=17,<br />
SIMDAY=3<br />
SIMULATE<br />
/<br />
/&<br />
release a schedule<br />
at 5: p.m.<br />
release it on 4th day<br />
produce simulation reports<br />
The preceding example releases a schedule from HELD status at 5:00 p.m. on<br />
the fourth day of the simulation period.<br />
REQUEST <strong>Job</strong> Name=jname<br />
Request one or more jobs and their respective<br />
successors.<br />
5.7.13.1 Keywords<br />
Name=jname<br />
AT=hhmm|ddhhmm<br />
JNo=nn<br />
Schedule=sname<br />
SImday=nn<br />
STation=nn<br />
5.7.13.2 Keyword Descriptions<br />
Name=jname<br />
Specify the job (1- to 8-character job name) you want to move to the ACTIVE<br />
queue. To request a group of jobs, use the asterisk (*) or question mark (?)<br />
mask characters.<br />
AT=hhmm|ddhhmm<br />
Specify the time that the job is to be moved to the ACTIVE queue. Specify<br />
hhmm in terms of a 24-hour clock. Use dd to indicate the number of autoscan<br />
days in the future when this is to occur. Do not use dd if the job will be<br />
moved to the ACTIVE queue today.<br />
JNo=nn<br />
Specify the job number (an integer from 1-99) if you want to activate a<br />
particular occurrence of a job.<br />
5-76 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.7 Simulation Commands<br />
5.7.13.3 Usage Notes<br />
5.7.13.4 Example<br />
Schedule=sname<br />
Specify the schedule name (1-8 characters) if the job has been defined in more<br />
than one schedule. If this is not specified, <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> will activate<br />
the first job it finds with the specified job name (if the schedule that the job<br />
belongs to is active).<br />
SImday=nn<br />
Indicate what day of the simulation period to activate the job. Give the<br />
number of that day relative to the beginning of the simulation period, where<br />
the first day is day 0. There<strong>for</strong>e, to activate a job on the second day of<br />
simulation, specify SIMDAY=1. If you do not use this keyword, the job will be<br />
activated every day during the simulation period.<br />
STation=nn<br />
Specify the station ID (integer from 1-99) <strong>for</strong> non-CPU stations.<br />
Use the REQUEST <strong>Job</strong> command to request one or more jobs and their<br />
respective successors. Use this command only if the schedule that contains the<br />
job is active.<br />
The REQUEST <strong>Job</strong> command must precede the SIMULATE command.<br />
Specify the schedule name if the job is assigned to more than one schedule.<br />
JCL that produces simulation reports requires the inclusion of a work file. A<br />
generic version of this work file is contained on the installation tape. The file's<br />
name is Z.<strong>CA</strong>WORK1. Tailor this file to your installation's needs and ensure<br />
that it is accessible be<strong>for</strong>e running the JCL that produces the reports.<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REQUEST J N=NOTTODAY,<br />
S=SALES,<br />
SIMDAY=1<br />
SIMULATE<br />
/<br />
/&<br />
activate a job<br />
job is in this schedule<br />
activate it on 2nd day<br />
produce simulation reports<br />
The preceding example activates a job in the SALES schedule on the second<br />
day of the simulation period. Note that the SALES schedule must be scheduled<br />
that day <strong>for</strong> one of its jobs to be activated.<br />
Chapter 5. Reports 5-77
5.7 Simulation Commands<br />
5.7.14 REQUEST Schedule<br />
5.7.14.1 Keywords<br />
REQUEST Schedule Name=sname Request one or more schedules and their<br />
respective successors.<br />
Name=sname<br />
AT=hhmm|ddhhmm<br />
SImday=nn<br />
5.7.14.2 Keyword Descriptions<br />
5.7.14.3 Usage Notes<br />
Name=sname<br />
Specify the schedule (1- to 8-character schedule name) you want to move to<br />
the ACTIVE queue. To request a group of schedules, use the asterisk (*) or<br />
question mark (?) mask characters.<br />
AT=hhmm|ddhhmm<br />
Specify the time that the job or schedule is to be moved to the ACTIVE queue.<br />
Specify hhmm in terms of a 24-hour clock. Use dd to indicate the number of<br />
autoscan days in the future when this is to occur. Do not use dd if the job or<br />
schedule will be moved to the ACTIVE queue today.<br />
SImday=nn<br />
Indicate what day of the simulation period to activate the job or schedule.<br />
Give the number of that day relative to the beginning of the simulation period,<br />
where the first day is day 0. There<strong>for</strong>e, to activate a job on the second day of<br />
simulation, specify SIMDAY=1. If you do not use this keyword, the job or<br />
schedule will be activated every day during the simulation period.<br />
Use the REQUEST Schedule command to request one or more schedules and<br />
their succesors. The REQUEST Schedule command must precede the<br />
SIMULATE command.<br />
JCL that produces simulation reports requires the inclusion of a work file. A<br />
generic version of this work file is contained on the installation tape. The file's<br />
name is Z.<strong>CA</strong>WORK1. Tailor this file to your installation's needs and ensure<br />
that it is accessible be<strong>for</strong>e running the JCL that produces the reports.<br />
5-78 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.7 Simulation Commands<br />
5.7.14.4 Example<br />
5.7.15 RERUN <strong>Job</strong><br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REQUEST S N=RUNONREQ,<br />
AT=12<br />
SIMULATE<br />
/<br />
/&<br />
activate a schedule<br />
at noon<br />
produce simulation reports<br />
The preceding example activates a schedule that has been defined with the<br />
REQUESTED criteria. These schedules are selected every day but are kept in<br />
the INACTIVE queue until a REQUEST command moves them to the ACTIVE<br />
queue.<br />
RERUN <strong>Job</strong> Name=jname<br />
Rerun one or more abended, failed, or<br />
interrupted jobs during a revised simulation.<br />
5.7.15.1 Keywords<br />
Name=jname<br />
AT=hhmm|ddhhmm<br />
JNo=nn<br />
Schedule=sname<br />
SImday=nn<br />
5.7.15.2 Keyword Descriptions<br />
Name=jname<br />
Specify the job (1- to 8-character job name) you want to rerun. To rerun a<br />
group of jobs, use the asterisk(*) or question mark (?) to mask characters.<br />
AT=hhmm|ddhhmm<br />
Specify the time that the job is to be rerun. Specify hhmm in terms of a<br />
24-hour clock. Use dd to indicate the number of autoscan days in the future<br />
when the job is to be rerun. Do not use dd if the job will be rerun today.<br />
JNo=nn<br />
Specify the job number (an integer from 1-99) if you want to rerun a particular<br />
occurrence of a job. To rerun a group of jobs, use the asterisk (*) or question<br />
mark (?) mask characters.<br />
Chapter 5. Reports 5-79
5.7 Simulation Commands<br />
5.7.15.3 Usage Notes<br />
5.7.15.4 Example<br />
Schedule=sname<br />
Specify the schedule name (1-8 characters) if the job has been defined in more<br />
than one schedule. If this is not specified, <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> will rerun<br />
the first job it finds with the specified job name.<br />
SImday=nn<br />
Indicate what day of the simulation period to rerun the job. Give the number<br />
of that day relative to the beginning of the simulation period, where the first<br />
day is day 0. There<strong>for</strong>e, to rerun a job on the second day of simulation, specify<br />
SIMDAY=1. If you do not use this keyword, the job will be rerun every day<br />
during the simulation period.<br />
Use the RERUN command to rerun a job during a revised simulation. This job<br />
has either currently abended, failed, or been interrupted by the <strong>Unicenter</strong><br />
<strong>CA</strong>-<strong>Scheduler</strong> Monitor.<br />
This RERUN <strong>Job</strong> command must precede the SIMULATE command with the<br />
REVISE keyword.<br />
Abended, failed, and interrupted jobs are not placed in a partition to simulate<br />
their processing until a RERUN simulation command is issued against them.<br />
JCL that produces simulation reports requires the inclusion of a work file. A<br />
generic version of this work file is contained on the installation tape. The file's<br />
name is Z.<strong>CA</strong>WORK1. Tailor this file to your installation's needs and ensure<br />
that it is accessible be<strong>for</strong>e running the JCL that produces the reports.<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
RERUN J N=CUST1,<br />
S=SALES<br />
SIMULATE REVISE=YES<br />
/<br />
/&<br />
rerun a job<br />
job is in this schedule<br />
produce revised simulation reports<br />
The preceding example simulates the rerun of a job that abended when it was<br />
run during the original simulation. The job will be rerun as soon as the revised<br />
simulation command is issued.<br />
5-80 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.7 Simulation Commands<br />
5.7.16 RONLY Schedule<br />
5.7.16.1 Keywords<br />
RONLY Schedule Name=sname Limit the Simulated Execution Schedule<br />
(SIMEXEC) report to one or more schedules.<br />
Name=sname<br />
SImday=nn<br />
5.7.16.2 Keyword Descriptions<br />
5.7.16.3 Usage Notes<br />
Name=sname<br />
Specify the schedule (1- to 8-character schedule name) to be included in the<br />
Simulated Execution Schedule (SIMEXEC) report. To include a group of<br />
schedules, use the asterisk (*) or question mark (?) mask characters.<br />
SImday=nn<br />
Indicate what day of the simulation period to process this command. Give the<br />
number of that day relative to the beginning of the simulation period, where<br />
the first day is day 0. There<strong>for</strong>e, to process the command only on the second<br />
day of simulation, specify SIMDAY=1. If you do not use this keyword, the<br />
command will be processed every day during the simulation period.<br />
Use the RONLY Schedule command to limit the Simulated Execution Schedule<br />
report to one or more schedules. This command must precede the SIMULATE<br />
command.<br />
Use the RONLY Schedule command to limit the schedules that are included in<br />
the Simulated Execution Schedule (SIMEXEC) report. Although the report is<br />
limited, the entire workload is still used during simulation processing. This<br />
command is useful when the workload is closely interdependent across<br />
schedules (<strong>for</strong> example, when many schedules or jobs are predecessors <strong>for</strong><br />
other schedules). In that case, you would ordinarily need to simulate more<br />
schedules than you were interested in to obtain accurate simulation results.<br />
Instead, however, you can use the RONLY Schedule command to list only<br />
those schedules you want to see.<br />
Other simulation reports are not affected by this command.<br />
JCL that produces simulation reports requires the inclusion of a work file. A<br />
generic version of this work file is contained on the installation tape. The file's<br />
name is Z.<strong>CA</strong>WORK1. Tailor this file to your installation's needs and ensure<br />
that it is accessible be<strong>for</strong>e running the JCL that produces the reports.<br />
Chapter 5. Reports 5-81
5.7 Simulation Commands<br />
5.7.16.4 Example<br />
5.7.17 RUN <strong>Job</strong><br />
// job <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
RONLY S N=ACCT<br />
RONLY S N=MANU<br />
SIMULATE<br />
/<br />
/&<br />
list the accounting schedules only<br />
list the manufacturing schedules only<br />
per<strong>for</strong>m the simulation<br />
The preceding example limits the Simulated Execution Schedule (SIMEXEC)<br />
report to schedules beginning with ACCT and MANU.<br />
RUN <strong>Job</strong> Name=jname<br />
Include one or more jobs that are not<br />
normally selected today.<br />
5.7.17.1 Keywords<br />
Name=jname<br />
AT=hhmm|ddhhmm<br />
Jno=nn<br />
Schedule=sname<br />
SImday=nn<br />
STation=nn<br />
5.7.17.2 Keyword Descriptions<br />
Name=jname<br />
Specify the job (1- to 8-character job name) you want to include. If you want<br />
to include more than one job, use the asterisk (*) or question mark (?) mask<br />
characters.<br />
AT=hhmm|ddhhmm<br />
Specify the time that the job is to start. Specify hhmm in terms of a 24-hour<br />
clock. Use dd to indicate the number of autoscan days in the future when the<br />
job is to be included. Do not use dd if the job will be included today.<br />
JNo=nn<br />
Specify the job number (an integer from 1-99) if you want to include a<br />
particular occurrence of a job.<br />
Schedule=sname<br />
Specify the schedule name (1-8 characters) if the job has been defined in more<br />
than one schedule. If this is not specified, <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> will include<br />
5-82 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.7 Simulation Commands<br />
5.7.17.3 Usage Notes<br />
5.7.17.4 Example<br />
the first job it finds with the specified job name (if the schedule that the job<br />
belongs to is active).<br />
SImday=nn<br />
Indicate what day of the simulation period to include the job. Give the<br />
number of that day relative to the beginning of the simulation period, where<br />
the first day is day 0. There<strong>for</strong>e, to include a job on the second day of<br />
simulation, specify SIMDAY=1. If you do not use this keyword, the job will be<br />
included every day during the simulation period.<br />
STation=nn<br />
Specify the station ID (integer from 1-99) <strong>for</strong> non-CPU stations.<br />
Use the RUN <strong>Job</strong> command to include one or more jobs that are not normally<br />
selected today. Use this command only if the schedule that contains the job is<br />
active: it must either be selected today or added using a RUN Schedule<br />
command.<br />
The RUN Schedule command must precede the SIMULATE command.<br />
JCL that produces simulation reports requires the inclusion of a work file. A<br />
generic version of this work file is contained on the installation tape. The file's<br />
name is Z.<strong>CA</strong>WORK1. Tailor this file to your installation's needs and ensure<br />
that it is accessible be<strong>for</strong>e running the JCL that produces the reports.<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
RUN J N=CUST1,<br />
S=SALES,<br />
SIMDAY=1<br />
SIMULATE<br />
/<br />
/&<br />
add a job<br />
job is in this schedule<br />
add it only on 2nd day<br />
produce simulation reports<br />
The preceding example adds a job that is not normally selected today,<br />
although it is part of a schedule that is normally selected. The job is to be<br />
added to the schedule only on the second day of the simulation period.<br />
Chapter 5. Reports 5-83
5.7 Simulation Commands<br />
5.7.18 RUN Schedule<br />
RUN Schedule Name=sname<br />
Include one or more schedules that are not<br />
normally selected today.<br />
5.7.18.1 Keywords<br />
Name=sname<br />
AT=hhmm|ddhhmm<br />
SImday=nn<br />
5.7.18.2 Keyword Descriptions<br />
5.7.18.3 Usage Notes<br />
Name=sname<br />
Specify the schedule (1- to 8-character schedule name) you want to include. If<br />
you want to include more than one schedule, use the asterisk (*) or question<br />
mark (?) mask characters.<br />
AT=hhmm|ddhhmm<br />
Specify the time that the schedule is to start. Specify hhmm in terms of a<br />
24-hour clock. Use dd to indicate the number of autoscan days in the future<br />
when the schedule is to be included. Do not use dd if the schedule will be<br />
included today.<br />
SImday=nn<br />
Indicate what day of the simulation period to include the schedule. Give the<br />
number of that day relative to the beginning of the simulation period, where<br />
the first day is day 0. There<strong>for</strong>e, to include a schedule on the second day of<br />
simulation, specify SIMDAY=1. If you do not use this keyword, the schedule<br />
will be included every day during the simulation period.<br />
Use the RUN Schedule command to include one or more schedules that are<br />
not normally selected today. This command must precede the SIMULATE<br />
command.<br />
JCL that produces simulation reports requires the inclusion of a work file. A<br />
generic version of this work file is contained on the installation tape. The file's<br />
name is Z.<strong>CA</strong>WORK1. Tailor this file to your installation's needs and ensure<br />
that it is accessible be<strong>for</strong>e running the JCL that produces the reports.<br />
5-84 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.7 Simulation Commands<br />
5.7.18.4 Example<br />
5.7.19 SIMULATE<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
RUN S N=PAYROLL,<br />
AT=12<br />
SIMULATE<br />
/<br />
/&<br />
add a schedule<br />
start it at noon<br />
produce simulation reports<br />
The preceding example adds a schedule that is not normally selected today.<br />
The schedule is to start at noon.<br />
SIMULATE<br />
Select jobs and schedules in simulation mode, and produce<br />
reports showing where and when they would be processed.<br />
5.7.19.1 Optional Object<br />
5.7.19.2 Keywords<br />
TAPEPULL<br />
You can specify this optional object to produce a sequential file (the JNI file)<br />
that will be accessed later to provide a list of tapes needed <strong>for</strong> the simulated<br />
jobs if you have either BrightStor <strong>CA</strong>-Dynam/T or <strong>CA</strong>-Tape Manager installed.<br />
See the topic Usage Notes that follows <strong>for</strong> more in<strong>for</strong>mation.<br />
Cpushut=yes<br />
EVeryday=NO|YES<br />
EXCrept=(reportid1,reportid2,...)<br />
FOR=nn<br />
FromDate=AUTOS|TODAY|mmddyy|ddmmyy<br />
FromTime=hhmm<br />
INCrept=(reportid1,reportid2,...)<br />
INTerval=hhmm|mm<br />
MAXtime=hhmm|ddhhmm<br />
MONthof=mmyy<br />
Revise=yes<br />
RFT=hhmm|ddhhmm<br />
RTT=hhmm|ddhhmm<br />
STation=(nn,...)<br />
Traceopt=(dump1,...dump5)<br />
UPDATE=YES|NO<br />
Chapter 5. Reports 5-85
5.7 Simulation Commands<br />
5.7.19.3 Keyword Descriptions<br />
Cpushut=yes<br />
Use this keyword if you want the CPU station to stop jobs at Production End<br />
Time (PET), and restart them at Production Start Time (PST).<br />
EVeryday=NO|YES<br />
Use this keyword only in conjunction with the RFT and RTT keywords.<br />
Specify YES to cause the RFT (report from time) and RTT (report to time)<br />
keywords to be applied to every day of the simulation period. Specify NO to<br />
cause the RFT and RTT keyword to be applied to only the first day of the<br />
simulation period. NO is the default.<br />
EXCrept=(reportid1,reportid2,...)<br />
List the reports that you do not want printed as part of this simulation run. If<br />
you do not use this keyword, all reports are printed except the Tracking File<br />
<strong>Job</strong> Errors report that is only generated when you specify REVISE=YES.<br />
To Exclude This Report<br />
Date Translation Report<br />
Schedules/<strong>Job</strong> Selected For All <strong>Job</strong>s<br />
Simulated<br />
Execution Schedule<br />
Unit Utilization<br />
Device Utilization<br />
Shared Device Utilization<br />
Backlogged Schedules/<strong>Job</strong>s<br />
Late <strong>Job</strong> Profile<br />
Tracking File <strong>Job</strong> Start Errors<br />
Specify<br />
DATETRAN<br />
SELECTED<br />
SIMEXEC<br />
UNITUTIL<br />
DEVUTIL<br />
DEVUTIL<br />
BACKLOG<br />
LATEJOBS<br />
EXPERROR<br />
FOR=nn<br />
Specify the number of days that you want simulated selecting and scheduling.<br />
<strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> will begin selecting jobs and schedules that are<br />
supposed to be processed on the date specified by FROMDATE and will<br />
continue selecting jobs and schedules that are to be processed on the next day,<br />
and the day after that, and so on, until it covers the number of days specified<br />
here. If FOR is not specified, <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> will select jobs and<br />
schedules only <strong>for</strong> one day.<br />
5-86 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.7 Simulation Commands<br />
FromDate=AUTOS|TODAY|mmddyy|ddmmyy<br />
Give the date when you want simulation to begin:<br />
AUTOS<br />
TODAY<br />
mmddyy|<br />
FromTime=hhmm<br />
Start simulation on the date the database was scanned. This<br />
ignores the actual system date, which changes at midnight. This<br />
is the default and need not be specified.<br />
Start simulation today, according to the system date. If it is after<br />
midnight, this may be a day later than the autoscan date, which<br />
does not change at midnight. (If autoscan takes place at<br />
midnight, FD=AUTOS and FD=TODAY are the same.)<br />
Start simulation on this date. For example, if you specify<br />
FD=120103, ddmmyy <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> selects jobs and<br />
schedules that are to be processed on December 1, 2003. Specify<br />
the date as mmddyy or ddmmyy, whichever is the standard date<br />
<strong>for</strong>mat used at your installation. The simulation will start at<br />
AUTOTIM on this date, unless overridden by FROMTIME.<br />
Give the time that you want simulation to begin. If no time is specified,<br />
simulation will begin when the database is scanned at AUTOTIM on the date<br />
specified by FD. However, if you specify FT=1200 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong><br />
will begin selecting schedules and jobs at noon instead of at AUTOTIM when<br />
selection is normally done, and the simulation reports will begin at noon.<br />
INCrept=(reportid1,reportid2...)<br />
Print one or more <strong>for</strong>ecast reports in addition to the simulation reports.<br />
To Include This Report<br />
<strong>Job</strong> Summary<br />
Schedules/<strong>Job</strong>s Selected For Station X<br />
Resources Required For <strong>Job</strong>s At Station X<br />
Run Book<br />
Predecessors Required For <strong>Job</strong>s At Station X<br />
Route Station Report<br />
Specify<br />
SUMMARY<br />
STATION<br />
RESSTN<br />
RUNBOOK<br />
PREDS<br />
ROUTESTN<br />
INTerval=hhmm|mm<br />
Specify the time interval on the DEVUTIL and UNITUTIL reports. For<br />
example, if you specify INTERVAL=30, <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> will sample<br />
device and unit utilization every 30 minutes, and the reports will the<br />
utilization at this interval. The default interval is set at 15 minutes.<br />
Chapter 5. Reports 5-87
5.7 Simulation Commands<br />
MAXtime=hhmm|ddhhmm<br />
Specify when to stop simulation. If you do not specify MAXTIME, simulation<br />
will stop at the end of the last day in the simulation period. Specifying<br />
MAXTIME allows you to stop simulation be<strong>for</strong>e the end of the day or let it<br />
continue <strong>for</strong> additional days. Use hhmm to tell what time to stop simulation<br />
on the first day of the simulation period. Use ddhhmm to tell what time to<br />
stop simulation on the second day, third day, and so on. For example, to stop<br />
simulation at 10:00 p.m. on the first day, specify MAXTIME=2200. To stop<br />
simulation at 5:00 p.m. on the fifth day, specify MAXTIME=041700. <strong>Unicenter</strong><br />
<strong>CA</strong>-<strong>Scheduler</strong> will stop the simulated scheduling of jobs at his time on this day<br />
even if all of the selected schedules and jobs have not been processed. Those<br />
that have started but have not completed will show on the Late <strong>Job</strong> Profile At<br />
End Of Simulation report as RUNNING or INCOMPLETE.<br />
MONthof=mmyy<br />
Specify a month (mm) or year(yy) other than the current month/year on the<br />
<strong>Job</strong> Summary report. This option is valid only if INCREPT=SUMMARY is<br />
specified, and does not affect simulation, only the <strong>Job</strong> Summary report. If not<br />
specified, the current month and year will appear on the report.<br />
Revise=yes<br />
Get an up-to-date picture of how the real production is going and what work<br />
remains to be done. This is useful if you are having system problems and<br />
want to see how they affect the schedule. The Tracking File <strong>Job</strong> Start Errors<br />
report is generated in addition to all of the regular simulation reports, which<br />
will start at the time the SIMULATE command is issued. The in<strong>for</strong>mation <strong>for</strong><br />
all of these reports is taken from the tracking file instead of <strong>for</strong>m the database;<br />
there<strong>for</strong>e it includes backlogged jobs from previous days and jobs that have<br />
been added to the schedule using online commands. Completed jobs are<br />
eliminated from the schedule. Start and end times on the Late <strong>Job</strong> Profile<br />
report are revised. The Tracking File <strong>Job</strong> Errors report shows all of the jobs in<br />
the tracking file that have either not started or started late. We recommend<br />
that this report be run only when the <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> Monitor is shut<br />
down.<br />
RFT=hhmm|ddhhmm<br />
Specify RFT=hhmm (report from time) in conjunction with RTT=hhmm (report<br />
to time) to limit the reporting period <strong>for</strong> the Simulated Execution Schedule<br />
(SIMEXEC) report. Specifying EVERYDAY=YES produces the Simulated<br />
Execution Schedule report <strong>for</strong> every day of the simulation period. Specifying<br />
EVERYDAY = NO limits the report to the first day of the simulation period.<br />
Use the RFT=ddhhmm <strong>for</strong>mat to limit the report to a day other than the first<br />
day of the simulation period. Other simulation reports are not affected by this<br />
keyword.<br />
5-88 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.7 Simulation Commands<br />
RTT=hhmm|ddhhmm<br />
Specify RTT=hhmm (report to time) in conjunction with RFT=hhmm (report<br />
from time) to limit the reporting period <strong>for</strong> the Simulated Execution Schedule<br />
(SIMEXEC) report. Specifying EVERYDAY=YES produces the Simulated<br />
Execution Schedule report <strong>for</strong> every day of the simulation period. Specifying<br />
EVERYDAY = NO limits the report to the first day of the simulation period.<br />
Use the RTT=ddhhmm <strong>for</strong>mat to limit the report to a day other than the first<br />
day of the simulation period. Other simulation reports are not affected by this<br />
keyword.<br />
STation=(nn,...)<br />
Identify up to eight workstations <strong>for</strong> which simulation reports are to be<br />
produced. If no STATION is specified, reports are produced <strong>for</strong> all defined<br />
stations.<br />
Traceopt=(dump1,...dump5)<br />
Used only at the request of Computer Associates support personnel to<br />
generate diagnostic dumps during a simulation run. List the names of the<br />
dumps that you need:<br />
To Trace<br />
Events<br />
<strong>Job</strong>s as scheduled<br />
Catalog I/O<br />
Sort I/O<br />
Internal tables on every update<br />
Specify<br />
EVENT<br />
EXEC<br />
<strong>CA</strong>MIO<br />
SORTIO<br />
TABLES<br />
UPDATE=YES|NO<br />
Turns the SIMTIME update on or off in Schedule/<strong>Job</strong> base records. Yes is the<br />
default. To prevent the update, specify NO.<br />
Chapter 5. Reports 5-89
5.7 Simulation Commands<br />
5.7.19.4 Usage Notes<br />
Use the SIMULATE command to select jobs and schedules in simulation mode,<br />
and produce reports showing where and when they would be processed JCL<br />
that produces simulation reports requires the inclusion of a work file. A<br />
generic version of this work file is contained on the installation tape. The file's<br />
name is Z.<strong>CA</strong>WORK1. Tailor this file to your installation's needs and ensure<br />
that it is accessible be<strong>for</strong>e running the JCL that produces the reports.<br />
In addition to all simulation reports, the SIMULATE command with the<br />
TAPEPULL object produces a JNI file ( <strong>Job</strong> Network In<strong>for</strong>mation file). The JNI<br />
file is a sequential data set that will be later accessed to produce a list of tapes<br />
needed <strong>for</strong> the simulated jobs. (See also TAPEPULL GROUP command) The<br />
JNI file contains a record <strong>for</strong> every job in the simulated execution order. These<br />
records contain (among other things) in<strong>for</strong>mation about the jobs' JCL and<br />
where it resides. They also contain simulated values <strong>for</strong> variable parameters<br />
that can be resolved by <strong>Unicenter</strong> <strong>CA</strong>-Driver at JCL validation time. (See the<br />
chapter "<strong>Unicenter</strong> <strong>CA</strong>-Driver Procedures, Variable Parameters, and<br />
Functions".) Only those jobs that appear on the Simulated Execution Schedule<br />
(SIMEXEC) report will have matching records in the JNI file.<br />
In addition to all other simulation reports, using the FROMDATE keyword<br />
with the TAPEPULL object produces the JNI file <strong>for</strong> a future day, thus<br />
providing a list of tapes <strong>for</strong> future work.<br />
Using the REVISE=YES keyword value with the TAPEPULL object produces<br />
the JNI file <strong>for</strong> the portion of the current workload not yet completed.<br />
Held jobs in the current workload require a RELEASE JOB command run<br />
against them in order <strong>for</strong> those jobs to be simulated and recorded in the JNI<br />
file. <strong>Job</strong>s that are currently in ABENDED, FAILED or INTRPTD status require<br />
a RERUN <strong>Job</strong> command run against them in order <strong>for</strong> those jobs to be<br />
simulated and recorded in the JNI file.<br />
You can use the RFT=hhmm and RTT=hhmm keywords to limit the Simulated<br />
Execution Schedule (SIMEXEC) report and the JNI file to those jobs that would<br />
run in the specified period.<br />
5-90 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.7 Simulation Commands<br />
5.7.19.5 Example<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
OVERRIDE RESOURCE SYSID=1,<br />
change CPU 1 resources<br />
DASD3=(339,1)<br />
OVERRIDE RESOURCE SYSID=2,<br />
change CPU 2 resources<br />
DASD1=(338,1)<br />
OVERRIDE RESOURCE ST=2,<br />
change station 2 resources<br />
UR1=(PCHKEYS,2)<br />
OVERRIDE RESOURCE ST=2,<br />
add keypunch operator SALLY<br />
UNIT3=(ABC,SALLY)<br />
to the keypunch station<br />
OVERRIDE SHRRSR ST=4,EVERYDAY=YES, change resources shared by<br />
OST=81,OET=1, CPU 1 and CPU 2 from 8:1<br />
DASD1=(338,2,1,2)<br />
to 1: every day<br />
OVERRIDE SCHEDULE N=DAILY4,FACTOR=75 decrease processing time<br />
OVERRIDE JOB N=SUNJOB1,SC=SUNDAY1, increase processing time<br />
ST=4,FACTOR=125<br />
EXCLUDE SCHEDULE N=EXCSCHD1<br />
exclude a schedule<br />
RUN Schedule N=SCHDA<br />
add a schedule<br />
RUN JOB N=JOBA,S=SCHDB<br />
add a job<br />
HOLD JOB N=JOBB<br />
hold a job<br />
RELEASE JOB N=JOBC<br />
release a job<br />
REQUEST SCHEDULE N=SCHDC<br />
activate an "on-request" schedule<br />
SIMULATE FD=9143,FT=1,FOR=2, begin selection on this date at<br />
MAX=215,INTERV=2,<br />
this time <strong>for</strong> 2 days and report<br />
/<br />
/&<br />
STA=(2,3,4,5,6)<br />
on these stations<br />
Chapter 5. Reports 5-91
5.7 Simulation Commands<br />
The preceding example illustrates how to run simulation with the OVERRIDE,<br />
EXCLUDE, RUN, HOLD, RELEASE, and REQUEST commands. Note that<br />
these commands are all coded be<strong>for</strong>e SIMULATE. The OVERRIDE<br />
RESOURCE commands change the number of DASD devices dedicated to each<br />
of the two CPUs, as well as the number of keypunch devices at station 20. In<br />
addition, the new keypunch operator 'SALLY' has been added to the staff. The<br />
OVERRIDE SHRRSR command changes the number of DASD devices shared<br />
by the two CPUs <strong>for</strong> a two-hour period every day. The OVERRIDE<br />
SCHEDULE command decreases one schedule's overall processing time while<br />
the OVERRIDE JOB command increases one job's processing time at the CPU.<br />
The SIMULATE command directs <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> to select all jobs<br />
and schedules that would normally be processed on September 14th and 15th,<br />
except <strong>for</strong> the EXCSCHD1 schedule. It also:<br />
■<br />
■<br />
■<br />
■<br />
■<br />
Adds a schedule that would not normally be selected<br />
Adds a job that would not normally be selected, although the rest of its<br />
schedule is selected<br />
Holds a job that normally would be run<br />
Releases a job that is in HELD status<br />
Activates a schedule that was defined with REQUESTED criteria and is<br />
selected every day in case it is needed<br />
The simulation period is to start at 1:00 a.m. instead of at AUTOTIM and is to<br />
continue until 3:00 p.m. on the third day instead of ending after two days of<br />
processing. The SIMULATE command also directs <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> to<br />
produce simulation reports <strong>for</strong> stations 20, 30, 40, 50, and 60, showing a<br />
20-minute time interval on the utilization reports.<br />
The reports generated from this command are shown in the section on<br />
Simulation Reports.<br />
5-92 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.8 Simulation Reports<br />
5.8 Simulation Reports<br />
The reports generated by the SIMULATE command are illustrated on the<br />
following pages, organized alphabetically by report title <strong>for</strong> easy reference. The<br />
three-part report heading is illustrated following:<br />
COMPUTER ASSOCIATES<br />
<strong>CA</strong>-SCHEDULER 7.3 yymmSHvvn<br />
The left-hand part of the heading identifies the product by vendor, name,<br />
release number, and generation level. The generation level consists of the last<br />
two digits of the year (yy), the month (mm), the product code (SH), the release<br />
number (vv), and a number <strong>for</strong> internal use (n).<br />
SIMULATED EXECUTION SCHEDULE FOR STATION 3<br />
PRE-CPU STATION (VERIFY<br />
The middle of the heading gives the report title. If the report is <strong>for</strong> a specific<br />
station, the station ID or name is inserted on the first line, and the station title<br />
is printed on the second line (id, name, and title are all taken from the station<br />
definition).<br />
SIMEXEC PAGE 1<br />
14 SEP 23 11.13.5<br />
SIMULATION DATE 14 SEP 23<br />
The right-hand part of the heading begins with the report id. (Each report has<br />
a 1- to 8-character report ID that can be specified on the EXCREPT keyword to<br />
exclude the report from a simulation run or on the INCREPT keyword to<br />
include the report in a <strong>for</strong>ecast run.) The second line gives the date and time<br />
the report is generated. The bottom line gives the date <strong>for</strong> which the events are<br />
being simulated.<br />
5.8.1 Backlogged Schedules/<strong>Job</strong>s (BACKLOG)<br />
The Backlogged Schedules/<strong>Job</strong>s report lists all jobs that will probably not be<br />
processed on the day they are selected and will have to be carried over to the<br />
next day as backlog.<br />
COMPUTER ASSOCIATES BACKLOGGED SCHEDULES/JOBS AT END OF SIMULATION BACKLOG PAGE 1<br />
<strong>CA</strong>-SCHEDULER 7.3 39SH73<br />
14 SEP 23 11.13.5<br />
SIMULATION DATE 14 SEP 23<br />
SCHEDULE ------JOB-----<br />
NAME NAME NO ST EARLY TIME MUST TIME DEADLINE PREDECESSORS NOT SATISFIED WAITING FOR<br />
-------- -------- -- -- -------------- -------------- -------------- ----------------------------- -------------<br />
SCD3 JOB3B 1 4 JOB3A -1 4<br />
SCD4 JOB4C 1 4 JOB4B -1 4<br />
SCD4 JOB4B 1 4 9/15/3 8. START TIME<br />
Chapter 5. Reports 5-93
5.8 Simulation Reports<br />
The following in<strong>for</strong>mation is given:<br />
SCHEDULE NAME<br />
JOB NAME<br />
JOB NO<br />
JOB ST<br />
EARLY TIME<br />
MUSTTIME<br />
DEADLINE<br />
The schedules that these jobs are assigned to.<br />
These jobs will not have been started by production<br />
end time on September 14, and there<strong>for</strong>e will be<br />
carried over to the next day automatically.<br />
Any number higher than 01 indicates that the backlog<br />
job is the second or third time (or more) the job is<br />
scheduled that day.<br />
The stations where the job is scheduled <strong>for</strong> processing.<br />
The job's EARLIEST START TIME will be taken from<br />
the following records in the following order:<br />
1. <strong>Job</strong> reason code record (JRC) if defined and there<br />
is a matching nonzero early start time <strong>for</strong> the<br />
selection reason.<br />
2. <strong>Job</strong> base record (JBR) if early time is defined.<br />
3. The job will start when the schedule it is in starts.<br />
The job's MUST START BY TIME will be taken from<br />
the following records in the following order:<br />
1. <strong>Job</strong> reason code record (JRC) if defined and there<br />
is a matching nonzero must time <strong>for</strong> the selection<br />
reason.<br />
2. <strong>Job</strong> base record (JBR) if must time is defined.<br />
3. No must start by time is used.<br />
The job's COMPLETION DEADLINE TIME is taken<br />
from the following records in the following order:<br />
1. <strong>Job</strong> reason code record (JRC) if defined and there<br />
is a matching nonzero DEADLINE <strong>for</strong> the selection<br />
reason.<br />
2. <strong>Job</strong> base record (JBR) if DEADLINE is defined.<br />
3. No deadline time is used.<br />
PREDECESSORS NOT SATISFIED<br />
The job cannot be processed today because these<br />
predecessor conditions have not yet been satisfied.<br />
WAITING FOR<br />
The job cannot be processed today <strong>for</strong> one of these<br />
reasons:<br />
START TIME<br />
The EARLY TIME has not yet been<br />
reached.<br />
5-94 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.8 Simulation Reports<br />
PREV-STN<br />
RESOURCE<br />
All of the predecessor conditions<br />
have been satisfied except the<br />
completion of this job at a previous<br />
station.<br />
All of the predecessor conditions<br />
have been satisfied, but the job is<br />
waiting <strong>for</strong> either a DASD volume to<br />
be mounted, exclusive use of a data<br />
set, mutually exclusive jobs to end,<br />
or a partition/unit to have the<br />
correct class availability. In a<br />
multi-CPU environment, there must<br />
be a resource record defined <strong>for</strong> the<br />
CPU station <strong>for</strong> each SYSID.<br />
In addition, if the job has BACKLOG=NO, the word PURGED will appear<br />
following the WAITING FOR column. This indicates that the job has been<br />
purged from the schedule.<br />
5.8.2 Date Translation Report (DATETRAN)<br />
The Date Translation report shows which Gregorian calendar dates, workdays,<br />
holidays, and accounting periods are true <strong>for</strong> a specific date and datetable<br />
combination. We recommend that you run this report to verify that the<br />
selection criteria keywords you use in your schedule and job criteria<br />
definitions are correct. In some cases, this report can be interpreted as showing<br />
which selection criteria keywords are false. In either case, the values on this<br />
report are always calculated based upon the combination of Gregorian<br />
calendar conditions, a specific datetable definition, and the actual date the<br />
report is run. When schedules and jobs do not use calendars <strong>for</strong> selection, this<br />
report will show which selection criteria keywords they can use on a specific<br />
day to be selected.<br />
Chapter 5. Reports 5-95
5.8 Simulation Reports<br />
COMPUTER ASSOCIATES DATE TRANSLATION REPORT DATETRAN PAGE 1<br />
<strong>CA</strong>-SCHEDULER 7.3 39SHESA 4 SEP 23 15.53.49<br />
SIMULATION DATE 8 SEP 23<br />
JULIAN DATE=3251<br />
GREGORIAN DATE=9/8/3<br />
TABLE NAME=DATETAB<br />
DAY OF WEEK=FRI WEEK-DAY=YES WEEK-END=NO MWF=YES TT=NO NTH DAY OF MONTH=FRI2 FRI-4 NEGATIVE DAY OF MONTH=DOM-23<br />
WEEK OF MONTH=2ND-WEEK WEEK OF YEAR=WOY36 WOY-18 DAYS IN MONTH=3 LEAP-YEAR=NO<br />
DAY1OF2=NO DAY2OF2=YES<br />
DAY1OF3=NO DAY2OF3=NO DAY3OF3=YES<br />
DAY1OF4=NO DAY2OF4=YES DAY3OF4=NO DAY4OF4=NO<br />
DAY1OF5=NO DAY2OF5=NO DAY3OF5=NO DAY4OF5=NO DAY5OF5=YES<br />
DAY1OF6=NO DAY2OF6=NO DAY3OF6=NO DAY4OF6=NO DAY5OF6=NO DAY6OF6=YES<br />
WEEK1OF2=YES WEEK2OF2=NO<br />
WEEK1OF3=YES WEEK2OF3=NO WEEK3OF3=NO<br />
WEEK1OF4=YES WEEK2OF4=NO WEEK3OF4=NO WEEK4OF4=NO<br />
WEEK1OF5=NO WEEK2OF5=NO WEEK3OF5=YES WEEK4OF5=NO WEEK5OF5=NO<br />
WEEK1OF6=YES WEEK2OF6=NO WEEK3OF6=NO WEEK4OF6=NO WEEK5OF6=NO WEEK6OF6=NO<br />
WORK-DAY=YES WORK DAY OF WEEK=WDOW5 WDOW-1 WORK DAY OF MONTH=WDOM6 WDOM-16 WORK DAY OF YEAR=18 -81<br />
WORK WEEK OF MONTH=WWOM2 WWOM-4<br />
WORK WEEK OF YEAR=WWOY36 WWOY-17<br />
RD1=+5 -16 RD2=+5 -16 RD3=+5 -17 RD4=+4 -18 RD5=+3 -19 RD6=+2 -2 RD7=+1 -21 RD8=+ -<br />
RD9=+22 -1 RD1=+21 -1 RD11=+2 -1 RD12=+2 -2 RD13=+2 -3 RD14=+19 -4 RD15=+18 -5 RD16=+17 -6<br />
RD17=+16 -6 RD18=+15 -6 RD19=+15 -7 RD2=+15 -8 RD21=+14 -9 RD22=+13 -1 RD23=+12 -11 RD24=+11 -11<br />
RD25=+1 -11 RD26=+1 -12 RD27=+1 -13 RD28=+9 -14 RD29=+8 -15 RD3=+7 -16 RD31=+6<br />
HDAY=NO<br />
HDAY-1=NO HDAY-2=NO HDAY-3=NO HDAY-4=NO HDAY-5=YES HDAY-6=YES HDAY-7=NO<br />
HDAY1 =YES HDAY2 =YES HDAY3 =NO HDAY4 =NO HDAY5 =NO HDAY6 =NO HDAY7 =NO HDAY8 =YES HDAY9 =YES HDAY1=NO<br />
HDAY11=NO HDAY12=NO HDAY13=NO HDAY14=NO HDAY15=YES HDAY16=YES HDAY17=NO HDAY18=NO HDAY19=NO HDAY2=NO<br />
HDAY21=NO HDAY22=YES HDAY23=YES HDAY24=NO HDAY25=NO HDAY26=NO HDAY27=NO HDAY28=NO HDAY29=YES HDAY3=YES<br />
HDAY31=NO<br />
A-ACCOUNTING DAY=YES DAY OF MONTH=ADOM6 ADOM-16 DAY OF YEAR=18 -81 WEEK OF MONTH=AWOM2 AWOM-4 MONTH OF YEAR=AMOY9 AMOY-4<br />
X-ACCOUNTING DAY=YES DAY OF MONTH=XDOM6 XDOM-16 DAY OF YEAR=18 -81 WEEK OF MONTH=XWOM2 XWOM-4 MONTH OF YEAR=XMOY9 XMOY-4<br />
The Date Translation report will also display valid accounting day conditions<br />
based upon the seven-byte datetable name. This means that all defined<br />
variations (prefixes) of the named datetable will be analyzed at the end of the<br />
report.<br />
The following in<strong>for</strong>mation is included on the Date Translation Report:<br />
JULIAN DATE<br />
TABLE NAME<br />
The first two digits are the year. The last three digits<br />
are the day of year, from 001 to 366.<br />
The name of the datetable that was used to determine<br />
which days are workdays, which days are accounting<br />
days, when the periods end, and when the accounting<br />
year ends. (Calendar conditions, like the fifth week of<br />
the year, remain the same regardless of which<br />
datetable is referenced.) The datetable name was<br />
either specified on the schedule definition or taken<br />
from the DATETABL option in the <strong>CA</strong>IJGEN macro,<br />
which specifies a default datetable <strong>for</strong> schedules that<br />
do not define one.<br />
5-96 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.8 Simulation Reports<br />
GREGORIAN DATE<br />
DAY OF WEEK...<br />
The date in American <strong>for</strong>mat mm/dd/yy or European<br />
<strong>for</strong>mat dd/mm/yy. The <strong>for</strong>mat depends on the<br />
DATETYPE installation option.<br />
The next three lines indicate whether a number of<br />
calendar conditions from the criteria vocabulary are<br />
true on this date: (Refer to the sample report.)<br />
Schedules And <strong>Job</strong>s Whose Selection Criteria Is Will Be True Will Be False<br />
FRI (Friday) x<br />
WEEK-DAY (a weekday) x<br />
WEEK-END (a weekend day) x<br />
MWF (Monday, Wednesday, or Friday) x<br />
TT (Tuesday or Thursday) x<br />
FRI2 (2nd Friday of the month) x<br />
FRI-4 (3rd from last Friday of the month) x<br />
DOM-23 (22nd to last day of the month) x<br />
LEAP-YEAR (is it a leap year) x<br />
2ND-WEEK (2nd week of the month) x<br />
WOY36 (37th week of the year) x<br />
WOY-18 (17th-to-last week of the year) x<br />
Chapter 5. Reports 5-97
5.8 Simulation Reports<br />
DAY1OF2...<br />
The next five lines indicate which 1- to 6-day cyclic<br />
conditions are true <strong>for</strong> the report date.<br />
Schedules And <strong>Job</strong>s Whose Selection Criteria Is<br />
Will Be<br />
True<br />
Will Be<br />
False<br />
DAY1OF2 (day 1 in a 2-day cycle) x<br />
DAY2OF2 (day 2 in a 2-day cycle) x<br />
DAY1OF3 (day 1 in a 3-day cycle) x<br />
DAY2OF3 (day 2 in a 3-day cycle) x<br />
DAY3OF3 (day 3 in a 3-day cycle) x<br />
DAY1OF4 (day 1 in a 4-day cycle) x<br />
DAY2OF4 (day 2 in a 4-day cycle) x<br />
DAY3OF4 (day 3 in a 4-day cycle) x<br />
DAY4OF4 (day 4 in a 4-day cycle) x<br />
DAY1OF5 (day 1 in a 5-day cycle) x<br />
DAY2OF5 (day 2 in a 5-day cycle) x<br />
DAY3OF5 (day 3 in a 5-day cycle) x<br />
DAY4OF5 (day 4 in a 5-day cycle) x<br />
DAY5OF5 (day 5 in a 5-day cycle) x<br />
DAY1OF6 (day 1 in a 6-day cycle) x<br />
DAY2OF6 (day 2 in a 6-day cycle) x<br />
DAY3OF6 (day 3 in a 6-day cycle) x<br />
DAY4OF6 (day 4 in a 6-day cycle) x<br />
DAY5OF6 (day 5 in a 6-day cycle) x<br />
DAY6OF6 (day 6 in a 6-day cycle) x<br />
5-98 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.8 Simulation Reports<br />
WEEK1OF2...<br />
The next five lines indicate which 1- to 6-week cyclic<br />
conditions are true <strong>for</strong> the report date.<br />
Schedules And <strong>Job</strong>s Whose Selection Criteria<br />
Is<br />
Will Be<br />
True<br />
WEEK1OF2 (week 1 in a 2-week cycle) x<br />
Will Be<br />
False<br />
WEEK2OF2 (week 2 in a 2-week cycle) x<br />
WEEK1OF3 (week 1 in a 3-week cycle) x<br />
WEEK2OF3 (week 2 in a 3-week cycle) x<br />
WEEK3OF3 (week 3 in a 3-week cycle) x<br />
WEEK1OF4 (week 1 in a 4-week cycle) x<br />
WEEK2OF4 (week 2 in a 4-week cycle) x<br />
WEEK3OF4 (week 3 in a 4-week cycle) x<br />
WEEK4OF4 (week 4 in a 4-week cycle) x<br />
WEEK1OF5 (week 1 in a 5-week cycle) x<br />
WEEK2OF5 (week 2 in a 5-week cycle) x<br />
WEEK3OF5 (week 3 in a 5-week cycle) x<br />
WEEK4OF5 (week 4 in a 5-week cycle) x<br />
WEEK5OF5 (week 5 in a 5-week cycle) x<br />
WEEK1OF6 (week 1 in a 6-week cycle) x<br />
WEEK2OF6 (week 2 in a 6-week cycle) x<br />
WEEK3OF6 (week 3 in a 6-week cycle) x<br />
WEEK4OF6 (week 4 in a 6-week cycle) x<br />
WEEK5OF6 (week 5 in a 6-week cycle) x<br />
WEEK6OF6 (week 6 in a 6-week cycle) x<br />
Chapter 5. Reports 5-99
5.8 Simulation Reports<br />
WORK-DAY=...<br />
The next three lines indicate that workday conditions are<br />
satisfied on this date:<br />
This Field<br />
WORK-DAY=YES<br />
WDOW5<br />
WDOW-1<br />
WDOM6<br />
WDOM-16<br />
WWOM2<br />
WWOM-4<br />
WWOY36<br />
WWOY-17<br />
Means Today Is<br />
A workday<br />
The 5th workday of the week<br />
The last workday of the week<br />
The 6th workday of the month<br />
The 15th-to-last workday of the month<br />
The 2nd work week of the month<br />
The 3rd-to-last work week of the month<br />
The 36th work week of the year<br />
The 16th-to-last work week of the year<br />
Any schedules defined with one of these criteria: WDOW5,<br />
WDOW-1, WDOM6, WDOM-16, etc., would be selected<br />
today.<br />
RD01=...<br />
The next four lines indicate relative workday conditions<br />
that are satisfied on this date:<br />
This Field<br />
RD01=+05 -16<br />
RD11=+20 -01<br />
RD21=+14 -09<br />
Means Today Is<br />
5 workdays after and 16 workdays be<strong>for</strong>e the 1st of<br />
the month<br />
20 workdays after and 1 workday be<strong>for</strong>e the 11th<br />
of the month<br />
14 workdays after and 9 workdays be<strong>for</strong>e the 21st<br />
of the month<br />
Any schedules or jobs defined with one of these criteria:<br />
RD01=+05, RD01=-16, RD11=+20, RD11=-01, etc., would be<br />
selected today if this were the only selection criteria. For<br />
example, the relative workday criteria allows you to<br />
schedule your payroll jobs 2 workdays be<strong>for</strong>e the 28th of<br />
the month (RD28=-13). These jobs or schedules will be<br />
selected (if this is the only selection criteria) on a workday<br />
every month even if the 25th, 26th, and 27th are all<br />
holidays or weekend days.<br />
HOLIDAY=...<br />
The next six lines indicate nonworkday conditions<br />
(holidays and weekends) that are satisfied on this date:<br />
5-100 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.8 Simulation Reports<br />
Schedules And <strong>Job</strong>s Whose Selection<br />
Criteria Is<br />
Will Be True<br />
Will Be False<br />
HDAY (nonworkday) x<br />
HDAY-1 (1 day after a nonworkday) x<br />
HDAY-2 (2 days after a nonworkday) x<br />
HDAY-3 (3 days after a nonworkday) x<br />
HDAY-4 (4 days after a nonworkday) x<br />
HDAY-5 (5 days after a nonworkday) x<br />
HDAY-6 (6 days after a nonworkday) x<br />
HDAY-7 (7 days after a nonworkday) x<br />
HDAY1 (1 day be<strong>for</strong>e a nonworkday) x<br />
HDAY2 (2 days be<strong>for</strong>e a nonworkday) x<br />
HDAY3 (3 days be<strong>for</strong>e a nonworkday) x<br />
HDAY4 (4 days be<strong>for</strong>e a nonworkday) x<br />
HDAY5 (5 days be<strong>for</strong>e a nonworkday) x<br />
HDAY6 (6 days be<strong>for</strong>e a nonworkday) x<br />
HDAY7 (7 days be<strong>for</strong>e a nonworkday) x<br />
HDAY8 (8 days be<strong>for</strong>e a nonworkday) x<br />
HDAY9 (9 days be<strong>for</strong>e a nonworkday) x<br />
HDAY10 (10 days be<strong>for</strong>e a nonworkday) x<br />
HDAY11 (11 days be<strong>for</strong>e a nonworkday) x<br />
HDAY12 (12 days be<strong>for</strong>e a nonworkday) x<br />
HDAY13 (13 days be<strong>for</strong>e a nonworkday) x<br />
HDAY14 (14 days be<strong>for</strong>e a nonworkday) x<br />
HDAY15 (15 days be<strong>for</strong>e a nonworkday) x<br />
HDAY16 (16 days be<strong>for</strong>e a nonworkday) x<br />
HDAY17 (17 days be<strong>for</strong>e a nonworkday) x<br />
HDAY18 (18 days be<strong>for</strong>e a nonworkday) x<br />
HDAY19 (19 days be<strong>for</strong>e a nonworkday) x<br />
HDAY20 (20 days be<strong>for</strong>e a nonworkday) x<br />
HDAY21 (21 days be<strong>for</strong>e a nonworkday) x<br />
HDAY22 (22 days be<strong>for</strong>e a nonworkday) x<br />
HDAY23 (23 days be<strong>for</strong>e a nonworkday) x<br />
Chapter 5. Reports 5-101
5.8 Simulation Reports<br />
Schedules And <strong>Job</strong>s Whose Selection<br />
Criteria Is<br />
Will Be True<br />
Will Be False<br />
HDAY24 (24 days be<strong>for</strong>e a nonworkday) x<br />
HDAY25 (25 days be<strong>for</strong>e a nonworkday) x<br />
HDAY26 (26 days be<strong>for</strong>e a nonworkday) x<br />
HDAY27 (27 days be<strong>for</strong>e a nonworkday) x<br />
HDAY28 (28 days be<strong>for</strong>e a nonworkday) x<br />
HDAY29 (29 days be<strong>for</strong>e a nonworkday) x<br />
HDAY30 (30 days be<strong>for</strong>e a nonworkday) x<br />
HDAY31 (31 days be<strong>for</strong>e a nonworkday) x<br />
ACCOUNTING<br />
DAY...<br />
The last two lines indicate which accounting conditions are<br />
true on this date.<br />
This Field<br />
ADAY<br />
ADOM6<br />
ADOM-16<br />
AWOM2<br />
AWOM-4<br />
AMOY9<br />
AMOY-4<br />
XDOM5<br />
XDOM-16<br />
XWOM2<br />
XWOM-4<br />
XMOY9<br />
XMOY-4<br />
Means Today Is<br />
An accounting day<br />
The 6th accounting day of the month<br />
The 15th-to-last accounting day of the month<br />
The 2nd accounting week of the month<br />
The 3rd-to-last accounting week of the month<br />
The 9th accounting month of the year<br />
The 3rd-to-last accounting month of the year.<br />
The 5th accounting day of the month<br />
The 15th-to-last accounting day of the month<br />
The 2nd accounting week of the month<br />
The 3rd-to-last accounting week of the month<br />
The 9th accounting month of the year<br />
The 3rd-to-last accounting month of the year.<br />
The values <strong>for</strong> ADOM6, ADOM-16, AWOM2, AWOM-4, AMOY9, AMOY-4,<br />
and ADAY are determined from the datetable defined with the 'A' prefix.<br />
The values <strong>for</strong> XDOM5, XDOM-16, XWOM2, XWOM-4, XMOY9, XMOY-4, and<br />
XDAY are determined from the datetable defined with the 'X' prefix.<br />
5-102 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.8 Simulation Reports<br />
5.8.3 Late <strong>Job</strong> Profile (LATEJOBS)<br />
The Late <strong>Job</strong> Profile report lists all jobs that will start or end late.<br />
COMPUTER ASSOCIATES LATE JOB PROFILE AT END OF SIMULATION LATEJOBS PAGE 1<br />
<strong>CA</strong>-SCHEDULER 7.3 39SH73<br />
14 SEP 23 11.13.5<br />
SIMULATION DATE 14 SEP 23<br />
SCHEDULE ------JOB----- LATE LATE AVAILABLE<br />
NAME NAME NO ST START END STATUS EARLY TIME TIME MUST TIME START TIME DEADLINE END TIME WAITING FOR<br />
-------- -------- -- -- ----- ---- ---------- ----------- ----------- ----------- ----------- ----------- ----------- ---------<br />
SCD2 JOB2A 1 4 YES YES COMPLETE 9/14 8. 9/14 9.15 9/14 8. 9/14 9.15 9/14 1. 9/14 1.3<br />
The following in<strong>for</strong>mation is given:<br />
SCHEDULE NAME<br />
JOB NAME<br />
JOB NO<br />
JOB ST<br />
LATE START<br />
LATE END<br />
STATUS<br />
The schedules that these jobs are assigned to.<br />
The jobs that will either start or end late.<br />
Any number higher than 01 indicates that the job is<br />
scheduled more than once.<br />
The stations where the job is scheduled <strong>for</strong> processing.<br />
YES in this column means the job will start after its<br />
MUST START BY TIME.<br />
YES in this column means the job will end after its<br />
COMPLETION DEADLINE TIME.<br />
The job's status at the end of the day will be:<br />
COMPLETE<br />
INCOMPLETE<br />
RUNNING<br />
NOT STARTED<br />
Even though the job was late, it<br />
completed today and will not have<br />
to be carried over to tomorrow in<br />
backlog. Since it is complete, its<br />
record will be purged at the end of<br />
day.<br />
The job will not be completed at a<br />
non-CPU station by the end of the<br />
day. It will have to be completed<br />
tomorrow. It will not be carried<br />
over in backlog along with the<br />
unprocessed jobs because it<br />
already started.<br />
The job will still be running on the<br />
CPU at the end of the day. It will<br />
continue running to completion.<br />
This job has not started yet. It will<br />
be carried over to tomorrow if<br />
BACKLOG=YES was specified in<br />
its job definition.<br />
Chapter 5. Reports 5-103
5.8 Simulation Reports<br />
EARLY TIME<br />
AVAILABLE TIME<br />
MUSTTIME<br />
START TIME<br />
DEADLINE<br />
END TIME<br />
WAITING FOR<br />
The job's EARLIEST START TIME will be taken from the<br />
following records in the following order:<br />
1. <strong>Job</strong> reason code record (JRC) if defined, and there is<br />
a matching nonzero early start time <strong>for</strong> the selection<br />
reason.<br />
2. <strong>Job</strong> base record (JBR) if early time is defined.<br />
3. The job will start when the schedule it is in starts.<br />
The time the job will be available to start, which means<br />
that its early start time is reached and all predecessor<br />
conditions are satisfied. The reasons in the last column<br />
indicate that most of these jobs will not become available<br />
until after their MUST START BY TIMES, because they<br />
are waiting to complete at a previous station.<br />
The job's MUST START BY TIME will be taken from the<br />
following records in the following order:<br />
1. <strong>Job</strong> reason code record (JRC) if defined, and there is<br />
a matching nonzero must time <strong>for</strong> the selection<br />
reason.<br />
2. <strong>Job</strong> base record (JBR) if must time is defined.<br />
3. No must start by time is used.<br />
The time the job will actually start. If this time is after<br />
the MUST TIME in the previous column, the job will<br />
start late.<br />
The job's COMPLETION DEADLINE TIME is taken from<br />
the following records in the following order:<br />
1. <strong>Job</strong> reason code record (JRC) if defined, and there is<br />
a matching nonzero DEADLINE <strong>for</strong> the selection<br />
reason.<br />
2. <strong>Job</strong> base record (JBR) if DEADLINE is defined.<br />
3. No deadline time is used.<br />
The time the job will actually end. If this time is after the<br />
DEADLINE value in the previous column, the job will<br />
end late.<br />
The reason the job will start or end late:<br />
PRED<br />
PREV-STN<br />
One of the predecessor conditions will<br />
not be satisfied.<br />
All of the predecessor conditions will be<br />
satisfied except the completion of this<br />
job at a previous station.<br />
5-104 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.8 Simulation Reports<br />
RESOURCE<br />
SCD-START<br />
All of the predecessor conditions will be<br />
satisfied, but the job is waiting <strong>for</strong> a<br />
DASD volume to be mounted, a data set<br />
to be closed, or mutually exclusive jobs<br />
to end.<br />
The job is waiting <strong>for</strong> the Schedule Start<br />
time to be reached.<br />
If no status was specified <strong>for</strong> this field,<br />
it indicates that the job was waiting <strong>for</strong><br />
an initiator/unit to be free. This can be<br />
caused by incorrect PST/PET or class<br />
definition, or insufficient partitions or<br />
units defined with the correct classes.<br />
5.8.4 Resources Required <strong>for</strong> All Selected <strong>Job</strong>s (RESALL)<br />
The Resources Required <strong>for</strong> All Selected <strong>Job</strong>s (RESALL) report lists the<br />
resources required to process the jobs that will be selected on a given date.<br />
Only jobs with defined job resource records are listed.<br />
COMPUTER ASSOCIATES RESOURCES REQUIRED FOR ALL SELECTED JOBS RESALL PAGE 1<br />
<strong>CA</strong>-SCHEDULER 7.3 39SH73 29 SEP 23 13.35.39<br />
FORE<strong>CA</strong>ST DATE 29 SEP 23<br />
SCHEDULE ------JOB-----<br />
----DASD--- ----TAPE--- -----UR----<br />
NAME NAME NO ST DISK EXCP TAPE EXCP OTHER EXCP SEPARATE JOBS TYPE NO TYPE NO TYPE NO<br />
-------- -------- -- -- ----------- ----------- ----------- ------------------------------- ----------- ----------- -----------<br />
DSNABC DSNABC 1 4 1,111 2,222 3,333 <strong>CA</strong>JDEM3 338 2 348 2 143 4<br />
9345 2<br />
ABATCH AB 1 4 3,333 4,444 5,555 IEBDG 339 78 349 3 254 3<br />
Chapter 5. Reports 5-105
5.8 Simulation Reports<br />
The following in<strong>for</strong>mation is given:<br />
SCHEDULE NAME<br />
JOB NAME<br />
JOB NO<br />
JOB ST<br />
DISK EXCP<br />
TAPE EXCP<br />
OTHER EXCP<br />
The schedules that the jobs are assigned to.<br />
The jobs with defined resource records that will be<br />
selected.<br />
The selected job number.<br />
The stations where the job will be processed.<br />
The number of disk device I/Os required by each job,<br />
as defined by DASD EXCPS on the job resource record.<br />
(See Note.)<br />
The number of tape device I/Os required by each job,<br />
as defined by TAPE EXCPS on the job resource record.<br />
(See Note.)<br />
The number of unit device I/Os required by each job,<br />
as defined by UNIT EXCPS on the job resource record.<br />
(See Note.)<br />
SEPARATE JOBS/DSNS<br />
The list of jobs that cannot run at the same time as this<br />
job, as defined by SEPARATE JOBS LIST on the job<br />
resource record; or, a DSN that cannot be used by more<br />
than one job at a time, as defined by SEPARATE DSN<br />
on the job resource record.<br />
DASD TYPE<br />
DASD NO<br />
TAPE TYPE<br />
TAPE NO<br />
UR TYPE<br />
UR NO<br />
The types of direct access devices each job requires, as<br />
defined by DASD01 through DASD04 on the job<br />
resource record.<br />
How many of each type of direct access device each job<br />
requires, as defined by DASD01 through DASD04 on<br />
the job resource record.<br />
The types of tape devices each job requires, as defined<br />
by TAPE01 through TAPE04 on the job resource record.<br />
How many of each type of tape device each job<br />
requires, as defined by TAPE01 through TAPE04 on the<br />
job resource record.<br />
The types of unit record devices each job requires, as<br />
defined by UNIT01 through UNIT04 on the job resource<br />
record.<br />
How many of each type of unit record device each job<br />
requires, as defined by UNIT01 through UNIT04 on the<br />
job resource record.<br />
Note: If EXCPs are not defined on the job resource record, the in<strong>for</strong>mation is<br />
obtained from the job history records, which are updated by<br />
$JOBAACT data.<br />
5-106 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.8 Simulation Reports<br />
5.8.5 Schedules/<strong>Job</strong>s Selected <strong>for</strong> DD MM YY (SELECTED)<br />
The Schedules/<strong>Job</strong>s Selected <strong>for</strong> DD MM YY (SELECTED) report lists all<br />
schedules and jobs that will be selected on a given date.<br />
COMPUTER ASSOCIATES SCHEDULES/JOBS SELECTED FOR 14 SEP 23 SELECTED PAGE 1<br />
<strong>CA</strong>-SCHEDULER 7.3 39SH73 14 SEP 23 13.35.39<br />
FORE<strong>CA</strong>ST DATE 14 SEP 23<br />
SCHEDULE ------JOB----- SYSID/ REASON AVERAGE ROUTING TRACK<br />
NAME NAME NO ST SUBID CODE EARLY TIME MUST TIME DEADLINE MAXTIME TIME DELAY TIME CLASS FILE STUS<br />
-------- -------- -- -- ------ ------ -------------- -------------- -------------- -------- -------- ---------- ----- ----- ---<br />
DSNABC 88 9/14/3 8. 9/14/3 9. 9/14/3 1. .1<br />
DJKBR14 1 4 9/14/3 9.15 9/14/3 1.15 9/14/3 11.15 .3 .1 B<br />
DSNABC 1 4 1 9/14/3 1. 9/14/3 11. 9/14/3 12. 1. .35 .3 B<br />
ABATCH 1 88 9/14/3 8.1 9/14/3 1.1 1.1<br />
ABATCH 2 39 1 9/14/3 21.21 9/14/3 22.25 9/14/3 23.23 .3 12.34 X<br />
DSNABC 1 4 .1 C<br />
AB 1 4 2 8 9/14/3 21.21 9/14/3 22.25 9/14/3 23.23 .3 12.34 .13 X<br />
The following in<strong>for</strong>mation is given:<br />
SCHEDULE NAME<br />
JOB NAME<br />
JOB NO<br />
The schedules that will be selected <strong>for</strong> processing on<br />
this date.<br />
The individual jobs that will be selected as part of<br />
these schedules. (A job with its own criteria record<br />
may be selected less frequently than the rest of the<br />
schedule.)<br />
Any number higher than 01 indicates that the job is<br />
supposed to run more than once as part of this<br />
schedule. (A separate job base record has been<br />
defined <strong>for</strong> each occurrence.)<br />
JOB ST The stations where the job will be processed. (A<br />
separate job base record has been defined <strong>for</strong> the job<br />
at each of these stations.)<br />
SYSID/SUBID<br />
REASON CODE<br />
The SYSID or SUBID if one was defined.<br />
This tells why each schedule or job will be selected:<br />
01 - 79 Corresponds to the position of the reason on<br />
the CRITERIA statement that was defined <strong>for</strong><br />
this job or schedule.<br />
80 Means it will be selected because the date<br />
corresponds to a workday on the<br />
<strong>CA</strong>LENDAR that was defined <strong>for</strong> this job or<br />
schedule.<br />
84 Means it is selected by default every day<br />
because no selection criteria were defined.<br />
88 Means that it was added to the simulation<br />
run by the RUN command.<br />
Chapter 5. Reports 5-107
5.8 Simulation Reports<br />
EARLY TIME<br />
MUST TIME<br />
DEADLINE<br />
The schedule's or job's EARLIEST START TIME. The<br />
schedule's earliest start time is taken from the<br />
following records in the following order:<br />
1. Schedule reason code record (SRC), if defined and<br />
there is a matching nonzero EARLYTIME defined<br />
<strong>for</strong> the selection reason.<br />
2. Schedule base record (SBR), if there is a nonzero<br />
EARLYTIME defined<br />
3. The schedule will be able to start just after<br />
autoscan.<br />
The job's earliest start time is taken from the following<br />
records in the following order:<br />
1. <strong>Job</strong> reason code record (JRC), if defined and there<br />
is a matching nonzero EARLY START TIME <strong>for</strong><br />
the selection reason.<br />
2. <strong>Job</strong> base record (JBR) if EARLYTIME is defined.<br />
3. The job will start when the schedule that it is in<br />
starts.<br />
The schedule's or job's must start time, if one was<br />
defined. The schedule's must start time is taken from<br />
the following records in the following order:<br />
1. Schedule reason code record (SRC), if defined and<br />
there is a matching nonzero MUSTTIME defined<br />
<strong>for</strong> the selection reason.<br />
2. Schedule base record (SBR), if there is a nonzero<br />
MUSTTIME defined.<br />
3. No must start time is used.<br />
The job's must start time is taken from the following<br />
records in the following order:<br />
1. <strong>Job</strong> reason code record (JRC), if defined and there<br />
is a matching nonzero MUSTTIME <strong>for</strong> the<br />
selection reason.<br />
2. <strong>Job</strong> base record (JBR) if MUSTTIME is defined.<br />
3. No must start time is used.<br />
The schedule's or job's COMPLETION DEADLINE<br />
TIME, if one was defined. The schedule's deadline<br />
time is taken from the following records in the<br />
following order:<br />
1. Schedule reason code record (SRC), if defined and<br />
there is a matching nonzero DEADLINE <strong>for</strong> the<br />
selection reason.<br />
5-108 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.8 Simulation Reports<br />
2. Schedule base record (SBR), if a nonzero<br />
DEADLINE was defined.<br />
3. No deadline time is used.<br />
The job's deadline time is taken from the following<br />
records in the following order:<br />
1. <strong>Job</strong> reason code record (JRC), if defined and there<br />
is a matching nonzero DEADLINE <strong>for</strong> the selection<br />
reason.<br />
2. <strong>Job</strong> base record (JBR) if DEADLINE is defined.<br />
3. No deadline time is used.<br />
MAXTIME<br />
AVERAGE TIME<br />
The schedule's or job's MAXIMUM EXECUTION<br />
TIME, if one was defined. The schedule's maximum<br />
execution time is taken from the following records in<br />
the following order:<br />
1. Schedule reason code record (SRC), if defined and<br />
there is a matching nonzero MAXTIME <strong>for</strong> the<br />
selection reason.<br />
2. Schedule base record (SBR), if a nonzero<br />
MAXTIME has been defined.<br />
3. No maximum execution time is used.<br />
The job's maximum execution time is taken from the<br />
following records in the following order:<br />
1. <strong>Job</strong> reason code record (JRC), if defined and there<br />
is a matching nonzero MAXTIME <strong>for</strong> the selection<br />
reason.<br />
2. <strong>Job</strong> base record (JBR) if there is a nonzero<br />
MAXTIME defined.<br />
3. No maximum execution time is used.<br />
The job's average processing time is taken from the<br />
following records in the following order:<br />
1. <strong>Job</strong> reason code record (JRC) if defined and there<br />
is a matching nonzero average time <strong>for</strong> the<br />
selection reason.<br />
2. <strong>Job</strong> base record (JBR) if there is a nonzero average<br />
time defined.<br />
3. <strong>Job</strong> history record (JHR) average time is calculated<br />
and based upon $JOBACCT data. If the job has not<br />
run at your installation yet, this field is not used.<br />
4. Station resource record (RSR) average time is used.<br />
Chapter 5. Reports 5-109
5.8 Simulation Reports<br />
ROUTING DELAY TIME<br />
The ROUTE DELAY time as defined on the job<br />
resource record or the RTE DELAY defined on the<br />
station resource record and assigned by default to all<br />
jobs processed at this station. This is how long it takes<br />
the job to get to this station from the preceding<br />
station.<br />
CLASS<br />
TRACK FILE<br />
STATUS<br />
The class the job is to be run in.<br />
Whether the schedule or job was selected from the<br />
tracking file.<br />
The current status of the schedule or job. This is<br />
shown only if simulation was run with the<br />
REVISE=YES keyword.<br />
5.8.6 Simulated Device Utilization (DEVUTIL)<br />
The Simulated Device Utilization (DEVUTIL) report shows the extent to which<br />
each device dedicated to one station or substation will be utilized.<br />
COMPUTER ASSOCIATES SIMULATED SHARED DEVICE UTILIZATION FOR STATION 4 DEVUTIL PAGE 1<br />
<strong>CA</strong>-SCHEDULER 7.3 39SH73 CPU 14 SEP 23 11.13.5<br />
SIMULATION DATE 14 SEP 23<br />
338 339 342 143<br />
TIME USE AVAL USE AVAL USE AVAL USE AVAL<br />
-------------- -------- -------- -------- --------<br />
9/14/3 9. 8 4 2 1<br />
9/14/3 9.15 8 4 2 1<br />
9/14/3 9.3 8 4 2 1<br />
9/14/3 9.45 8 4 2 1<br />
9/14/3 1. 8 4 2 1<br />
9/14/3 1.15 8 4 2 1<br />
9/14/3 1.3 8 4 2 1<br />
9/14/3 1.45 8 4 2 1<br />
9/14/3 11. 8 4 2 1<br />
9/14/3 11.15 8 4 2 1<br />
9/14/3 11.3 8 4 2 1<br />
9/14/3 11.45 8 4 2 1<br />
9/14/3 12. 8 4 2 1<br />
The following in<strong>for</strong>mation is given:<br />
TIME<br />
USE AVAL<br />
The date <strong>for</strong> which these events are being simulated and the<br />
times throughout that day. (The time interval is defined by the<br />
INTERVAL keyword on the SIMULATE COMMAND. If<br />
INTERVAL is not specified, a 15-minute interval is used.)<br />
Each heading is a different DASD, tape, or unit record device<br />
type. These are the device types defined on the station resource<br />
record <strong>for</strong> dedicated use at this station or substation (or changed<br />
<strong>for</strong> this simulation run only using the OVERRIDE RESOURCE<br />
command). Additional device types are shown on additional<br />
pages. The two columns shown are:<br />
5-110 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.8 Simulation Reports<br />
■<br />
■<br />
The USE column, which shows how many of each type of<br />
device will actually be in use during the time interval shown<br />
at the left.<br />
The AVAL column, which shows how many of each type of<br />
device will not be in use. This is the number defined minus<br />
the number in use.<br />
5.8.7 Simulated Execution Schedule (SIMEXEC)<br />
The Simulated Execution Schedule (SIMEXEC) report shows when and where<br />
each job will be processed based on the job's requirements and the availability<br />
of resources. It allows you to see at a glance exactly what will happen at each<br />
partition or unit throughout the day.<br />
COMPUTER ASSOCIATES SIMULATED EXECUTION SCHEDULE FOR STATION 4 SYSID 1 SIMEXEC PAGE 1<br />
<strong>CA</strong>-SCHEDULER 7.3 39SH73 CPU 14 SEP 23 11.13.5<br />
SIMULATION DATE 14 SEP 23<br />
TIME PART1 PART2 PART3 PART4 PART5<br />
-------------- -------------------- -------------------- -------------------- -------------------- --------------------<br />
9/14/3 8. JOB6A -1 SCD6 JOB4A -1 SCD4 IDLE IDLE IDLE<br />
9/14/3 9. JOB7A -1 SCD7 JOB7B -1 SCD7<br />
9/14/3 1. JOB7D -1 SCD7 JOB7E -1 SCD7<br />
9/14/3 11. IDLE IDLE<br />
The following in<strong>for</strong>mation is given:<br />
TIME<br />
PART01, etc.<br />
The date <strong>for</strong> which these events are being simulated and the<br />
times when a job starts or a unit becomes idle.<br />
The headers that identify each partition at the CPU station or<br />
each unit at a non-CPU station. (These headers are defined on<br />
the station resource record and may be overridden <strong>for</strong> this<br />
simulation run only using the OVERRIDE RESOURCE<br />
command.) Under each header are listed the jobs that will run<br />
in this partition or be processed at this unit. The job will start<br />
at the time shown under TIME and last until another job starts<br />
or until the unit is idle. <strong>Job</strong>s are assigned to units based on<br />
their class and the classes of jobs defined <strong>for</strong> each unit. (Unit<br />
classes are also defined on the station resource record and may<br />
be overridden using the OVERRIDE RESOURCE command.)<br />
<strong>Job</strong>s are scheduled according to their priorities, start times,<br />
deadlines, availability, and the availability of any resources<br />
defined <strong>for</strong> them. Additional partitions or units are shown on<br />
additional pages.<br />
<strong>Job</strong>s listed on this report can be limited to:<br />
■<br />
■<br />
<strong>Job</strong>s assigned to certain schedules using the RONLY Schedule command<br />
<strong>Job</strong>s simulated within a specific time period using the RFT and RTT<br />
keywords with the SIMULATE command<br />
Chapter 5. Reports 5-111
5.8 Simulation Reports<br />
5.8.8 Simulated Shared Device Utilization (DEVUTIL)<br />
The Simulated Shared Device Utilization (DEVUTIL) report shows the extent to<br />
which each defined device at a station will be utilized. The devices shown here<br />
are those that are shared by all substations at this station and are in addition<br />
to the dedicated devices shown on the previous Simulated Device Utilization<br />
report.<br />
COMPUTER ASSOCIATES SIMULATED SHARED DEVICE UTILIZATION FOR STATION 4 DEVUTIL PAGE 1<br />
<strong>CA</strong>-SCHEDULER 7.3 39SH73 CPU 14 SEP 23 11.13.5<br />
SIMULATION DATE 14 SEP 23<br />
338 339 342 143<br />
TIME USE AVAL USE AVAL USE AVAL USE AVAL<br />
-------------- -------- -------- -------- --------<br />
9/14/3 9. 8 4 2 1<br />
9/14/3 9.15 8 4 2 1<br />
9/14/3 9.3 8 4 2 1<br />
9/14/3 9.45 8 4 2 1<br />
9/14/3 1. 8 4 2 1<br />
9/14/3 1.15 8 4 2 1<br />
9/14/3 1.3 8 4 2 1<br />
9/14/3 1.45 8 4 2 1<br />
9/14/3 11. 8 4 2 1<br />
9/14/3 11.15 8 4 2 1<br />
9/14/3 11.3 8 4 2 1<br />
9/14/3 11.45 8 4 2 1<br />
9/14/3 12. 8 4 2 1<br />
The following in<strong>for</strong>mation is given:<br />
TIME<br />
The date <strong>for</strong> which these events are being simulated and the times<br />
throughout that day. (The time interval is defined by the<br />
INTERVAL keyword on the SIMULATE command. If not<br />
specified, a 15-minute interval is used.)<br />
USE AVAL Each heading is a different DASD, tape, or unit record device<br />
type. These are the device types defined on the station resource<br />
record <strong>for</strong> shared use at this station (or changed <strong>for</strong> this simulation<br />
run only using the OVERRIDE SHRRSR command). The two<br />
columns shown are:<br />
5.8.9 Simulated Unit Utilization (UNITUTIL)<br />
■<br />
■<br />
The USE column, which shows how many of each type of<br />
device will actually be in use during the time interval shown<br />
at the left.<br />
The AVAL column, which shows how many of each type of<br />
device will not be in use. This is the number defined minus<br />
the number in use.<br />
The Simulated Unit Utilization report shows the extent to which each unit at a<br />
defined station will be utilized.<br />
5-112 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.8 Simulation Reports<br />
COMPUTER ASSOCIATES SIMULATED UNIT UTILIZATION FOR STATION 4 SYSID 1 UNITUTIL PAGE 1<br />
<strong>CA</strong>-SCHEDULER 7.3 39SH73 CPU 14 SEP 23 11.13.5<br />
SIMULATION DATE 14 SEP 23<br />
TIME 1 2 3 4 5 6 7<br />
-------------- --- --- --- --- --- --- ---<br />
9/14/3 9. <br />
9/14/3 9.15 <br />
9/14/3 9.3 <br />
9/14/3 9.45 <br />
9/14/3 1. <br />
9/14/3 1.15 <br />
9/14/3 1.3 <br />
9/14/3 1.45 <br />
9/14/3 11. <br />
9/14/3 11.15<br />
9/14/3 11.3<br />
9/14/3 11.45<br />
9/14/3 12.<br />
9/14/3 12.15<br />
9/14/3 12.3<br />
9/14/3 12.45<br />
9/14/3 13.<br />
9/14/3 13.15<br />
9/14/3 13.3<br />
9/14/3 13.45<br />
9/14/3 14.<br />
9/14/3 14.15<br />
9/14/3 14.3<br />
9/14/3 14.45<br />
9/14/3 15.<br />
9/14/3 15.15<br />
9/14/3 15.3<br />
9/14/3 15.45<br />
9/14/3 16.<br />
9/14/3 16.15<br />
9/14/3 16.3<br />
9/14/3 16.45<br />
9/14/3 17.<br />
9/14/3 17.15<br />
9/14/3 17.3<br />
9/14/3 17.45<br />
9/14/3 18.<br />
9/14/3 18.15<br />
9/14/3 18.3<br />
9/14/3 18.45<br />
9/14/3 19.<br />
9/14/3 19.15<br />
9/14/3 19.3<br />
9/14/3 19.45<br />
9/14/3 2.<br />
1=PART1 2=PART2 3=PART3 4=PART4 5=PART5 6=PART6 7=PART7<br />
The following in<strong>for</strong>mation is given:<br />
TIME<br />
The date <strong>for</strong> which these events are being simulated and the times<br />
throughout that day. (The time interval is defined by the<br />
INTERVAL keyword on the SIMULATE COMMAND. If INTERVAL<br />
is not specified, a 15-minute interval is used.)<br />
Asterisks appear in time intervals where the job starts in the time<br />
interval, or if there is activity in the preceding interval.<br />
001, etc. Each number represents a different unit. The units that have been<br />
defined <strong>for</strong> this station are shown at the bottom of the report. For<br />
example, the first unit at this station is partition PART01. The first<br />
unit at the keypunch station could be KEYPCH01, one of the<br />
keypunch devices. The asterisks below each number indicate that the<br />
unit is being utilized during the time interval shown at the left. That<br />
is, the asterisks will appear if the job starts at the time interval or<br />
Chapter 5. Reports 5-113
5.8 Simulation Reports<br />
there is activity in the preceding time interval. This allows you to<br />
see at a glance which units are in use throughout the day and which<br />
times are the busiest.<br />
For example, a job running at partition 001, starting at 9:45 and<br />
ending at 10:19 would have asterisks at times 9:45, 10:00, 10:15, and<br />
10:30 - the default 15 minute interval time. 9:45 appears because that<br />
is the time the job starts. 10:30 appears because there was activity<br />
from 10:16 to 10:19 that is in the preceding time interval of (10:16 to<br />
10:30) or 10:30.<br />
5.8.10 Tracking File <strong>Job</strong> Start Errors (EXPERROR)<br />
The Tracking File <strong>Job</strong> Start Errors (EXPERROR) report lists the jobs in the<br />
tracking file that have not started yet or did not start on time.<br />
COMPUTER ASSOCIATES TRACKING FILE JOB START ERRORS EXPERROR PAGE 1<br />
<strong>CA</strong>-SCHEDULER 7.3 39SH73<br />
23 SEP 23 1.42.46<br />
SIMULATION DATE 23 SEP 23<br />
<strong>CA</strong>CU62W JOB SHSIG1 1 IN SCHEDULE SHSI AT STATION 4 STARTED AT 9/23/3 . INSTEAD OF 9/23/3 1.42<br />
This report has no column headings. The lines on the report are produced by<br />
using two <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> messages: <strong>CA</strong>CU620W and <strong>CA</strong>CU621W.<br />
Message <strong>CA</strong>CU620W indicates that the job was not able to be started by<br />
simulation at the time specified in the tracking file. It is displayed as:<br />
JOB xxxxxxxx IN SCHEDULE yyyyyyyy AT STATION nn STARTED AT mm/dd/yy hh.mm<br />
INSTEAD OF mm/dd/yy hh.mm<br />
The job name, schedule name and station number are given, followed by the<br />
actual starting date and time, and the date and time specified in the tracking<br />
file.<br />
Message <strong>CA</strong>CU621W indicates that a job was supposed to start at a specified<br />
date and time, but did not start by the current time of day in simulation. It is<br />
displayed as:<br />
JOB xxxxxxxx IN SCHEDULE yyyyyyyy AT STATION nn DID NOT START AT mm/dd/yy hh.mm<br />
The job name, schedule name and station number are given, followed by the<br />
date and time the job was supposed to start (it hasn't started yet).<br />
Note: For installations using the European date <strong>for</strong>mat, the date will appear<br />
as dd/mm/yy.<br />
5-114 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.9 Forecasting<br />
5.9 Forecasting<br />
Forecasting allows you to predict which schedules and jobs will be selected on<br />
a future date. We highly recommend that you run <strong>for</strong>ecast reports after you<br />
run the database Analyze report and review its output. The Analyze report<br />
will confirm or deny the validity of the selection criteria you have used to<br />
define schedules and jobs. After correcting any errors or resolving any<br />
conflicts, you can then run one or more of the following <strong>for</strong>ecast reports:<br />
Use This Report Report ID For This In<strong>for</strong>mation<br />
<strong>Job</strong> Summary SUMMARY An overview of jobs that will<br />
be selected on a given date<br />
(usually a range of dates)<br />
Schedules/<strong>Job</strong>s Selected For<br />
DDMMYY<br />
Schedules/<strong>Job</strong>s Selected For<br />
Station X<br />
Resources Required<br />
For all selected jobs<br />
For jobs at station X<br />
SELECTED<br />
STATION<br />
RESALL<br />
RESSTN<br />
A detailed list of schedules<br />
and jobs that will be selected<br />
on a given date<br />
The workload at each station<br />
The resources defined on the<br />
job resource record<br />
<strong>for</strong> all selected jobs<br />
<strong>for</strong> jobs at each station<br />
Route Station Report ROUTESTN The jobs that will be selected<br />
that are of interest to a route<br />
station (jobs must be<br />
identified by ROUTE on<br />
their job in<strong>for</strong>mation records)<br />
Run Book RUNBOOK Database and documentation<br />
library values<br />
Predecessors Required For<br />
<strong>Job</strong>s At Station X<br />
PREDS<br />
List of predecessors that<br />
must be satisfied<br />
Revised <strong>for</strong>ecasting allows you to see the current status of every schedule and<br />
job in the tracking file. This appears on both Schedules/<strong>Job</strong>s Selected reports<br />
when the FORE<strong>CA</strong>ST command is issued with the REVISE=YES keyword.<br />
Chapter 5. Reports 5-115
5.9 Forecasting<br />
5.9.1 Summary of the Forecast Commands<br />
These commands allow you to limit the <strong>for</strong>ecast reports to only one schedule<br />
or to change the schedules and jobs that would normally be selected:<br />
To<br />
Exclude<br />
schedules<br />
jobs<br />
Report on only one schedule<br />
Activate REQUESTED<br />
schedules<br />
jobs<br />
Add<br />
schedules<br />
jobs<br />
Use This Command<br />
EXCLUDE S<br />
EXCLUDE J<br />
ONLY S<br />
REQUEST S<br />
REQUEST J<br />
RUN S<br />
RUN J<br />
These commands, which must be submitted be<strong>for</strong>e the FORE<strong>CA</strong>ST command,<br />
are described in the above order on the following pages. The FORE<strong>CA</strong>ST<br />
command is described last, followed by samples of the <strong>for</strong>ecast reports.<br />
5.9.2 Virtual Storage Requirements <strong>for</strong> Forecasting<br />
Forecasting requires 200K in virtual storage <strong>for</strong> the program. A certain<br />
amount of additional virtual storage is necessary based upon the following<br />
variables.<br />
Allocate<br />
For Each<br />
72 bytes Partition<br />
120 bytes Defined station<br />
80 bytes Defined and selected schedule<br />
152 bytes Defined and selected job<br />
268 bytes Selected job with a resource record<br />
5-116 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.9 Forecasting<br />
5.9.2.1 Example<br />
Given the following values, 290K of virtual storage is necessary to run a<br />
<strong>for</strong>ecast report.<br />
Program storage<br />
248 bytes<br />
Partitions BG,F1,F2,F3,F4<br />
36 bytes<br />
Stations 2,3,39,4,6,9<br />
72 bytes<br />
6 schedules<br />
48 bytes<br />
3 jobs<br />
456 bytes<br />
15 jobs with resource records<br />
42 bytes<br />
--------------------------------------------------------------------<br />
Total<br />
29648 bytes<br />
or 29K<br />
Chapter 5. Reports 5-117
5.10 Forecast Commands<br />
5.10 Forecast Commands<br />
5.10.1 EXCLUDE JOB<br />
This topic describes each of the commands used with <strong>for</strong>ecasting. Descriptions<br />
of each keyword are given along with notes on when to use the command and<br />
an example of how to use it.<br />
EXCLUDE <strong>Job</strong> Name=jname<br />
Exclude a specific schedule or job that would<br />
normally be selected.<br />
5.10.1.1 Keywords<br />
Name=jname<br />
JNo=nn<br />
Schedule=sname<br />
SImday=nn<br />
STation=nn<br />
5.10.1.2 Keyword Descriptions<br />
Name=jname<br />
Use this required keyword to specify the job (1- to 8-character job name) you<br />
want to exclude from the <strong>for</strong>ecast run.<br />
JNo=nn<br />
Specify the job number (an integer from 1-99) if you want to exclude a<br />
particular occurrence of the job from the <strong>for</strong>ecast run.<br />
Schedule=sname<br />
Specify the schedule name (1-8 characters) if the job has been defined in more<br />
than one schedule. If this is not specified, <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> will exclude<br />
the first job it finds with the specified job name.<br />
5-118 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.10 Forecast Commands<br />
5.10.1.3 Usage Notes<br />
5.10.1.4 Example<br />
SImday=nn<br />
Indicate what day to exclude the job. Give the number of that day relative to<br />
the beginning of the <strong>for</strong>ecast period, where the first day is day 0. There<strong>for</strong>e, to<br />
exclude a job only on the second day of the <strong>for</strong>ecast period, specify<br />
SIMDAY=1. If you do not use this keyword, the job will be excluded every<br />
day during the <strong>for</strong>ecast period.<br />
STation=nn<br />
Specify the station ID (integer from 1-99) <strong>for</strong> non-CPU stations.<br />
Use the EXCLUDE <strong>Job</strong> command to exclude a job that is normally selected<br />
today but is not needed <strong>for</strong> this <strong>for</strong>ecast run. All successors will also be<br />
excluded, as if this job can not be selected today.<br />
Specify JNO <strong>for</strong> job numbers other than 01. Specify the schedule name if the<br />
job has been defined in more than one schedule. Specify STATION <strong>for</strong><br />
non-CPU stations.<br />
This command must precede the FORE<strong>CA</strong>ST command. Code a separate<br />
EXCLUDE command <strong>for</strong> each job that you want to exclude.<br />
JCL that produces <strong>for</strong>ecast reports requires the inclusion of a work file. A<br />
generic version of this work file is contained on the installation tape. The file's<br />
name is Z.<strong>CA</strong>WORK1. Tailor this file to your installation's needs and ensure<br />
that it is accessible be<strong>for</strong>e running the JCL that produces the reports.<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
EXCLUDE J N=MONTHLY,<br />
S=ANNUAL<br />
FORE<strong>CA</strong>ST SUMMARY<br />
/<br />
/&<br />
exclude a job<br />
job is in this schedule<br />
produce summary report<br />
The preceding example uses the EXCLUDE command to exclude the job<br />
named 'MONTHLY' in the schedule named 'ANNUAL' from the summary<br />
report. If this job has any successors, they will be excluded too.<br />
Chapter 5. Reports 5-119
5.10 Forecast Commands<br />
5.10.2 EXCLUDE SCHEDULE<br />
5.10.2.1 Keywords<br />
EXCLUDE Schedule Name=sname Exclude a specific schedule that would<br />
normally be selected.<br />
Name=sname<br />
SImday=nn<br />
5.10.2.2 Keyword Descriptions<br />
5.10.2.3 Usage Notes<br />
5.10.2.4 Example<br />
Name=sname<br />
Use this required keyword to specify the schedule (1- to 8-character schedule<br />
name) you want to exclude from the <strong>for</strong>ecast run.<br />
SImday=nn<br />
Indicate what day to exclude the job or schedule. Give the number of that day<br />
relative to the beginning of the <strong>for</strong>ecast period, where the first day is day 0.<br />
There<strong>for</strong>e, to exclude a job only on the second day of the <strong>for</strong>ecast period,<br />
specify SIMDAY=1. If you do not use this keyword, the job or schedule will<br />
be excluded every day during the <strong>for</strong>ecast period.<br />
Use the EXCLUDE Schedule command to exclude a schedule that is normally<br />
selected today but is not needed <strong>for</strong> this <strong>for</strong>ecast run. All successors will also<br />
be excluded, as if this schedule and its jobs can not be selected today.<br />
This command must precede the FORE<strong>CA</strong>ST command. Code a separate<br />
EXCLUDE command <strong>for</strong> each job or schedule that you want to exclude.<br />
JCL that produces <strong>for</strong>ecast reports requires the inclusion of a work file. A<br />
generic version of this work file is contained on the installation tape. The file's<br />
name is Z.<strong>CA</strong>WORK1. Tailor this file to your installation's needs and ensure<br />
that it is accessible be<strong>for</strong>e running the JCL that produces the reports.<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
EXCLUDE S N=USUALLY<br />
FORE<strong>CA</strong>ST SUMMARY<br />
/<br />
/&<br />
exclude a schedule<br />
produce summary report<br />
5-120 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.10 Forecast Commands<br />
5.10.3 ONLY Schedule<br />
The preceding example uses the EXCLUDE command to exclude a schedule<br />
named 'USUALLY' from the summary report. If this schedule has any<br />
successors, they will be excluded too.<br />
ONLY Schedule Name=sname<br />
Produce <strong>for</strong>ecast reports <strong>for</strong> only on schedule.<br />
5.10.3.1 Keywords<br />
Name=sname<br />
SImday=nn<br />
5.10.3.2 Keyword Descriptions<br />
5.10.3.3 Usage Notes<br />
Name=sname<br />
Specify the schedule (1- to 8-character schedule name) <strong>for</strong> which the <strong>for</strong>ecast<br />
reports will be produced.<br />
SImday=nn<br />
Indicate what day to produce the reports. Give the number of that day<br />
relative to the beginning of the <strong>for</strong>ecast period, where the first day is day 0.<br />
There<strong>for</strong>e, to produce reports <strong>for</strong> the selected schedule on the second day of<br />
the <strong>for</strong>ecast period, specify SIMDAY=1. If you do not use this keyword, the<br />
reports will be produced every day during the <strong>for</strong>ecast period.<br />
Use the ONLY Schedule command to produce <strong>for</strong>ecast reports <strong>for</strong> only on<br />
schedule. This command must precede the FORE<strong>CA</strong>ST command.<br />
The ONLY Schedule command only reports on a schedule that is normally<br />
selected on the day you are <strong>for</strong>ecasting. To report on a schedule that is not<br />
normally selected, use either the RUN Schedule command or the OVERRIDE<br />
SCHEDULE command with AUTOSEL=YES.<br />
JCL that produces <strong>for</strong>ecast reports requires the inclusion of a work file. A<br />
generic version of this work file is contained on the installation tape. The file's<br />
name is Z.<strong>CA</strong>WORK1. Tailor this file to your installation's needs and ensure<br />
that it is accessible be<strong>for</strong>e running the JCL that produces the reports.<br />
Chapter 5. Reports 5-121
5.10 Forecast Commands<br />
5.10.3.4 Example<br />
5.10.4 REQUEST <strong>Job</strong><br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
ONLY S N=JUSTONE report on only one schedule<br />
FORE<strong>CA</strong>ST<br />
produce all <strong>for</strong>ecast reports<br />
/<br />
/&<br />
The preceding example produces all of the <strong>for</strong>ecast reports <strong>for</strong> only one<br />
schedule.<br />
REQUEST <strong>Job</strong> Name=jname<br />
Request a job and its respective successors.<br />
5.10.4.1 Keywords<br />
Name=jname<br />
AT=hhmm|ddhhmm<br />
Jno=nn<br />
Schedule=sname<br />
SImday=nn<br />
STation=nn<br />
5.10.4.2 Keyword Descriptions<br />
Name=jname<br />
Specify the job (1- to 8-character job name) you want to move to the ACTIVE<br />
queue.<br />
AT=hhmm|ddhhmm<br />
Specify the time that the job is to be moved to the ACTIVE queue. Specify<br />
hhmm in terms of a 24-hour clock. Use dd to indicate the number of autoscan<br />
days in the future when this is to occur. Do not use dd if the job will be<br />
moved to the ACTIVE queue today.<br />
JNo=nn<br />
Specify the job number (an integer from 1-99) if you want to request a<br />
particular occurrence of a job.<br />
Schedule=sname<br />
Specify the schedule name (1-8 characters) if the job has been defined in more<br />
than one schedule. If this is not specified, <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> will move<br />
to the ACTIVE queue the first job it finds with the specified job name (if the<br />
schedule that the job belongs to is active).<br />
5-122 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.10 Forecast Commands<br />
5.10.4.3 Usage Notes<br />
5.10.4.4 Example<br />
SImday=nn<br />
Indicate what day of the <strong>for</strong>ecast period to move the job to the ACTIVE queue.<br />
Give the number of that day relative to the beginning of the <strong>for</strong>ecast period,<br />
where the first day is day 0. There<strong>for</strong>e, to request a job on the second day of<br />
<strong>for</strong>ecasting, specify SIMDAY=1. If you do not use this keyword, the job will be<br />
moved to the ACTIVE queue every day during the <strong>for</strong>ecast period.<br />
STation=nn<br />
Specify the station ID (integer from 1-99) <strong>for</strong> non-CPU stations.<br />
Use the REQUEST <strong>Job</strong> command to request a job and its respective succesors.<br />
Use this command only if the schedule that contains the job is active.<br />
The REQUEST <strong>Job</strong> command must precede the FORE<strong>CA</strong>ST command.<br />
JCL that produces <strong>for</strong>ecast reports requires the inclusion of a work file. A<br />
generic version of this work file is contained on the installation tape. The file's<br />
name is Z.<strong>CA</strong>WORK1. Tailor this file to your installation's needs and ensure<br />
that it is accessible be<strong>for</strong>e running the JCL that produces the reports.<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REQUEST J N=NOTTODAY,<br />
S=SALES,<br />
SIMDAY=1<br />
FORE<strong>CA</strong>ST<br />
/<br />
/&<br />
5.10.5 REQUEST Schedule<br />
activate a job<br />
job is in this schedule<br />
activate it on 2nd day<br />
produce <strong>for</strong>ecast reports<br />
The preceding example activates a job in the SALES schedule on the second<br />
day of the <strong>for</strong>ecast period. Note that the SALES schedule must be scheduled<br />
that day <strong>for</strong> one of its jobs to be activated.<br />
REQUEST Schedule Name=sname<br />
Request a schedule and its respective<br />
successors.<br />
Chapter 5. Reports 5-123
5.10 Forecast Commands<br />
5.10.5.1 Keywords<br />
Name=sname<br />
AT=hhmm|ddhhmm<br />
SImday=nn<br />
5.10.5.2 Keyword Descriptions<br />
5.10.5.3 Usage Notes<br />
5.10.5.4 Example<br />
Name=sname<br />
Specify the schedule (1- to 8-character schedule name) you want to move to<br />
the ACTIVE queue.<br />
AT=hhmm|ddhhmm<br />
Specify the time that the schedule is to be moved to the ACTIVE queue.<br />
Specify hhmm in terms of a 24-hour clock. Use dd to indicate the number of<br />
autoscan days in the future when this is to occur. Do not use dd if the<br />
schedule will be moved to the ACTIVE queue today.<br />
SImday=nn<br />
Indicate what day of the <strong>for</strong>ecast period to move the job or schedule to the<br />
ACTIVE queue. Give the number of that day relative to the beginning of the<br />
<strong>for</strong>ecast period, where the first day is day 0. There<strong>for</strong>e, to request a job on the<br />
second day of <strong>for</strong>ecasting, specify SIMDAY=1. If you do not use this keyword,<br />
the job or schedule will be moved to the ACTIVE queue every day during the<br />
<strong>for</strong>ecast period.<br />
Use the REQUEST Schedule command to request a schedule and its respective<br />
successors. This command must precede the FORE<strong>CA</strong>ST command.<br />
JCL that produces <strong>for</strong>ecast reports requires the inclusion of a work file. A<br />
generic version of this work file is contained on the installation tape. The file's<br />
name is Z.<strong>CA</strong>WORK1. Tailor this file to your installation's needs and ensure<br />
that it is accessible be<strong>for</strong>e running the JCL that produces the reports.<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
REQUEST S N=RUNONREQ,<br />
AT=12<br />
FORE<strong>CA</strong>ST<br />
/<br />
/&<br />
activate a schedule<br />
at noon<br />
produce <strong>for</strong>ecast reports<br />
5-124 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.10 Forecast Commands<br />
The preceding example activates a schedule that has been defined with<br />
REQUESTED criteria. These schedules are selected every day but are kept in<br />
the INACTIVE queue until a REQUEST command moves them to the ACTIVE<br />
queue.<br />
5.10.6 RUN <strong>Job</strong><br />
RUN <strong>Job</strong> Name=jname<br />
Include a job that is not normally selected<br />
today.<br />
5.10.6.1 Keywords<br />
Name=jname<br />
AT=hhmm|ddhhmm<br />
Jno=nn<br />
Schedule=sname<br />
SImday=nn<br />
STation=nn<br />
5.10.6.2 Keyword Descriptions<br />
Name=jname<br />
Specify the job (1- to 8-character job name) you want to include.<br />
AT=hhmm|ddhhmm<br />
Specify the time that the job is to start. Specify hhmm in terms of a 24-hour<br />
clock. Use dd to indicate the number of autoscan days in the future when the<br />
job is to be included. Do not use dd if the job will be included today.<br />
JNo=nn<br />
Specify the job number (an integer from 1-99) if you want to include a<br />
particular occurrence of a job.<br />
Schedule=sname<br />
Specify the schedule name (1-8 characters) if the job has been defined in more<br />
than one schedule. If this is not specified, <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> will include<br />
the first job it finds with the specified job name (if the schedule that the job<br />
belongs to is active).<br />
SImday=nn<br />
Indicate what day of the <strong>for</strong>ecast period to include the job. Give the number<br />
of that day relative to the beginning of the <strong>for</strong>ecast period, where the first day<br />
is day 0. There<strong>for</strong>e, to include a job on the second day, specify SIMDAY=1. If<br />
Chapter 5. Reports 5-125
5.10 Forecast Commands<br />
5.10.6.3 Usage Notes<br />
5.10.6.4 Example<br />
you do not use this keyword, the job will be included every day during the<br />
<strong>for</strong>ecast period.<br />
STation=nn<br />
5.10.7 RUN Schedule<br />
Specify the station ID (integer from 1-99) <strong>for</strong> non-CPU stations.<br />
User the RUN <strong>Job</strong> command to include a job that is not normally selected<br />
today. Use this command only if the schedule that contains the job is active. It<br />
must either be selected today or added using a RUN Schedule command.<br />
This command must precede the FORE<strong>CA</strong>ST command.<br />
JCL that produces <strong>for</strong>ecast reports requires the inclusion of a work file. A<br />
generic version of this work file is contained on the installation tape. The file's<br />
name is Z.<strong>CA</strong>WORK1. Tailor this file to your installation's needs and ensure<br />
that it is accessible be<strong>for</strong>e running the JCL that produces the reports.<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
RUN J N=CUST1,<br />
S=SALES,<br />
SIMDAY=1<br />
FORE<strong>CA</strong>ST<br />
/<br />
/&<br />
add a job<br />
job is in this schedule<br />
add it only on 2nd day<br />
produce <strong>for</strong>ecast reports<br />
The preceding example adds a job that is not normally selected today,<br />
although it is part of a schedule that is normally selected. The job is to be<br />
added to the schedule only on the second day of the <strong>for</strong>ecast period.<br />
RUN Schedule Name=sname<br />
Include a schedule that is not normally<br />
selected today.<br />
5.10.7.1 Keywords<br />
Name=sname<br />
AT=hhmm|ddhhmm<br />
SImday=nn<br />
5-126 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.10 Forecast Commands<br />
5.10.7.2 Keyword Descriptions<br />
5.10.7.3 Usage Notes<br />
5.10.7.4 Example<br />
Name=sname<br />
Specify the schedule (1- to 8-character schedule name) you want to include.<br />
AT=hhmm|ddhhmm<br />
Specify the time that the schedule is to start. Specify hhmm in terms of a<br />
24-hour clock. Use dd to indicate the number of autoscan days in the future<br />
when the schedule is to be included. Do not use dd if the schedule will be<br />
included today.<br />
SImday=nn<br />
Indicate what day of the <strong>for</strong>ecast period to include the schedule. Give the<br />
number of that day relative to the beginning of the <strong>for</strong>ecast period, where the<br />
first day is day 0. There<strong>for</strong>e, to include a schedule on the second day, specify<br />
SIMDAY=1. If you do not use this keyword, the schedule will be included<br />
every day during the <strong>for</strong>ecast period.<br />
Use the RUN Schedule command to include a schedule that is not normally<br />
selected today. This command must precede the FORE<strong>CA</strong>ST command.<br />
JCL that produces <strong>for</strong>ecast reports requires the inclusion of a work file. A<br />
generic version of this work file is contained on the installation tape. The file's<br />
name is Z.<strong>CA</strong>WORK1. Tailor this file to your installation's needs and ensure<br />
that it is accessible be<strong>for</strong>e running the JCL that produces the reports.<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
RUN S N=PAYROLL,<br />
AT=12<br />
RUN J N=CUST1,<br />
S=SALES,<br />
SIMDAY=1<br />
FORE<strong>CA</strong>ST<br />
/<br />
/&<br />
add a schedule<br />
start it at noon<br />
add a job<br />
job is in this schedule<br />
add it only on 2nd day<br />
produce <strong>for</strong>ecast reports<br />
The preceding example adds a schedule that is not normally selected today.<br />
The schedule is to start at noon.<br />
Chapter 5. Reports 5-127
5.10 Forecast Commands<br />
5.10.8 FORE<strong>CA</strong>ST<br />
FORE<strong>CA</strong>ST<br />
Produce one or more of the <strong>for</strong>ecast reports.<br />
5.10.8.1 Keywords<br />
Optional object: reportid<br />
5.10.8.2 Keyword Descriptions<br />
EXCrept=(reportid1,reportid2,...)<br />
For=nn<br />
FromDate=AUTOS|TODAY|mmddyy|ddmmyy<br />
INCrept=(reportid1,reportid2,...)<br />
MONthof=mmyy<br />
Revise=YES<br />
STation=(nn,...)<br />
EXCrept=(reportid1,reportid2,...)<br />
Use this keyword to list the reports that you do not want printed. If you do<br />
not use this keyword, all reports are printed except the <strong>Job</strong> Summary Report.<br />
To Exclude This Report<br />
Schedules/<strong>Job</strong>s Selected For DDMMYY<br />
Schedules/<strong>Job</strong>s Selected For Station X<br />
Resources Required For All <strong>Job</strong>s<br />
Resources Required For <strong>Job</strong>s At Station X<br />
Run Book<br />
Predecessors Required For <strong>Job</strong>s At Station X<br />
Specify<br />
SELECTED<br />
STATION<br />
RESALL<br />
RESSTN<br />
RUNBOOK<br />
PREDS<br />
5-128 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.10 Forecast Commands<br />
For=nn<br />
Specify the number of days you want included in the <strong>for</strong>ecast. <strong>Unicenter</strong><br />
<strong>CA</strong>-<strong>Scheduler</strong> will begin selecting jobs and schedules that are supposed to be<br />
processed on the date specified by FROMDATE and will continue selecting<br />
jobs and schedules that are supposed to be processed on the next day, and the<br />
day after that, and so on, until it covers the number of days specified here. If<br />
FOR is not specified, <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> will select jobs and schedules<br />
only <strong>for</strong> one day.<br />
FromDate=AUTOS|TODAY|mmddyy|ddmmyy<br />
Give the date when you want the <strong>for</strong>ecast to begin:<br />
AUTOS<br />
TODAY<br />
Start the <strong>for</strong>ecast on the date the database was scanned.<br />
This ignores the actual system date, which changes at<br />
midnight. This is the default and need not be specified.<br />
Start the <strong>for</strong>ecast today, according to the system date. If it<br />
is after midnight, this may be a day later than the<br />
AUTOS<strong>CA</strong>N date which does not change at midnight. (If<br />
AUTOS<strong>CA</strong>N takes place at midnight, FD=AUTOS and<br />
FD=TODAY are the same.)<br />
mmddyy|ddmmyy Start the <strong>for</strong>ecast on this date. For example, if you specify<br />
FD=120103, <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> selects jobs and<br />
schedules that are to be processed on December 1, 2003.<br />
Specify the date as ddmmyy if this is the standard date<br />
<strong>for</strong>mat used at your installation.<br />
INCrept=(reportid1,reportid2,...)<br />
Print the <strong>Job</strong> Summary Report or some of the simulation reports in addition to<br />
the <strong>for</strong>ecast reports.<br />
To Include This Report<br />
<strong>Job</strong> Summary<br />
Date Translation Report<br />
Specify<br />
SUMMARY<br />
DATETRAN<br />
MONthof=mmyy<br />
Use this keyword if you want the <strong>Job</strong> Summary report to show a specific<br />
month. If you do not specify a month, the report is <strong>for</strong> the current month.<br />
This keyword only affects the <strong>Job</strong> Summary Report. It is to be used in<br />
conjunction with the FromDate and FOR keywords to produce the Forecast<br />
Reports.<br />
Revise=YES<br />
Chapter 5. Reports 5-129
5.10 Forecast Commands<br />
5.10.8.3 Usage Notes<br />
Get an up-to-date picture of how the schedule is going and what work remains<br />
to be done. This is useful if you are having system problems and want to see<br />
how they affect the schedule. All of the regular <strong>for</strong>ecast reports are generated,<br />
starting at the time the FORE<strong>CA</strong>ST command is issued. The Schedules/<strong>Job</strong>s<br />
Selected reports show the current status of every schedule and job in the<br />
tracking file. The in<strong>for</strong>mation <strong>for</strong> all of these reports is taken from the tracking<br />
file instead of from the database; there<strong>for</strong>e it includes backlogged jobs from<br />
previous days and jobs that have been added to the schedule using online<br />
commands. Completed jobs are eliminated from the schedule. Start and end<br />
times on the Late <strong>Job</strong> Profile are revised. We suggest that you use this option<br />
when the <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> Monitor is not operational; <strong>for</strong> example,<br />
after a system recovery be<strong>for</strong>e you bring up Monitor.<br />
STation=(nn,...)<br />
Identify up to eight workstations <strong>for</strong> which <strong>for</strong>ecast reports are to be<br />
produced. If no STATION is specified, reports are produced <strong>for</strong> all defined<br />
stations.<br />
Use the FORE<strong>CA</strong>ST command to produce one or more of the <strong>for</strong>ecast reports.<br />
Submit EXCLUDE, ONLY, REQUEST or RUN commands be<strong>for</strong>e this<br />
command.<br />
All of the <strong>for</strong>ecast reports except the <strong>Job</strong> Summary Report are produced unless<br />
you specify an object, EXCREPT, or INCREPT. The object can be any of these<br />
report ids:<br />
To Print Only This Report<br />
<strong>Job</strong> Summary<br />
Schedules/<strong>Job</strong>s Selected For DDMMYY<br />
Schedules/<strong>Job</strong>s Selected For Station X<br />
Resources Required For <strong>Job</strong>s At Station X<br />
Resources Required For All <strong>Job</strong>s<br />
Run Book<br />
Predecessors Required For <strong>Job</strong>s At Station X<br />
Specify<br />
SUMMARY<br />
SELECTED<br />
STATION<br />
RESSTN<br />
RESALL<br />
RUNBOOK<br />
PREDS<br />
JCL that produces <strong>for</strong>ecast reports requires the inclusion of a work file. A<br />
generic version of this work file is contained on the installation tape. The file's<br />
name is Z.<strong>CA</strong>WORK1. Tailor this file to your installation's needs and ensure<br />
that it is accessible be<strong>for</strong>e running the JCL that produces the reports.<br />
5-130 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.10 Forecast Commands<br />
5.10.8.4 Example 1<br />
5.10.8.5 Example 2<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
ONLY SCHEDULE N=BIGSCHD<br />
FORE<strong>CA</strong>ST station MONTHOF=93<br />
/<br />
/&<br />
report on only one schedule<br />
produce station reports <strong>for</strong> one month<br />
The preceding example prints station reports <strong>for</strong> all defined stations showing<br />
which jobs in BIGSCHD will be selected each day during the month of<br />
September, 2003.<br />
// JOB <strong>CA</strong>JUTIL<br />
work file<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
EXCLUDE SCHEDULE N=EXCSCHD1<br />
RUN Schedule N=REQJOB1<br />
FORE<strong>CA</strong>ST FD=9143,FOR=2,<br />
/<br />
/&<br />
STA=(2,3,4,5,6),<br />
EXC=RUNBOOK,<br />
INC=SUMMARY<br />
exclude a schedule<br />
add a schedule<br />
produce all <strong>for</strong>ecast reports except the<br />
runbook <strong>for</strong> these stations <strong>for</strong> 2 days<br />
The preceding example <strong>for</strong>ecasts which schedules and jobs will be selected on<br />
September 14th and 15th, excluding one schedule that would normally be<br />
selected, but adding a schedule that would not normally be selected. All<br />
<strong>for</strong>ecast reports, except runbooks, will be printed. Only five stations will be<br />
reported on.<br />
Chapter 5. Reports 5-131
5.11 Forecast Reports<br />
5.11 Forecast Reports<br />
The reports generated by the FORE<strong>CA</strong>ST command are illustrated on the<br />
following pages, organized alphabetically by report title <strong>for</strong> easy reference. The<br />
three-part report heading is illustrated following:<br />
COMPUTER ASSOCIATES<br />
<strong>CA</strong>-SCHEDULER 7.3 yymmSHvvn<br />
The left-hand part of the heading identifies the product by vendor, name,<br />
release number and generation level. The generation level consists of the last<br />
two digits of the year (yy), the month (mm), the product code (SH), the release<br />
number (vv), and a number <strong>for</strong> internal use (n).<br />
SCHEDULES/JOBS SELECTED FOR STATION CPUSTN<br />
THIS IS THE CPU STATION<br />
The middle of the heading gives the report title. If the report is <strong>for</strong> a specific<br />
station, the station ID or name is inserted on the first line, and the station title<br />
is printed on the second line. (id, name, and title are all taken from the station<br />
definition.)<br />
STATION PAGE 6<br />
14 SEP 23 11.14.17<br />
FORE<strong>CA</strong>ST DATE 14 SEP 23<br />
The right-hand part of the heading begins with the report id. (Each report has<br />
a 1- to 8-character report ID which can be specified on the EXCREPT keyword<br />
to exclude the report from a <strong>for</strong>ecast run or on the INCREPT keyword to<br />
include the report in a simulation run.) The second line gives the date and<br />
time the report is generated. The bottom line gives the date <strong>for</strong> which the<br />
events are being <strong>for</strong>ecasted.<br />
5.11.1 <strong>Job</strong> Summary (SUMMARY)<br />
The <strong>Job</strong> Summary (SUMMARY) report is produced only if you specify<br />
SUMMARY or include it using the INCREPT keyword when you issue the<br />
FORE<strong>CA</strong>ST command. It gives an overview of jobs that will be selected on<br />
one date or a range of dates. The default report shows an entire month, but<br />
fewer days can be specified using the FROMDATE and FOR keywords.<br />
This report indicates job path selection on a given date by reason code. It does<br />
NOT indicate which stations are selected within a given job path.<br />
5-132 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.11 Forecast Reports<br />
COMPUTER ASSOCIATES JOB SUMMARY SUMMARY PAGE 1<br />
<strong>CA</strong>-SCHEDULER 7.3 39SH73 SEP 1, 23 TO SEP 3, 23 1 SEP 23 16.9.12<br />
SCHEDULE ----JOB----<br />
NAME NAME NO RC 1 2 3 4 5 6 7 8 9 1 11 12 13 14 15 16 17 18 19 2 21 22 23 24 25 26 27 28 29 3<br />
-------- -------- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --<br />
SCHD1 JOBA 1 1 S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S<br />
SCHD1 JOBB 2 1 S S S S S S S S S S S S S S S S S S S S S S<br />
SCHD1 JOBC 3 1 S S S S S S S S S S S S S S S S S S S S S S<br />
SCHD1 JOBD 4 1 S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S<br />
SCHD1 JOBE 5 1 S S S S S S S S S S S S S S S S S S S S S S<br />
SCHD1 JOBF 1 1 S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S<br />
SCHD1 JOBG 11 1 S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S<br />
SCHD1 JOBH 13 1 S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S<br />
SCHD2 JOBA 1 1 S S S S S S S S S S S S S S S S S S S S S S<br />
JOBNAME=FOR<strong>CA</strong>ST PARTITION=BG DATE=9/1/3 TIME=16:12:49 CPUID=FF23 39 COMP=5686326DB6 PAGE 1<br />
The following in<strong>for</strong>mation is given:<br />
SCHEDULE NAME<br />
JOB NAME<br />
JOB NO<br />
REASON CODE<br />
The schedules that the selected jobs are assigned to.<br />
The jobs that will be selected during this period.<br />
Any number higher than 01 indicates that the job is<br />
supposed to run more than once as part of this schedule.<br />
This tells why each job will be selected:<br />
01 - 79 Corresponds to the position of the reason on<br />
the CRITERIA statement that was defined <strong>for</strong><br />
this job or schedule.<br />
80 Means it will be selected because the date<br />
corresponds to a workday on the <strong>CA</strong>LENDAR<br />
that was defined <strong>for</strong> this job or schedule.<br />
84 Means it is selected by default every day<br />
because no selection criteria were defined.<br />
88 Means that it was added to the <strong>for</strong>ecast by the<br />
RUN command.<br />
1, 2, etc. The dates that are being reported on are listed across the<br />
top of the report. An S under the date means that that<br />
job will be selected on that date.<br />
5.11.2 Predecessors Required <strong>for</strong> <strong>Job</strong>s at Station X (PREDS)<br />
The Predecessors Required <strong>for</strong> <strong>Job</strong>s at Station X (PREDS) report lists the<br />
predecessors that must be satisfied be<strong>for</strong>e these jobs can be processed at this<br />
station.<br />
Chapter 5. Reports 5-133
5.11 Forecast Reports<br />
COMPUTER ASSOCIATES PREDECESSORS REQUIRED FOR JOBS AT STATION 4 CPUSTN PREDS PAGE 1<br />
<strong>CA</strong>-SCHEDULER 7.3 39SH73 CPU 14 SEP 23 11.14.17<br />
FORE<strong>CA</strong>ST DATE 14 SEP 23<br />
PREDECESSORS FOR JOBS SELECTED on 14 SEP 23<br />
SCHEDULE ------JOB-----<br />
AVERAGE<br />
NAME NAME NO ST PREDECESSOR SYSID EARLY TIME MUSTTIME DEADLINE TIME<br />
-------- -------- -- -- ----------------------------------------------------- ----- ---------- -------- -------- --------<br />
SCD2 JOB2A 1 4 JOB1A -1 4 8. 8. 1. 1.15<br />
SCD3 JOB3B 1 4 JOB3A -1 4 4.<br />
SCD4 JOB4B 1 4 JOB4A -1 4 1/8.<br />
SCD4 JOB4C 1 4 JOB4B -1 4<br />
The following in<strong>for</strong>mation is given:<br />
SCHEDULE NAME<br />
JOB NAME<br />
JOB NO<br />
JOB ST<br />
PREDECESSOR<br />
The schedules the selected jobs are assigned to.<br />
The jobs that will be selected on this date.<br />
Any number higher than 01 indicates that the job is<br />
supposed to run more than once as part of this schedule.<br />
The station being reported on.<br />
The predecessor conditions that were defined on the<br />
schedule or job criteria record that need to be satisfied<br />
prior to the job being run. Each predecessor condition is<br />
the end of a job, unless it is preceded by one of the<br />
following reserved words:<br />
This Word<br />
DOS<br />
DSN<br />
GBLxnn=<br />
PRED<br />
SCD<br />
START<br />
Indicates That The Predecessor Is<br />
A DOS job<br />
The close of a data set<br />
A user-defined event<br />
A predecessor only and does not cause selection<br />
A schedule<br />
The start of a job or schedule<br />
SYSID<br />
EARLY TIME<br />
The SYSID, if defined.<br />
The job's EARLIEST START TIME will be taken from the<br />
following records in the following order:<br />
1. <strong>Job</strong> reason code record (JRC) if defined and there is a<br />
matching nonzero early start time <strong>for</strong> the selection<br />
reason.<br />
2. <strong>Job</strong> base record (JBR) if early time is defined.<br />
3. The job will start when the schedule it is in starts.<br />
5-134 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.11 Forecast Reports<br />
MUSTTIME<br />
DEADLINE<br />
AVERAGE TIME<br />
The job's MUST START BY TIME will be taken from the<br />
following records in the following order:<br />
1. <strong>Job</strong> reason code record (JRC) if defined and there is a<br />
matching nonzero must time <strong>for</strong> the selection reason.<br />
2. <strong>Job</strong> base record (JBR) if must time is defined.<br />
3. No must start by time will be used.<br />
The job's COMPLETION DEADLINE TIME is taken from<br />
the following records in the following order:<br />
1. <strong>Job</strong> reason code record (JRC) if defined and there is a<br />
matching nonzero DEADLINE <strong>for</strong> the selection<br />
reason.<br />
2. <strong>Job</strong> base record (JBR) if DEADLINE is defined.<br />
3. No deadline is used.<br />
The job's average processing time is taken from the<br />
following records in the following order:<br />
1. <strong>Job</strong> reason code record (JRC) if defined and there is a<br />
matching nonzero average time <strong>for</strong> the selection<br />
reason.<br />
2. <strong>Job</strong> base record (JBR) if there is a nonzero average<br />
time defined.<br />
3. <strong>Job</strong> history record (JHR). The average time in this<br />
record is calculated and based upon $JOBACCT<br />
data. If the job has not been run at your installation<br />
yet, this field is not used.<br />
4. Station resource record (RSR) average time is used.<br />
5.11.3 Resources Required <strong>for</strong> All Selected <strong>Job</strong>s (RESALL)<br />
The Resources Required <strong>for</strong> All Selected <strong>Job</strong>s report lists the resources required<br />
to process jobs that will be selected on a given date. Only jobs with defined job<br />
resource records are listed.<br />
COMPUTER ASSOCIATES RESOURCES REQUIRED FOR ALL SELECTED JOBS RESALL PAGE 1<br />
<strong>CA</strong>-SCHEDULER 7.3 39SH73 14 SEP 23 13.35.39<br />
FORE<strong>CA</strong>ST DATE 14 SEP 23<br />
SCHEDULE ------JOB-----<br />
----DASD--- ----TAPE--- -----UR----<br />
NAME NAME NO ST DISK EXCP TAPE EXCP OTHER EXCP SEPARATE JOBS TYPE NO TYPE NO TYPE NO<br />
-------- -------- -- -- ----------- ----------- ----------- ------------------------------- ----------- ----------- -----------<br />
DSNABC DSNABC 1 4 1,111 2,222 3,333 <strong>CA</strong>JDEM3 338 2 349 2 143 4<br />
9345 2<br />
ABATCH AB 1 4 3,333 4,444 5,555 IEBDG 339 78 342 3 254 3<br />
The following in<strong>for</strong>mation is given:<br />
Chapter 5. Reports 5-135
5.11 Forecast Reports<br />
SCHEDULE NAME<br />
The schedules that the jobs are assigned to.<br />
JOB NAME<br />
JOB NO<br />
JOB ST<br />
DISK EXCP<br />
TAPE EXCP<br />
OTHER EXCP<br />
The jobs with defined resource records that will be selected.<br />
The selected job number.<br />
The stations where the job will be scheduled <strong>for</strong> processing.<br />
To see a separate resource report <strong>for</strong> each station, use<br />
Resources Required For <strong>Job</strong>s At Station X, the RESSTN<br />
report.<br />
The number of disk device I/Os required by each job, as<br />
defined by DASD EXCPS on the job resource record. (See<br />
Note.)<br />
The number of tape device I/Os required by each job, as<br />
defined by TAPE EXCPS on the job resource record. (See<br />
Note.)<br />
The number of unit device I/Os required by each job, as<br />
defined by UNIT EXCPS on the job resource record. (See<br />
Note.)<br />
SEPARATE JOBS/DSNS<br />
The list of jobs that cannot run at the same time as this job,<br />
as defined by SEPARATE JOBS LIST on the job resource<br />
record; or, a DSN that cannot be used by more than one job<br />
at a time, as defined by SEPARATE DSN on the job resource<br />
record.<br />
DASD TYPE<br />
DASD NO<br />
TAPE TYPE<br />
TAPE NO<br />
UR TYPE<br />
UR NO<br />
The types of direct access devices each job requires, as<br />
defined by DASD01 through DASD16 on the job resource<br />
record.<br />
How many of each type of direct access device each job<br />
requires, as defined by DASD01 through DASD16 on the job<br />
resource record.<br />
The types of tape devices each job requires, as defined by<br />
TAPE01 through TAPE16 on the job resource record.<br />
How many of each type of tape device each job requires, as<br />
defined by TAPE01 through TAPE16 on the job resource<br />
record.<br />
The types of unit record devices each job requires, as defined<br />
by UR01 through UR16 on the job resource record.<br />
How many of each type of unit record device each job<br />
requires, as defined by UR01 through UR16 on the job<br />
resource record.<br />
Note: If EXCPs are not defined on the job resource record, the in<strong>for</strong>mation is<br />
obtained from the job history records, which are updated by<br />
$JOBACCT data.<br />
5-136 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.11 Forecast Reports<br />
5.11.4 Resources Required <strong>for</strong> <strong>Job</strong>s at Station X (RESSTN)<br />
The Resources Required <strong>for</strong> <strong>Job</strong>s at Station X report lists the resources required<br />
to process jobs at one station. Only jobs with defined job resource records are<br />
listed.<br />
COMPUTER ASSOCIATES RESOURCES REQUIRED FOR JOBS AT STATION CPU RESSTN PAGE 1<br />
<strong>CA</strong>-SCHEDULER 7.3 39SH73 CPU 14 SEP 23 13.35.39<br />
FORE<strong>CA</strong>ST DATE 14 SEP 23<br />
SCHEDULE ------JOB-----<br />
----DASD--- ----TAPE--- -----UR----<br />
NAME NAME NO ST DISK EXCP TAPE EXCP OTHER EXCP SEPARATE JOBS TYPE NO TYPE NO TYPE NO<br />
-------- -------- -- -- ----------- ----------- ----------- ------------------------------- ----------- ----------- -----------<br />
DSNABC DSNABC 1 4 1,111 2,222 3,333 <strong>CA</strong>JDEM3 338 2 342 2 143 4<br />
339 2<br />
ABATCH AB 1 4 3,333 4,444 5,555 IEBDG 9345 78 349 3 254 3<br />
The following in<strong>for</strong>mation is given:<br />
SCHEDULE NAME The schedules that the jobs are assigned to.<br />
JOB NAME<br />
JOB NO<br />
JOB ST<br />
DISK EXCP<br />
TAPE EXCP<br />
OTHER EXCP<br />
SEPARATE JOBS<br />
DASD TYPE<br />
DASD NO<br />
TAPE TYPE<br />
The jobs with defined resource records that will be<br />
scheduled <strong>for</strong> processing at this station.<br />
The selected job number.<br />
All of the jobs listed here will be scheduled <strong>for</strong> processing<br />
at the same station.<br />
The number of disk device I/Os required by each job, as<br />
defined by DASD EXCPS on the job resource record. (See<br />
Note.)<br />
The number of tape device I/Os required by each job, as<br />
defined by TAPE EXCPS on the job resource record. (See<br />
Note.)<br />
The number of unit device I/Os required by each job, as<br />
defined by UNIT EXCPS on the job resource record. (See<br />
Note.)<br />
The list of jobs that cannot run at the same time as this job,<br />
as defined by SEPARATE JOBS LIST on the job resource<br />
record.<br />
The types of direct access devices each job requires, as<br />
defined by DASD01 through DASD16 on the job resource<br />
record.<br />
How many of each type of direct access device each job<br />
requires, as defined by DASD01 through DASD16 on the<br />
job resource record.<br />
The types of tape devices each job requires, as defined by<br />
TAPE01 through TAPE16 on the job resource record.<br />
Chapter 5. Reports 5-137
5.11 Forecast Reports<br />
TAPE NO<br />
UR TYPE<br />
UR NO<br />
5.11.5 Run Book (RUNBOOK)<br />
How many of each type of tape device each job requires,<br />
as defined by TAPE01 through TAPE16 on the job resource<br />
record.<br />
The types of unit record devices each job requires, as<br />
defined by UR01 through UR16 on the job resource record.<br />
How many of each type of unit record device each job<br />
requires, as defined by UR01 through UR16 on the job<br />
resource record.<br />
Note: If EXCPs are not defined on the job resource record, the in<strong>for</strong>mation is<br />
obtained from the job history records, which are updated by<br />
$JOBACCT data.<br />
The Run Book report lists all database and documentation library values<br />
defined <strong>for</strong> each job that will be selected on the given date.<br />
5-138 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.11 Forecast Reports<br />
COMPUTER ASSOCIATES RUN BOOK RUNBOOK PAGE 1<br />
<strong>CA</strong>-SCHEDULER 7.3 39SH73 14 SEP 23 13.35.39<br />
FORE<strong>CA</strong>ST DATE 14 SEP 23<br />
JOB - DSNABC -1<br />
SCHEDULE - DSNABC<br />
STATION - 4<br />
DATE - 14 SEP 23<br />
JOB CMNT:JOB INFO COMMENT AREA<br />
SCD CMNT:THIS IS SCD COMMENT AREA<br />
DATE TABLE:DATETAB<br />
<strong>CA</strong>LENDAR:<br />
DOC DISP TIME - 9. DOC DISP KEY - DSNABC SYSID -<br />
EARLY TIME - 1. CLASS - B CPUJOB - YES<br />
MUST TIME - 11. PRTY - 12 AUTOSTART - NO<br />
DEADLINE TIME - 12. PRIORTY - RECOVER - NO<br />
SIM START TIME - USE SIM TIME - NO STAGING - NO<br />
MAX TIME - 1. LIBTYPE - PDS INTERRUPT - NO<br />
AVG ELASP TIME - .35 LIBMEMBER - DSNABC ABEND - ABORT<br />
MEMBER SUB ID - BACKLOG - NO FAILCODE - 3<br />
MEMO<br />
- THIS IS THE MEMO FOR JOB DSNABC IN SCHEDULE DSNABC<br />
FORM - JIR FORM QUANTITY - 87654321 SPEC NUMBR - JIR SPEC<br />
USER RESP - DEB KOLOMICK NOTIFY - JIR NOTIFY<br />
MEMO DESCRIPTION - JOB INFO DESCRIPTION AREA<br />
DESTINATION: DEST1<br />
DEST5<br />
DELIVERY SPECS: DELIVERABLE2<br />
JIRDELIVERABLE3<br />
ROUTE CODES: PP,OO<br />
SEND ALL MESSAGES: DEB<br />
SEND START MESSAGES: JEFF<br />
SEND END MESSAGES: BOB<br />
SEND LATE MESSAGES: FRAN<br />
SEND PURGE MESSAGES: LINDA<br />
SEND FAIL MESSAGES: HOWIE<br />
SEND ABEND MESSAGES: BOB<br />
SEND INTERRUPT MESSAGES: DEB<br />
DATA SET NAME: MOHAMED.ABC<br />
DASD VOLSERS : <strong>CA</strong>I8<br />
SEPARATE JOBS: <strong>CA</strong>JDEM3<br />
OUTPUT DSN<br />
DATA SET NAME DEVTYPE BLKSIZE LRECL<br />
------------- ------- ------- -----<br />
DEBK.ABC DISK 6 5<br />
RUNBOOK DOCUMENTATION SPECIFIED BUT RECORD NOT FOUND<br />
Chapter 5. Reports 5-139
5.11 Forecast Reports<br />
COMPUTER ASSOCIATES RUN BOOK RUNBOOK PAGE 2<br />
<strong>CA</strong>-SCHEDULER 7.3 39SH73 14 SEP 23 13.35.39<br />
FORE<strong>CA</strong>ST DATE 14 SEP 23<br />
JOB - DSNABC -1<br />
SCHEDULE - DSNABC<br />
STATION - 4<br />
DATE - 14 SEP 23<br />
NOTEPAD AREA <br />
--------------------------------------------------------------------------------<br />
--------------------------------------------------------------------------------<br />
--------------------------------------------------------------------------------<br />
--------------------------------------------------------------------------------<br />
--------------------------------------------------------------------------------<br />
--------------------------------------------------------------------------------<br />
--------------------------------------------------------------------------------<br />
--------------------------------------------------------------------------------<br />
--------------------------------------------------------------------------------<br />
--------------------------------------------------------------------------------<br />
--------------------------------------------------------------------------------<br />
--------------------------------------------------------------------------------<br />
--------------------------------------------------------------------------------<br />
--------------------------------------------------------------------------------<br />
--------------------------------------------------------------------------------<br />
--------------------------------------------------------------------------------<br />
The following in<strong>for</strong>mation is given:<br />
JOB<br />
SCHEDULE<br />
STATION<br />
DATE<br />
JOB CMNT<br />
SCD CMNT<br />
DATE TABLE<br />
<strong>CA</strong>LENDAR<br />
DOC DISP TIME<br />
DOC DISP KEY<br />
SYSID<br />
EARLY TIME<br />
One of the jobs selected as part of this <strong>for</strong>ecast.<br />
The schedule the job is assigned to.<br />
The station defined <strong>for</strong> this job.<br />
The date being <strong>for</strong>ecasted.<br />
The COMMENT field on the job in<strong>for</strong>mation record<br />
(JIR).<br />
The COMMENT field on the schedule in<strong>for</strong>mation<br />
record (SIR) where this job is defined.<br />
The DATETABLE NAME field on the schedule base<br />
record (SBR) where this job is defined.<br />
The <strong>CA</strong>LENDAR field on the job criteria record (JCR) if<br />
a calendar is used <strong>for</strong> selection.<br />
The DOC DISP TIME value is taken from the job base<br />
record (JBR).<br />
The documentation member key value is taken from the<br />
job base record (JBR).<br />
The RUN on SYSID value taken from the job base record<br />
(JBR).<br />
The job's EARLIEST START TIME will be taken from the<br />
following records in the following order:<br />
1. <strong>Job</strong> reason code record (JRC) if defined, and there is<br />
a matching nonzero early start time <strong>for</strong> the selection<br />
reason.<br />
5-140 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.11 Forecast Reports<br />
2. <strong>Job</strong> base record (JBR) if early time is defined.<br />
3. The job will start when the schedule it is in starts.<br />
CLASS<br />
CPUJOB<br />
MUST TIME<br />
PRTY<br />
AUTOSTART<br />
DEADLINE TIME<br />
PRIORTY<br />
RECOVER<br />
SIM START TIME<br />
USE SIM TIME<br />
STAGING<br />
The POWER class taken from the job base record (JBR)<br />
or the default value from the schedule base record (SBR)<br />
<strong>for</strong> this job.<br />
Indicates whether this job runs as a computer job.<br />
The job's MUST START BY TIME will be taken from the<br />
following records in the following order:<br />
1. <strong>Job</strong> reason code record (JRC) if defined, and there is<br />
a matching nonzero must time <strong>for</strong> the selection<br />
reason.<br />
2. <strong>Job</strong> base record (JBR) if must time is defined.<br />
3. No must start time is used.<br />
The POWER priority from the job base record (JBR), or<br />
the default value from the schedule base record (SBR) <strong>for</strong><br />
this job.<br />
This is <strong>for</strong> pre-CPU jobs only. This value is taken from<br />
the job base record (JBR).<br />
The job's COMPLETION DEADLINE TIME is taken from<br />
the following records in the following order:<br />
1. <strong>Job</strong> reason code record (JRC) if defined, and there is<br />
a matching nonzero DEADLINE <strong>for</strong> the selection<br />
reason.<br />
2. <strong>Job</strong> base record (JBR) if DEADLINE is defined.<br />
3. No deadline is used.<br />
The schedule's evaluation priority <strong>for</strong> this job, taken<br />
from the job base record (JBR).<br />
The RECOVERY option from the job base record (JBR).<br />
The start time as calculated by a simulation run <strong>for</strong> this<br />
job.<br />
This option, taken from the job base record (JBR),<br />
indicates whether the job is to start at the simulated start<br />
time.<br />
Value taken from the job base record (JBR) or the default<br />
value from the schedule base record (SBR) <strong>for</strong> this job.<br />
Chapter 5. Reports 5-141
5.11 Forecast Reports<br />
MAX TIME<br />
LIBTYPE<br />
INTERRUPT<br />
AVG ELASP TIME<br />
LIBMEMBER<br />
ABEND<br />
MEMBER SUB ID<br />
BACKLOG<br />
FAILCODE<br />
The job's MAXIMUM EXECUTION TIME is taken from<br />
the following records in the following order:<br />
1. <strong>Job</strong> reason code record (JRC) if defined, and there is<br />
a matching nonzero MAXTIME <strong>for</strong> the selection<br />
reason.<br />
2. <strong>Job</strong> base record (JBR) if there is a nonzero MAXTIME<br />
defined.<br />
3. No maximum execution time is used.<br />
This value is taken from the following in this order:<br />
1. <strong>Job</strong> base record (JBR).<br />
2. The default value from the schedule base record<br />
(SBR) <strong>for</strong> the job.<br />
3. The system default value as defined in the<br />
generation macro.<br />
This option is taken from the job base record (JBR).<br />
The job's average processing time is taken from the<br />
following records in the following order:<br />
1. <strong>Job</strong> reason code record (JRC) if defined and there is a<br />
matching nonzero average time <strong>for</strong> the selection<br />
reason.<br />
2. <strong>Job</strong> base record (JBR) if there is a nonzero average<br />
time defined.<br />
3. <strong>Job</strong> history record (JHR). The average time in this<br />
record is calculated and based upon $JOBACCT<br />
data. If the job has not been run at your installation<br />
yet, this field is not used.<br />
4. Finally, the station resource record (RSR) average<br />
time is used.<br />
The library member where the job's JCL is found is taken<br />
from the job base record (JBR).<br />
The abend action as defined on the job base record (JBR).<br />
The library member SUB ID as defined on the job base<br />
record (JBR).<br />
The backlog option as defined on the job base record<br />
(JBR) or the default value found on the schedule base<br />
record (SBR) <strong>for</strong> the jobs.<br />
The condition code threshold that indicates job failure.<br />
Any job step ending with a return code greater than or<br />
equal to this value will be posted as having FAILED.<br />
5-142 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.11 Forecast Reports<br />
MEMO<br />
FORM<br />
QUANTITY<br />
SPEC NUMBR<br />
USER RESP<br />
NOTIFY<br />
The memo text as specified on the job base record (JBR).<br />
The <strong>for</strong>m's name is taken from the job in<strong>for</strong>mation<br />
record (JIR).<br />
The quantity of output as defined on the job in<strong>for</strong>mation<br />
record (JIR).<br />
The specification value as defined on the job in<strong>for</strong>mation<br />
record (JIR).<br />
The person or group responsible <strong>for</strong> this job, as defined<br />
on the job in<strong>for</strong>mation record (JIR).<br />
The name of the person or group that was specified on<br />
the job in<strong>for</strong>mation record (JIR).<br />
MEMO DESCRIPTION<br />
The job's description, as entered on the job in<strong>for</strong>mation<br />
record (JIR).<br />
DESTINATION<br />
DELIVERY SPECS<br />
ROUTE CODES<br />
The destination or destinations (up to eight) as were<br />
defined on the job in<strong>for</strong>mation record (JIR).<br />
The delivery specifications defined <strong>for</strong> the job on the job<br />
in<strong>for</strong>mation record (JIR).<br />
The route stations that will be notified when this job will<br />
be selected <strong>for</strong> processing. This is taken from the job<br />
in<strong>for</strong>mation record (JIR).<br />
SEND ALL MESSAGES<br />
The userids that will receive all the messages <strong>for</strong> this job,<br />
as defined on the job message record (JMR).<br />
SEND START MESSAGES<br />
The userids that will receive the start messages <strong>for</strong> this<br />
job, as defined on the job message record (JMR).<br />
SEND END MESSAGES<br />
The userids that will receive the job end message <strong>for</strong> this<br />
job, as defined on the job message record (JMR).<br />
SEND LATE MESSAGES<br />
The userids that will receive the late messages <strong>for</strong> this<br />
job, as defined on the job message record (JMR).<br />
SEND FAIL MESSAGES<br />
The userids that will receive the job failure message, as<br />
defined on the job message record (JMR).<br />
SEND ABEND MESSAGES<br />
The userids that will receive the job abend message, as<br />
defined on the job message record (JMR).<br />
Chapter 5. Reports 5-143
5.11 Forecast Reports<br />
SEND INTERRUPT MESSAGES<br />
The userids that will receive the job interrupt message,<br />
as defined on the job message record (JMR).<br />
DATA SET NAME<br />
DASD VOLSERS<br />
SEPARATE JOBS<br />
OUTPUT DSN<br />
The SEPDSN value as defined on the job resource record<br />
(JRR).<br />
The required DASD volsers as defined on the job<br />
resource record (JRR).<br />
The separate jobs (SEPJOBS) as defined on the job<br />
resource record (JRR).<br />
Shows the data sets that were closed by the programs<br />
within this job. This was the last time the data sets were<br />
closed <strong>for</strong> output.<br />
RUNBOOK DOCUMENTATION<br />
Documentation on the job that has been defined and<br />
stored in the documentation library.<br />
NOTEPAD AREA<br />
Area provided <strong>for</strong> handwritten comments about the job.<br />
5.11.6 Schedules/<strong>Job</strong>s Selected <strong>for</strong> DD MM YY (SELECTED)<br />
The Schedules/<strong>Job</strong>s Selected For DD MM YY report lists all schedules and jobs<br />
that will be selected on a given date.<br />
COMPUTER ASSOCIATES SCHEDULES/JOBS SELECTED FOR 29 SEP 23 SELECTED PAGE 1<br />
<strong>CA</strong>-SCHEDULER 7.3 39SH73 14 SEP 23 13.35.39<br />
FORE<strong>CA</strong>ST DATE 14 SEP 23<br />
SCHEDULE ------JOB----- SYSID/ REASON AVERAGE ROUTING TRACK<br />
NAME NAME NO ST SUBID CODE EARLY TIME MUST TIME DEADLINE MAXTIME TIME DELAY TIME CLASS FILE STS<br />
-------- -------- -- -- ------ ------ -------------- -------------- -------------- -------- -------- ---------- ----- ----- ---<br />
DSNABC 88 9/14/3 8. 9/14/3 9. 9/14/3 1. .1<br />
DJKBR14 1 4 9/14/3 9.15 9/14/3 1.15 9/14/3 11.15 .3 .1 B<br />
DSNABC 1 4 1 9/14/3 1. 9/14/3 11. 9/14/3 12. 1. .35 .3 B<br />
ABATCH 1 88 9/14/3 8.1 9/14/3 1.1 1.1<br />
ABATCH 2 39 1 9/14/3 21.21 9/14/3 22.25 9/14/3 23.23 .3 12.34 X<br />
DSNABC 1 4 .1 C<br />
AB 1 4 2 8 9/14/3 21.21 9/14/3 22.25 9/14/3 23.23 .3 12.34 .13 X<br />
The following in<strong>for</strong>mation is given:<br />
SCHEDULE NAME<br />
JOB NAME<br />
JOB NO<br />
The schedules that will be selected <strong>for</strong> processing on this<br />
date.<br />
The individual jobs that will be selected as part of these<br />
schedules. (A job with its own criteria record may be<br />
selected less frequently than the rest of the schedule.)<br />
The selected job number.<br />
JOB ST The stations where the job will be processed. (A<br />
separate job base record has been defined <strong>for</strong> the job at<br />
each of these stations.) To see a separate schedule <strong>for</strong><br />
each station, use Selected Schedules/<strong>Job</strong>s For Station X,<br />
the STATION report.<br />
5-144 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.11 Forecast Reports<br />
SYSID/SUBID<br />
REASON CODE<br />
EARLY TIME<br />
MUST TIME<br />
The SYSID or SUBID, if defined.<br />
Specifies why each schedule or job will be selected:<br />
01 - 79 Corresponds to the position of the reason on<br />
the CRITERIA statement that was defined <strong>for</strong><br />
this job or schedule<br />
80 Means it will be selected because the date<br />
corresponds to a workday on the <strong>CA</strong>LENDAR<br />
that was defined <strong>for</strong> this job or schedule.<br />
84 Means it is selected by default every day<br />
because no selection criteria were defined.<br />
88 Means that it was added to the <strong>for</strong>ecast by the<br />
RUN command.<br />
The schedule's or job's EARLIEST START TIME. The<br />
schedule's earliest start time is taken from the following<br />
records in the following order:<br />
1. Schedule reason code record (SRC) if defined, and<br />
there is a matching nonzero EARLYTIME defined <strong>for</strong><br />
the selection reason.<br />
2. Schedule base record (SBR) if there is a nonzero<br />
EARLYTIME defined<br />
3. The schedule will be able to start just after autoscan.<br />
The job's earliest start time is taken from the following<br />
records in the following order:<br />
1. <strong>Job</strong> reason code record (JRC) if defined, and there is<br />
a matching nonzero EARLY START TIME <strong>for</strong> the<br />
selection reason.<br />
2. <strong>Job</strong> base record (JBR) if EARLYTIME is defined.<br />
3. The job will start when the schedule that it is in<br />
starts.<br />
The schedule's or job's MUST START BY TIME, if one<br />
was defined. The schedule's must start time is taken<br />
from the following records in the following order:<br />
1. Schedule reason code record (SRC) if defined, and<br />
there is a matching nonzero MUSTTIME defined <strong>for</strong><br />
the selection reason.<br />
2. Schedule base record (SBR) if there is a nonzero<br />
MUSTTIME defined.<br />
3. No must start time is used.<br />
The job's must start time is taken from the following<br />
records in the following order:<br />
Chapter 5. Reports 5-145
5.11 Forecast Reports<br />
1. <strong>Job</strong> reason code record (JRC) if defined, and there is<br />
a matching nonzero MUSTTIME <strong>for</strong> the selection<br />
reason.<br />
2. <strong>Job</strong> base record (JBR) if MUSTTIME is defined.<br />
3. No must start time is used.<br />
DEADLINE<br />
MAXTIME<br />
The schedule's or job's COMPLETION DEADLINE<br />
TIME, if one was defined. The schedule's deadline time<br />
is taken from the following records in the following<br />
order:<br />
1. Schedule reason code record (SRC) if defined, and<br />
there is a matching nonzero DEADLINE <strong>for</strong> the<br />
selection reason.<br />
2. Schedule base record (SBR), if a nonzero DEADLINE<br />
was defined.<br />
3. No deadline is used.<br />
The job's deadline time is taken from the following<br />
records in the following order:<br />
1. <strong>Job</strong> reason code record (JRC) if defined, and there is<br />
a matching nonzero DEADLINE <strong>for</strong> the selection<br />
reason.<br />
2. <strong>Job</strong> base record (JBR) if DEADLINE is defined.<br />
3. No deadline is used.<br />
The schedule's or job's MAXIMUM EXECUTION TIME,<br />
if one was defined. The schedule's maximum execution<br />
time is taken from the following records in the following<br />
order:<br />
1. Schedule reason code record (SRC) if defined, and<br />
there is a matching nonzero MAXTIME <strong>for</strong> the<br />
selection reason.<br />
2. Schedule base record (SBR) if a nonzero MAXTIME<br />
has been defined.<br />
3. No maximum execution time is used.<br />
The job's maximum execution time is taken from the<br />
following records in the following order:<br />
1. <strong>Job</strong> reason code record (JRC) if defined, and there is<br />
a matching nonzero MAXTIME <strong>for</strong> the selection<br />
reason.<br />
2. <strong>Job</strong> base record (JBR) if there is a nonzero MAXTIME<br />
defined.<br />
3. No maximum execution time is used.<br />
5-146 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.11 Forecast Reports<br />
AVERAGE TIME<br />
The job's average processing time is taken from the<br />
following records in the following order:<br />
1. <strong>Job</strong> reason code record (JRC) if defined, and there is<br />
a matching nonzero average time <strong>for</strong> the selection<br />
reason.<br />
2. <strong>Job</strong> base record (JBR) if there is a nonzero average<br />
time defined.<br />
3. <strong>Job</strong> history record (JHR) average time is calculated<br />
and based upon $JOBACCT data. If the job has not<br />
run at your installation yet, this field is not used.<br />
4. Station resource record (RSR) average time is used.<br />
ROUTING DELAY TIME<br />
The ROUTE DELAY time as defined on the job resource<br />
record, or RTE DELAY, defined on the station resource<br />
record and assigned by default to all jobs processed at<br />
this station, which indicates how long it takes the job to<br />
get to this station from the preceding station.<br />
CLASS<br />
TRACK FILE<br />
STATUS<br />
The class the job is to be run in.<br />
Whether the schedule or job was selected from the<br />
tracking file.<br />
The current status of the schedule or job. This is shown<br />
only if FORE<strong>CA</strong>ST was executed with the REVISE=YES<br />
keyword.<br />
5.11.7 Schedules/<strong>Job</strong>s Selected <strong>for</strong> Station X (STATION)<br />
The Schedules/<strong>Job</strong>s Selected For Station X report lists all jobs that will be<br />
scheduled <strong>for</strong> processing at one station on a given date.<br />
COMPUTER ASSOCIATES SCHEDULES/JOBS SELECTED FOR STATION CPU STATION PAGE 1<br />
<strong>CA</strong>-SCHEDULER 7.3 39SH73 CPU 14 SEP 23 13.35.39<br />
FORE<strong>CA</strong>ST DATE 14 SEP 23<br />
SCHEDULE ------JOB----- SYSID/ REASON AVERAGE ROUTING TRACK<br />
NAME NAME NO ST SUBID CODE EARLY TIME MUST TIME DEADLINE MAXTIME TIME DELAY TIME CLASS FILE STS<br />
-------- -------- -- -- ------ ------ -------------- -------------- -------------- -------- -------- ---------- ----- ----- ---<br />
DSNABC 88 9/14/3 8. 9/14/3 9. 9/14/3 1. .1<br />
DJKBR14 1 4 9/14/3 9.15 9/14/3 1.15 9/14/3 11.15 .3 .1 B<br />
DSNABC 1 4 1 9/14/3 1. 9/14/3 11. 9/14/3 12. 1. .35 .3 B<br />
ABATCH 1 88 9/14/3 8.1 9/14/3 1.1 1.1<br />
DSNABC 1 4 .1 C<br />
AB 1 4 2 8 9/14/3 21.21 9/14/3 22.25 9/14/3 23.23 .3 12.34 .13 X<br />
The following in<strong>for</strong>mation is given:<br />
SCHEDULE NAME<br />
The schedules that the jobs are assigned to.<br />
Chapter 5. Reports 5-147
5.11 Forecast Reports<br />
JOB NAME<br />
JOB NO<br />
JOB ST<br />
SYSID/SUBID<br />
REASON CODE<br />
EARLY TIME<br />
MUST TIME<br />
The jobs that are scheduled <strong>for</strong> processing at this station.<br />
To appear here, a job must be selected <strong>for</strong> processing on<br />
this date and must also be defined <strong>for</strong> processing at this<br />
station.<br />
Any number higher than 01 indicates that the job is<br />
scheduled more than once.<br />
All of the jobs listed here are scheduled <strong>for</strong> processing at<br />
the same station.<br />
The SYSID or SUBID, if defined.<br />
Specifies why each schedule or job will be selected:<br />
01 - 79 Corresponds to the position of the reason on<br />
the CRITERIA statement that was defined <strong>for</strong><br />
this job or schedule.<br />
80 Means it will be selected because the date<br />
corresponds to a workday on the <strong>CA</strong>LENDAR<br />
that was defined <strong>for</strong> this job or schedule.<br />
84 Means it is selected by default every day<br />
because no selection criteria were defined.<br />
88 Means that it was added to the <strong>for</strong>ecast by the<br />
RUN command.<br />
The schedule's or job's EARLIEST START TIME. The<br />
schedule's earliest start time is taken from the following<br />
records in the following order:<br />
1. Schedule reason code record (SRC) if defined, and<br />
there is a matching nonzero EARLYTIME defined <strong>for</strong><br />
the selection reason.<br />
2. Schedule base record (SBR) if there is a nonzero<br />
EARLYTIME defined<br />
3. The schedule will be able to start just after autoscan.<br />
The job's earliest start time is taken from the following<br />
records in the following order:<br />
1. <strong>Job</strong> reason code record (JRC) if defined, and there is<br />
a matching nonzero EARLY START TIME <strong>for</strong> the<br />
selection reason.<br />
2. <strong>Job</strong> base record (JBR) if EARLYTIME is defined.<br />
3. The job will start when the schedule that it is in<br />
starts.<br />
The schedule's or job's MUST START BY TIME, if one<br />
was defined. The schedule's must start time is taken<br />
from the following records in the following order:<br />
5-148 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.11 Forecast Reports<br />
1. Schedule reason code record (SRC) if defined, and<br />
there is a matching nonzero MUSTTIME defined <strong>for</strong><br />
the selection reason.<br />
2. Schedule base record (SBR) if there is a nonzero<br />
MUSTTIME defined.<br />
3. No must start time is used.<br />
The job's must start time is taken from the following<br />
records in the following order:<br />
1. <strong>Job</strong> reason code record (JRC) if defined, and there is<br />
a matching nonzero MUSTTIME <strong>for</strong> the selection<br />
reason.<br />
2. <strong>Job</strong> base record (JBR) if MUSTTIME is defined.<br />
3. No must start time is used.<br />
DEADLINE<br />
MAXTIME<br />
The schedule's or job's COMPLETION DEADLINE<br />
TIME, if one was defined. The schedule's deadline time<br />
is taken from the following records in the following<br />
order:<br />
1. Schedule reason code record (SRC) if defined, and<br />
there is a matching nonzero DEADLINE <strong>for</strong> the<br />
selection reason.<br />
2. Schedule base record (SBR) if a nonzero DEADLINE<br />
was defined.<br />
3. No deadline is used.<br />
The job's deadline time is taken from the following<br />
records in the following order:<br />
1. <strong>Job</strong> reason code record (JRC) if defined, and there is<br />
a matching nonzero DEADLINE <strong>for</strong> the selection<br />
reason.<br />
2. <strong>Job</strong> base record (JBR) if DEADLINE is defined.<br />
3. No deadline is used.<br />
The schedule's or job's MAXIMUM EXECUTION TIME,<br />
if one was defined. The schedule's maximum execution<br />
time is taken from the following records in the following<br />
order:<br />
1. Schedule reason code record (SRC) if defined, and<br />
there is a matching nonzero MAXTIME <strong>for</strong> the<br />
selection reason.<br />
2. Schedule base record (SBR) if a nonzero MAXTIME<br />
has been defined.<br />
3. No maximum execution time is used.<br />
Chapter 5. Reports 5-149
5.11 Forecast Reports<br />
The job's maximum execution time is taken from the<br />
following records in the following order:<br />
1. <strong>Job</strong> reason code record (JRC) if defined, and there is<br />
a matching nonzero MAXTIME <strong>for</strong> the selection<br />
reason.<br />
2. <strong>Job</strong> base record (JBR) if there is a nonzero MAXTIME<br />
defined.<br />
3. No maximum execution time is used.<br />
AVERAGE TIME<br />
ROUTING<br />
DELAY TIME<br />
CLASS<br />
TRACK FILE<br />
STATUS<br />
The job's average processing time is taken from the<br />
following records in the following order:<br />
1. <strong>Job</strong> reason code record (JRC) if defined, and there is<br />
a matching nonzero average time <strong>for</strong> the selection<br />
reason.<br />
2. <strong>Job</strong> base record (JBR) if there is a nonzero average<br />
time defined.<br />
3. <strong>Job</strong> history record (JHR) average time is calculated<br />
and based upon $JOBACCT data. If the job has not<br />
run at your installation yet, this field is not used.<br />
4. Station resource record (RSR) average time is used.<br />
The ROUTE DELAY time as defined on the job resource<br />
record, or<br />
The RTE DELAY defined on the station resource record<br />
and assigned by default to all jobs processed at this<br />
station. This is how long it takes the job to get to this<br />
station from the preceding station.<br />
The class the job is to be run in.<br />
Whether the schedule or job was selected from the<br />
tracking file.<br />
The current status of the schedule or job. This is shown<br />
only if FORE<strong>CA</strong>ST was executed with the REVISE=YES<br />
keyword.<br />
5-150 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.12 Advantage <strong>CA</strong>-Earl Automatic Console Reply Reports<br />
5.12 Advantage <strong>CA</strong>-Earl Automatic Console Reply Reports<br />
This topic gives examples of each of the Advantage <strong>CA</strong>-Earl reports available<br />
and explains how to produce them.<br />
5.12.1 Automatic Console Reply (by <strong>Job</strong>)<br />
The report lists job in<strong>for</strong>mation from the ACR database, sorted by job.<br />
9/14/3 AUTOMATIC CONSOLE REPLY REPORT PAGE 1<br />
SORTED BY JOB<br />
-------------------------------------------------------------------------------------------------------------<br />
JOB JOB SCHEDULE MESSAGE MESSAGE MESSAGE<br />
NAME NO NAME NUMBER S<strong>CA</strong>N TEXT REPLY TEXT<br />
-------------------------------------------------------------------------------------------------------------<br />
<strong>CA</strong>CM73<br />
DUMP 1,-FFFFFF,E<br />
<strong>CA</strong>CM213<br />
RETRY<br />
<strong>CA</strong>CU4<br />
OK<br />
<strong>CA</strong>DD21<br />
MAX<br />
<strong>CA</strong>DD36<br />
<strong>CA</strong>NCEL<br />
<strong>CA</strong>DD566<br />
BYPASS<br />
<strong>CA</strong>DT5<br />
MSGID1<br />
MSGID2<br />
REPLY2 MSGID2<br />
MSGID3 S<strong>CA</strong>N3 MSGID3 REPLY3 MSGID3 S<strong>CA</strong>N3<br />
1S1D<br />
4333D<br />
DELETE<br />
4433D<br />
DELETE<br />
4444D<br />
DELETE<br />
DRV13 MSGID3 S<strong>CA</strong>N3 MSGID3 REPLY3 MSGID3 DRV13 S<strong>CA</strong>N3<br />
LIB11 MSGID1<br />
VOL21 MSGID2 REPLY2 MSGID2 VOL21<br />
DRV121 DRV21 ENTER NUMBER OF FILES 3<br />
DRV21 ENTER NUMBER OF TAPES 17<br />
2 DRV21 ENTER NUMBER OF TAPES 13<br />
DRV123 DRV11 4333D <strong>CA</strong>NCEL<br />
DRV131 MSGID3 S<strong>CA</strong>N3 MSGID3 REPLY3 MSGID3 DRV131 S<strong>CA</strong>N3<br />
3 MSGID3 S<strong>CA</strong>N3 MSGID3 REPLY3 MSGID3 DRV131-3 S<strong>CA</strong>N3<br />
3 DRV13 MSGID3 S<strong>CA</strong>N3 MSGID3 REPLY3 MSGID3 DRV131-3 DRV13 S<strong>CA</strong>N3<br />
LIB111<br />
MSGID1<br />
1<br />
MSGID1<br />
1 LIB11 MSGID1<br />
VOL111 VOL11 ENTER NUMBER OF FILES 3<br />
VOL11 ENTER NUMBER OF TAPES 7<br />
VOL122 MSGID2 REPLY2 MSGID2 VOL122<br />
2 MSGID2 REPLY2 MSGID2 VOL122-2<br />
2 VOL21 MSGID2 REPLY2 MSGID2 VOL122-2<br />
JCL that produces Advantage <strong>CA</strong>-Earl reports requires the inclusion of certain<br />
work files. Generic versions of these work files are contained in the<br />
installation tape file Z.<strong>CA</strong>WRKLAB. Tailor these files to your installation's<br />
needs and ensure that they are accessible be<strong>for</strong>e running the JCL that produces<br />
the reports. To produce this report, submit the following JCL with your job<br />
statement:<br />
// JOB <strong>CA</strong>JERA1<br />
: :<br />
: :<br />
work files<br />
: :<br />
: :<br />
// EXEC EARL,SIZE=3K<br />
Chapter 5. Reports 5-151
5.12 Advantage <strong>CA</strong>-Earl Automatic Console Reply Reports<br />
The SYSIPT control statements <strong>for</strong> the Automatic Console Reply (by job) report<br />
are contained in the <strong>CA</strong>JINA01.0 source member (shown following). You may<br />
modify the OPTION statement values.<br />
OPTION SORT=SRAM<br />
OPTION PRINTER=132<br />
OPTION CPAGE=56<br />
OPTION LIST off<br />
OPTION NODUMP<br />
<strong>CA</strong>IXVDB:FILE <strong>CA</strong>J<strong>CA</strong>CRA RECORD=234<br />
COPY <strong>CA</strong>JEACRP<br />
COPY <strong>CA</strong>JEACRO<br />
!<br />
DEF GSAJNAME = ' ' 'JOB' 'NAME'<br />
!<br />
SET PRMFUNC = 'GETG'<br />
SET PRMMSGID = ' '<br />
SET PRMJNAME = ' '<br />
SET PRMJNO = ' '<br />
SET PRMSNAME = ' '<br />
!<br />
COPY <strong>CA</strong>JERA1<br />
END<br />
The control statements that print this report are contained in the <strong>CA</strong>JERA01.0<br />
source member (shown following). You may modify these statements to<br />
produce your own reports. If you modify any of the source members<br />
provided, be sure to copy them with a different name so a reinstallation of the<br />
product will not replace the modified members.<br />
GET <strong>CA</strong>IXVDB<br />
GOTO EOJ <strong>CA</strong>IXVDB = 'E' OR <strong>CA</strong>IXVDB = 'N'<br />
!<br />
REPORT 'AUTOMATIC CONSOLE REPLY REPORT'<br />
TITLE 'SORTED BY JOB'<br />
!<br />
CONTROL<br />
!<br />
IF(D)<br />
ENDIF<br />
!<br />
PRINT<br />
(ACRJNAME) ACRJNO ACRSNAME ACRMSGID<br />
BREAKQSEQ = 1 SET(D) GSAJNAME = ACRJNAME<br />
ELSE SET(D) GSAJNAME = ' '<br />
GSAJNAME ACRJNO ACRSNAME ACRMSGID ACRS<strong>CA</strong>N ACRREPLY<br />
The preceding PRINT statement produces a report with the following fields:<br />
5-152 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.12 Advantage <strong>CA</strong>-Earl Automatic Console Reply Reports<br />
Field on Report Panel Prompt Batch Operand<br />
JOB NAME JOB JOB<br />
JOB NO JNO JNO<br />
SCHEDULE NAME SCHEDULE SCHEDULE<br />
MESSAGE NUMBER MSGID MSGID<br />
MESSAGE S<strong>CA</strong>N TEST S<strong>CA</strong>NTXT S<strong>CA</strong>NTXT<br />
MESSAGE REPLY TEXT REPLY REPLY<br />
5.12.2 Automatic Console Reply (by Schedule)<br />
The Advantage <strong>CA</strong>-Earl Automatic Console Reply (by schedule) report lists job<br />
in<strong>for</strong>mation from the ACR database, sorted by schedule.<br />
9/14/3 AUTOMATIC CONSOLE REPLY REPORT PAGE 1<br />
SORTED BY SCHEDULE<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
SCHEDULE JOB JOB MESSAGE MESSAGE MESSAGE<br />
NAME NAME NO NUMBER S<strong>CA</strong>N TEXT REPLY TEXT<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
<strong>CA</strong>CM73<br />
DUMP 1,-FFFFFF,E<br />
<strong>CA</strong>CM213<br />
RETRY<br />
<strong>CA</strong>CU4<br />
OK<br />
<strong>CA</strong>DD21<br />
MAX<br />
<strong>CA</strong>DD36<br />
<strong>CA</strong>NCEL<br />
<strong>CA</strong>DD566<br />
BYPASS<br />
<strong>CA</strong>DT5<br />
MSGID1<br />
MSGID2<br />
REPLY2 MSGID2<br />
MSGID3 S<strong>CA</strong>N3 MSGID3 REPLY3 MSGID3 S<strong>CA</strong>N3<br />
1S1D<br />
4333D<br />
DELETE<br />
4433D<br />
DELETE<br />
4444D<br />
DELETE<br />
DRV131 MSGID3 S<strong>CA</strong>N3 MSGID3 REPLY3 MSGID3 DRV131 S<strong>CA</strong>N3<br />
DRV131 3 MSGID3 S<strong>CA</strong>N3 MSGID3 REPLY3 MSGID3 DRV131-3 S<strong>CA</strong>N3<br />
LIB111 MSGID1<br />
LIB111 1 MSGID1<br />
VOL122 MSGID2 REPLY2 MSGID2 VOL122<br />
VOL122 2 MSGID2 REPLY2 MSGID2 VOL122-2<br />
DRV11 DRV123 4333D <strong>CA</strong>NCEL<br />
DRV13 MSGID3 S<strong>CA</strong>N3 MSGID3 REPLY3 MSGID3 DRV13 S<strong>CA</strong>N3<br />
DRV131 3 MSGID3 S<strong>CA</strong>N3 MSGID3 REPLY3 MSGID3 DRV131-3 DRV13 S<strong>CA</strong>N3<br />
DRV21 DRV121 ENTER NUMBER OF FILES 3<br />
DRV121 ENTER NUMBER OF TAPES 17<br />
DRV121 2 ENTER NUMBER OF TAPES 13<br />
LIB11<br />
MSGID1<br />
LIB111 1 MSGID1<br />
VOL11 VOL111 ENTER NUMBER OF FILES 3<br />
VOL111 ENTER NUMBER OF TAPES 7<br />
VOL21 MSGID2 REPLY2 MSGID2 VOL21<br />
VOL122 2 MSGID2 REPLY2 MSGID2 VOL122-2<br />
JCL that produces Advantage <strong>CA</strong>-Earl reports requires the inclusion of certain<br />
work files. Generic versions of these work files are contained in the<br />
installation tape file Z.<strong>CA</strong>WRKLAB. Tailor these files to your installation's<br />
needs and ensure that they are accessible be<strong>for</strong>e running the JCL that produces<br />
the reports. To produce the report, submit the following JCL with your job<br />
statement :<br />
Chapter 5. Reports 5-153
5.12 Advantage <strong>CA</strong>-Earl Automatic Console Reply Reports<br />
// JOB <strong>CA</strong>JERA2<br />
: :<br />
: :<br />
work files<br />
: :<br />
: :<br />
// EXEC EARL,SIZE=3K<br />
The SYSIPT control statements <strong>for</strong> this report are contained in the <strong>CA</strong>JINA02.0<br />
source member (shown following). You may modify the OPTION statement<br />
values.<br />
OPTION SORT=SRAM<br />
OPTION PRINTER=132<br />
OPTION CPAGE=56<br />
OPTION LIST off<br />
OPTION NODUMP<br />
<strong>CA</strong>IXVDB:FILE <strong>CA</strong>J<strong>CA</strong>CRA RECORD=234<br />
COPY <strong>CA</strong>JEACRP<br />
COPY <strong>CA</strong>JEACRO<br />
!<br />
DEF GSASNAME = ' ' 'SCHEDULE' 'NAME'<br />
!<br />
SET PRMFUNC = 'GETG'<br />
SET PRMMSGID = ' '<br />
SET PRMJNAME = ' '<br />
SET PRMJNO = ' '<br />
SET PRMSNAME = ' '<br />
!<br />
COPY <strong>CA</strong>JERA2<br />
END<br />
The control statements that print this report are contained in the <strong>CA</strong>JERA02.0<br />
source member (shown following). You may modify these statements to<br />
produce your own reports. If you modify any of the source members<br />
provided, be sure to copy them with a different name so a reinstallation of the<br />
product will not replace the modified members.<br />
GET <strong>CA</strong>IXVDB<br />
GOTO EOJ <strong>CA</strong>IXVDB = 'E' OR <strong>CA</strong>IXVDB = 'N'<br />
!<br />
REPORT 'AUTOMATIC CONSOLE REPLY REPORT'<br />
TITLE 'SORTED BY SCHEDULE'<br />
!<br />
CONTROL<br />
!<br />
IF(D)<br />
ENDIF<br />
!<br />
PRINT<br />
(ACRSNAME) ACRJNAME ACRJNO ACRMSGID<br />
BREAKQSEQ = 1 SET(D) GSASNAME = ACRSNAME<br />
ELSE SET(D) GSASNAME = ' '<br />
GSASNAME ACRJNAME ACRJNO ACRMSGID ACRS<strong>CA</strong>N ACRREPLY<br />
The preceding PRINT statement produces a report with the following fields:<br />
Field on Report Panel Prompt Batch Operand<br />
SCHEDULE NAME SCHEDULE SCHEDULE<br />
5-154 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.12 Advantage <strong>CA</strong>-Earl Automatic Console Reply Reports<br />
Field on Report Panel Prompt Batch Operand<br />
JOB NAME JOB JOB<br />
JOB NO JNO JNO<br />
MESSAGE NUMBER MSGID MSGID<br />
MESSAGE S<strong>CA</strong>N TEXT S<strong>CA</strong>NTXT S<strong>CA</strong>NTXT<br />
MESSAGE REPLY TEXT REPLY REPLY<br />
5.12.3 Automatic Console Reply (by Message Number)<br />
The Advantage <strong>CA</strong>-Earl Automatic Console Reply (by message number) report<br />
lists job in<strong>for</strong>mation from the ACR database, sorted by message number.<br />
9/14/3 AUTOMATIC CONSOLE REPLY REPORT PAGE 1<br />
SORTED BY MESSAGE NUMBER<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
MESSAGE JOB JOB SCHEDULE MESSAGE MESSAGE<br />
NUMBER NAME NO NAME S<strong>CA</strong>N TEXT REPLY TEXT<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
<strong>CA</strong>CM73<br />
DUMP 1,-FFFFFF,E<br />
<strong>CA</strong>CM213<br />
RETRY<br />
<strong>CA</strong>CU4<br />
OK<br />
<strong>CA</strong>DD21<br />
MAX<br />
<strong>CA</strong>DD36<br />
<strong>CA</strong>NCEL<br />
<strong>CA</strong>DD566<br />
BYPASS<br />
<strong>CA</strong>DT5<br />
ENTER DRV121 DRV21 NUMBER OF FILES 3<br />
DRV121 DRV21 NUMBER OF TAPES 17<br />
DRV121 2 DRV21 NUMBER OF TAPES 13<br />
VOL111 VOL11 NUMBER OF FILES 3<br />
VOL111 VOL11 NUMBER OF TAPES 7<br />
MSGID1<br />
LIB11<br />
LIB111<br />
LIB111 1<br />
LIB111 1 LIB11<br />
MSGID2<br />
REPLY2 MSGID2<br />
VOL21<br />
REPLY2 MSGID2 VOL21<br />
VOL122<br />
REPLY2 MSGID2 VOL122<br />
VOL122 2 REPLY2 MSGID2 VOL122-2<br />
VOL122 2 VOL21 REPLY2 MSGID2 VOL122-2<br />
MSGID3 S<strong>CA</strong>N3 MSGID3 REPLY3 MSGID3 S<strong>CA</strong>N3<br />
DRV13 S<strong>CA</strong>N3 MSGID3 REPLY3 MSGID3 DRV13 S<strong>CA</strong>N3<br />
DRV131 S<strong>CA</strong>N3 MSGID3 REPLY3 MSGID3 DRV131 S<strong>CA</strong>N3<br />
DRV131 3 S<strong>CA</strong>N3 MSGID3 REPLY3 MSGID3 DRV131-3 S<strong>CA</strong>N3<br />
DRV131 3 DRV13 S<strong>CA</strong>N3 MSGID3 REPLY3 MSGID3 DRV131-3 DRV13 S<strong>CA</strong>N3<br />
1S1D<br />
4333D<br />
4433D<br />
4444D<br />
END OF REPORT<br />
DELETE<br />
DRV123 DRV11 <strong>CA</strong>NCEL<br />
DELETE<br />
DELETE<br />
REPORT RECORDS READ LINES PRINTED<br />
1 32 47<br />
REPORT PHASE ENDED .6 SECONDS.<br />
1S55I LAST RETURN CODE WAS <br />
JCL that produces Advantage <strong>CA</strong>-Earl reports requires the inclusion of certain<br />
work files. Generic versions of these work files are contained in the<br />
installation tape file Z.<strong>CA</strong>WRKLAB. Tailor these files to your installation's<br />
needs and ensure that they are accessible be<strong>for</strong>e running the JCL that produces<br />
Chapter 5. Reports 5-155
5.12 Advantage <strong>CA</strong>-Earl Automatic Console Reply Reports<br />
the reports. To produce this report, submit the following JCL with your job<br />
statement:<br />
// JOB <strong>CA</strong>JERA3<br />
: :<br />
: :<br />
work files<br />
: :<br />
: :<br />
// EXEC EARL,SIZE=3K<br />
The SYSIPT control statements <strong>for</strong> the report are contained in the <strong>CA</strong>JINA03.0<br />
source member (shown following). You may modify the OPTION statement<br />
values.<br />
OPTION SORT=SRAM<br />
OPTION PRINTER=132<br />
OPTION CPAGE=56<br />
OPTION LIST off<br />
OPTION NODUMP<br />
<strong>CA</strong>IXVDB:FILE <strong>CA</strong>J<strong>CA</strong>CRA RECORD=234<br />
COPY <strong>CA</strong>JEACRP<br />
COPY <strong>CA</strong>JEACRO<br />
!<br />
DEF GSAMSGID = ' ' 'MESSAGE' 'NUMBER'<br />
!<br />
SET PRMFUNC = 'GETG'<br />
SET PRMMSGID = ' '<br />
SET PRMJNAME = ' '<br />
SET PRMJNO = ' '<br />
SET PRMSNAME = ' '<br />
!<br />
COPY <strong>CA</strong>JERA3<br />
END<br />
The control statements that print this report are contained in the <strong>CA</strong>JERA03.0<br />
source member (shown following). You may modify these statements to<br />
produce your own reports. If you modify any of the source members<br />
provided, be sure to copy them with a different name so a reinstallation of the<br />
product will not replace the modified members.<br />
GET <strong>CA</strong>IXVDB<br />
GOTO EOJ <strong>CA</strong>IXVDB = 'E' OR <strong>CA</strong>IXVDB = 'N'<br />
!<br />
REPORT 'AUTOMATIC CONSOLE REPLY REPORT'<br />
TITLE 'SORTED BY MESSAGE NUMBER'<br />
!<br />
CONTROL<br />
!<br />
IF(D)<br />
ENDIF<br />
!<br />
PRINT<br />
(ACRMSGID) ACRJNAME ACRJNO ACRSNAME<br />
BREAKQSEQ = 1 SET(D) GSAMSGID = ACRMSGID<br />
ELSE SET(D) GSAMSGID = ' '<br />
GSAMSGID ACRJNAME ACRJNO ACRSNAME ACRS<strong>CA</strong>N ACRREPLY<br />
The preceding PRINT statement produces a report with the following fields:<br />
5-156 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.12 Advantage <strong>CA</strong>-Earl Automatic Console Reply Reports<br />
Field On Report Panel Prompt Batch Operand<br />
MESSAGE NUMBER MSGID MSGID<br />
JOB NAME JOB JOB<br />
JOB NO JNO JNO<br />
SCHEDULE NAME SCHEDULE SCHEDULE<br />
MESSAGE S<strong>CA</strong>N TEXT MSGID MSGID<br />
MESSAGE REPLY TEXT REPLY REPLY<br />
5.12.3.1 Usage Notes<br />
Use the Automatic Console Reply report to list job in<strong>for</strong>mation from the ACR<br />
database, sorted by message numbers. You may modify members <strong>CA</strong>JINA01,<br />
<strong>CA</strong>JINA02 and <strong>CA</strong>JINA03 to produce your own selective reports.<br />
Example<br />
OPTION SORT=SRAM<br />
OPTION PRINTER=132<br />
OPTION CPAGE=56<br />
OPTION LIST off<br />
OPTION NODUMP<br />
<strong>CA</strong>IXVDB:FILE <strong>CA</strong>J<strong>CA</strong>CRA RECORD=234<br />
COPY <strong>CA</strong>JEACRP<br />
COPY <strong>CA</strong>JEACRO<br />
!<br />
DEF GSAJNAME = ' ' 'JOB' 'NAME'<br />
!<br />
SET PRMFUNC = 'GETG'<br />
SET PRMMSGID = 'msg1??1 '<br />
SET PRMJNAME = 'job12 '<br />
SET PRMJNO = ' '<br />
SET PRMSNAME = ' '<br />
!<br />
COPY <strong>CA</strong>JERA1<br />
END<br />
GET <strong>CA</strong>IXVDB<br />
GOTO EOJ <strong>CA</strong>IXVDB = 'E' OR <strong>CA</strong>IXVDB = 'N'<br />
!<br />
REPORT 'AUTOMATIC CONSOLE REPLY REPORT'<br />
TITLE 'SORTED BY JOB'<br />
!<br />
CONTROL (ACRJNAME) ACRJNO ACRSNAME ACRMSGID<br />
!<br />
IF(D)<br />
ENDIF<br />
!<br />
PRINT<br />
BREAKQSEQ = 1 SET(D) GSAJNAME = ACRJNAME<br />
ELSE SET(D) GSAJNAME = ' '<br />
GSAJNAME ACRJNO ACRSNAME ACRMSGID ACRS<strong>CA</strong>N ACRREPLY<br />
Chapter 5. Reports 5-157
5.13 Advantage <strong>CA</strong>-Earl Database Reports<br />
5.13 Advantage <strong>CA</strong>-Earl Database Reports<br />
This topic gives examples of each of the Advantage <strong>CA</strong>-Earl Database reports<br />
and how to produce them.<br />
5.13.1 Basic <strong>Job</strong> In<strong>for</strong>mation (by Schedule)<br />
The Advantage <strong>CA</strong>-Earl Basic <strong>Job</strong> In<strong>for</strong>mation report lists the job in<strong>for</strong>mation<br />
from the <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> database, sorted by schedule.<br />
9/14/3 BASIC JOB INFORMATION (BY SCHEDULE) PAGE 1<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
SCHEDULE NAME NUMBER STATION DISPLAY-TIME EARLY-TIME MUST-TIME DEAD-TIME MAXIMUM-TIME<br />
NAME DD.HH.MM DD.HH.MM DD.HH.MM DD.HH.MM DD.HH.MM<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
BNSPE1 BNPAY1 1 39 9. 9. 22. 1.<br />
BNSPE1 BNPAY1 1 4 9. 9. 1. 22. 1.<br />
BNSPE1 BNPAY1 1 2 9. 9. 22. 1.<br />
BNSPE1 BNPAY1 1 4 9. 1. 22. 1.<br />
BNSPE1 BNPAY1 1 4 9. 1. 22. 1.<br />
BNSPE1 BNPAY1 1 6<br />
BNSPE1 BNPAY1 1 4 1. 22. 1.<br />
BNSPE1 BNPAY1 1 4 9. 1. 22. 1.<br />
BNSPE1 BNPAY1 1 4 9. 1. 22. 1.<br />
BNSPE1<br />
JCL that produces Advantage <strong>CA</strong>-Earl reports requires the inclusion of certain<br />
work files. Generic versions of these work files are contained in the<br />
installation tape file Z.<strong>CA</strong>WRKLAB. Tailor these files to your installation's<br />
needs and ensure that they are accessible be<strong>for</strong>e running the JCL that produces<br />
the reports. To produce this report, submit the following JCL with your job<br />
statement:<br />
// JOB <strong>CA</strong>JERM1<br />
: :<br />
: :<br />
work files<br />
: :<br />
: :<br />
// EXEC EARL,SIZE=3K<br />
The SYSIN control statements <strong>for</strong> this report are contained in the <strong>CA</strong>JINM01<br />
source member (shown following). You may modify the OPTION statement<br />
values.<br />
OPTION SORT=SRAM<br />
OPTION PRINTER=132<br />
OPTION CPAGE=56<br />
<strong>CA</strong>IJMST:FILE <strong>CA</strong>J<strong>CA</strong>CC2 RECORD = 248<br />
COPY <strong>CA</strong>JEJM<br />
COPY <strong>CA</strong>JEPM<br />
COPY <strong>CA</strong>JESETM<br />
COPY <strong>CA</strong>JERM1<br />
END<br />
5-158 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.13 Advantage <strong>CA</strong>-Earl Database Reports<br />
The control statements that print the report are contained in the <strong>CA</strong>JERM01.0<br />
source member (shown following). You may modify these statements to<br />
produce your own reports. The fields you can print are all listed in the<br />
appendix "Advantage <strong>CA</strong>-Earl Reports." You can also modify the report to<br />
select schedule fields; change <strong>CA</strong>JESETM from JOB to SCH. The schedule<br />
fields you can print are also listed in the appendix "Advantage <strong>CA</strong>-Earl<br />
Reports." You can also modify the report to select schedule fields; Change<br />
<strong>CA</strong>JESETM from JOB to SCH. (If you modify any of the source members<br />
provided, be sure to copy them with a different name so a reinstallation of the<br />
product will not replace the modified members.<br />
GET <strong>CA</strong>IJMST<br />
GOTO EOJ <strong>CA</strong>IJMST = 'E' OR <strong>CA</strong>IJMST = 'N'<br />
REPORT 'BASIC JOB INFORMATION (BY SCHEDULE)'<br />
SELECT JOBRECID = 'J'<br />
CONTROL (JOBSCHNAME) SKIP JOBNAME<br />
PRINT JOBSCHNAME JOBNAME JOBNUMBER JOBSTATION<br />
JOBDISPTIME JOBERLYTIME JOBMUSTTIME JOBDEADTIME JOBMAXTIME<br />
The preceding PRINT statement produces a report with the following fields:<br />
Field on Report Batch Operand Panel Prompt<br />
SCHEDULE NAME SCHEDULE SCHEDULE<br />
NAME JOB NAME NAME<br />
NUMBER JOB NUMBER JNO<br />
STATION STATION ID STATION<br />
DISPLAY-TIME DISPLAY TIME DISPTIME<br />
EARLY-TIME<br />
MUST-TIME<br />
DEAD-TIME<br />
MAXIMUM-TIME<br />
EARLIEST START<br />
TIME<br />
MUST START BY<br />
TIME<br />
COMPLETION<br />
DEADLINE TIME<br />
MAXIMUM<br />
EXECUTION TIME<br />
ERLYTIME<br />
MUSTTIME<br />
DEADLINE<br />
MAXTIME<br />
Chapter 5. Reports 5-159
5.13 Advantage <strong>CA</strong>-Earl Database Reports<br />
5.13.2 Basic <strong>Job</strong> In<strong>for</strong>mation (by Station)<br />
The report lists the job in<strong>for</strong>mation from the <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> database,<br />
sorted by station.<br />
9/14/3 BASIC JOB INFORMATION (BY SCHEDULE) PAGE 1<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
STATION SCHEDULE NAME NUMBER DISPLAY-TIME EARLY-TIME MUST-TIME DEAD-TIME MAXIMUM-TIME<br />
NAME DD.HH.MM DD.HH.MM DD.HH.MM DD.HH.MM<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
4 BNRCVR BNPAY1 1 8. 1. 14. 5<br />
4 BNRCVR BNPAY2 2 8. 1. 14. 5<br />
4 BNSPE1 BNPAY1 1 9. 9. 22. 1.<br />
4 BNSPE1 BNPAY1 1 9. 9. 1. 22. 1.<br />
4 BNSPE1 BNPAY1 1 9. 9. 22. 1.<br />
4 BNSPE1 BNPAY1 1 9. 1. 22. 1.<br />
4 BNSPE1 BNPAY1 1 9. 1. 22. 1.<br />
4 BNSPE1 BNPAY1 1<br />
4 BNSPE1 BNPAY1 1 1. 22. 1.<br />
4 BNSPE1 BNPAY2 1 9. 1. 22. 1.<br />
4 BNSPE1 BNPAY3 1 9. 1. 22. 1.<br />
JCL that produces Advantage <strong>CA</strong>-Earl reports requires the inclusion of certain<br />
work files. Generic versions of these work files are contained in the<br />
installation tape file Z.<strong>CA</strong>WRKLAB. Tailor these files to your installation's<br />
needs and ensure that they are accessible be<strong>for</strong>e running the JCL that produces<br />
the reports. To produce this report, submit the following JCL with your job<br />
statement:<br />
// JOB <strong>CA</strong>JERM2<br />
: :<br />
: :<br />
work files<br />
: :<br />
: :<br />
// EXEC EARL,SIZE=3K<br />
The SYSIN control statements <strong>for</strong> this report are contained in the <strong>CA</strong>JINM02.0<br />
source member (shown following). You may modify the OPTION statement<br />
values.<br />
OPTION SORT=SRAM<br />
OPTION PRINTER=132<br />
OPTION CPAGE=56<br />
<strong>CA</strong>IJMST:FILE <strong>CA</strong>J<strong>CA</strong>CC2 RECORD = 248<br />
COPY <strong>CA</strong>JEJM<br />
COPY <strong>CA</strong>JEPM<br />
COPY <strong>CA</strong>JESETM<br />
COPY <strong>CA</strong>JERM2<br />
END<br />
The control statements that print this report are contained in the <strong>CA</strong>JERM02.0<br />
source member (shown following). You may modify these statements to<br />
produce your own reports. The fields you can print are all listed in the<br />
appendix "Advantage <strong>CA</strong>-Earl Reports." You can also modify this report to<br />
select schedule fields; change <strong>CA</strong>JESETM from JOB to SCH. The schedule<br />
fields you can print are also listed. (If you modify any of the source members<br />
5-160 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.13 Advantage <strong>CA</strong>-Earl Database Reports<br />
provided, be sure to copy them with a different name so a reinstallation of the<br />
product will not replace the modified members.<br />
GET <strong>CA</strong>IJMST<br />
GOTO EOJ <strong>CA</strong>IJMST = 'E' OR <strong>CA</strong>IJMST = 'N'<br />
REPORT 'BASIC JOB INFORMATION (BY STATION)'<br />
SELECT JOBRECID = 'J'<br />
CONTROL (JOBSTATION) SKIP JOBSCHNAME<br />
PRINT JOBSTATION JOBSCHNAME JOBNAME JOBNUMBER<br />
JOBDISPTIME JOBERLYTIME JOBMUSTTIME JOBDEADTIME JOBMAXTIME<br />
The preceding PRINT statement produces a report with the following fields:<br />
Field on Report Batch Operand Panel Prompt<br />
STATION STATION ID STATION<br />
SCHEDULE NAME SCHEDULE SCHEDULE<br />
NAME JOB NAME NAME<br />
NUMBER JOB NUMBER JNO<br />
DISPLAY-TIME DISPLAY TIME DISPTIME<br />
EARLY-TIME<br />
MUST-TIME<br />
DEAD-TIME<br />
MAXIMUM-TIME<br />
EARLIEST START<br />
TIME<br />
MUST START BY<br />
TIME<br />
COMPLETION<br />
DEADLINE TIME<br />
MAXIMUM<br />
EXECUTION TIME<br />
ERLYTIME<br />
MUSTTIME<br />
DEADLINE<br />
MAXTIME<br />
Chapter 5. Reports 5-161
5.13 Advantage <strong>CA</strong>-Earl Database Reports<br />
5.13.3 <strong>Job</strong> Criteria (by Schedule)<br />
The report lists the criteria from the job criteria record in the <strong>Unicenter</strong><br />
<strong>CA</strong>-<strong>Scheduler</strong> database.<br />
9/14/3 JOB CRITERIA (BY SCHEDULE) PAGE 1<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
SCHEDULE JOB JNO STATION DATETABLE <strong>CA</strong>LENDAR CRITERIA<br />
NAME NAME<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
BNSCHD2 BNPAY2 1 4<br />
BNSCHD2 BNPAY1 1 4 BNPAY1-1<br />
BNSCHD2 BNPAY2 2 4 BNPAY1-1<br />
BNSCHD2 BNPAY2 1 39<br />
BNSCHD3 BNPAY1 1 4 1.<br />
BNSCHD3 BNPAY1 3 4 BNPAY1-2<br />
BNSCHD3 BNPAY1 2 4 BNPAY1-1<br />
BNSCHD3 BNPAY1 1 39<br />
BNSCHD4 BNPAY2 1 4<br />
BNSCHD4 BNPAY2 1 39<br />
BNSCHD4 BNPAY2 2 4 BNPAY1-1<br />
BNSCHD4 BNPAY2 3 4 BNPAY1-2<br />
BNSCHD5 BNPAY2 1 4 BNPAY1-1<br />
BNSCHD5 BNPAY1 1 39<br />
BNSCHD5 BNPAY1 2 4 BNPAY1-2<br />
BNSCHD5 BNPAY1 1 4<br />
BNSCHD6 BNPAY1 1 4 BNPAY1-2<br />
BNSCHD6 BNPAY2 1 4<br />
BNSCHD6 BNPAY2 2 4 BNPAY1-1<br />
BNSCHD6 BNPAY2 1 39<br />
BNSPE1<br />
BNPAY1 OR BNPAY1 AND BNPAY2<br />
BNSPE1<br />
MON OR TUE OR THU OR FRI OR BNPAY4 AND WED<br />
BNSPE1<br />
BNPAY2<br />
BNSPE1<br />
BNPAY3<br />
BNSPE1<br />
BNSPE1<br />
BNPAY1<br />
BNSPE1<br />
BNSPE1<br />
BNSPE1<br />
BNXAD1<br />
BNXAD1<br />
BNXAD1<br />
BNXAD1<br />
BNPAY1<br />
BNXAD1<br />
BNXAD1<br />
BNPAY3<br />
JCL that produces Advantage <strong>CA</strong>-Earl reports requires the inclusion of certain<br />
work files. Generic versions of these work files are contained in the<br />
installation tape file Z.<strong>CA</strong>WRKLAB. Tailor these files to your installation's<br />
needs and ensure that they are accessible be<strong>for</strong>e running the JCL that produces<br />
the reports. To produce this report, submit the following JCL with your job<br />
statement:<br />
// JOB <strong>CA</strong>JERM3<br />
: :<br />
: :<br />
work files<br />
: :<br />
: :<br />
// EXEC EARL,SIZE=3K<br />
The SYSIN control statements <strong>for</strong> this report are contained in the <strong>CA</strong>JINM03.0<br />
source member (shown following). You may modify the OPTION statement<br />
values. You must also change the number of lines specified in the last SET<br />
statement if any of the criteria statements are longer than 20 lines. If you add<br />
5-162 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.13 Advantage <strong>CA</strong>-Earl Database Reports<br />
lines, you must also change the first line in the <strong>CA</strong>JECRI source member<br />
shown in the appendix "Advantage <strong>CA</strong>-Earl Reports" to reflect this increase.<br />
OPTION SORT=SRAM<br />
OPTION PRINTER=132<br />
OPTION CPAGE=56<br />
OPTION OMIT DETAIL BLANK LINES<br />
<strong>CA</strong>IJMST:FILE <strong>CA</strong>J<strong>CA</strong>CC2 RECORD = 248<br />
COPY <strong>CA</strong>JECRI<br />
COPY <strong>CA</strong>JEPM<br />
SET PRMFUNC = 'GETS'<br />
SET PRMID = 'JCR '<br />
SET PRMNME = ' '<br />
SET PRMNUM = ' '<br />
SET PRMSTA = ' '<br />
SET PRMSCH = ' '<br />
! CHANGE THE NEXT LINE IF YOU CHANGE NO OF LINES IN <strong>CA</strong>JECRI <br />
SET PRMCRIN = 2<br />
COPY <strong>CA</strong>JERM3<br />
END<br />
The PRINT statement shown following produces a report with the fields<br />
below:<br />
Field on Report Panel Prompt Batch Operand<br />
SCHEDULE NAME S= SCHEDULE<br />
JOB NAME J= NAME<br />
JNO JNO= JNO<br />
STATION ST= STATION<br />
DATETABLE<br />
DATETABLE NAME<br />
(on SBR)<br />
DISPTIME<br />
<strong>CA</strong>LENDAR C= <strong>CA</strong>LENDAR<br />
CRITERIA Lines 1-20 CRITERIA<br />
The control statements that print this report are contained in the <strong>CA</strong>JERM03.0<br />
source member (shown following). If any of the criteria is longer than 20 lines,<br />
you will have to add additional PRINT statements, in addition to modifying<br />
the SET statement above. (If you modify any of the source members provided,<br />
be sure to copy them with a different name so so a reinstallation of the<br />
product will not replace the modified members.)<br />
Chapter 5. Reports 5-163
5.13 Advantage <strong>CA</strong>-Earl Database Reports<br />
GET <strong>CA</strong>IJMST<br />
GOTO EOJ <strong>CA</strong>IJMST = 'E' OR <strong>CA</strong>IJMST = 'N'<br />
REPORT 'JOB CRITERIA (BY SCHEDULE)'<br />
CONTROL CRISCHNAME<br />
PRINT CRISCHNAME CRIJNAME CRIJNO CRISTATION CRIDATETAB CRI<strong>CA</strong>L CRILINE1<br />
PRINT @ CRILINE1 CRILINE2<br />
PRINT @ CRILINE1 CRILINE3<br />
PRINT @ CRILINE1 CRILINE4<br />
PRINT @ CRILINE1 CRILINE5<br />
PRINT @ CRILINE1 CRILINE6<br />
PRINT @ CRILINE1 CRILINE7<br />
PRINT @ CRILINE1 CRILINE8<br />
PRINT @ CRILINE1 CRILINE9<br />
PRINT @ CRILINE1 CRILINE1<br />
PRINT @ CRILINE1 CRILINE11<br />
PRINT @ CRILINE1 CRILINE12<br />
PRINT @ CRILINE1 CRILINE13<br />
PRINT @ CRILINE1 CRILINE14<br />
PRINT @ CRILINE1 CRILINE15<br />
PRINT @ CRILINE1 CRILINE16<br />
PRINT @ CRILINE1 CRILINE17<br />
PRINT @ CRILINE1 CRILINE18<br />
PRINT @ CRILINE1 CRILINE19<br />
PRINT @ CRILINE1 CRILINE2<br />
5-164 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.14 Advantage <strong>CA</strong>-Earl History File Reports<br />
5.14 Advantage <strong>CA</strong>-Earl History File Reports<br />
5.14.1 Abended <strong>Job</strong> Profile<br />
To obtain reports from the history file, the history file backup tape must be<br />
created using the BACKUP HISTORY command, which copies history records<br />
from the database to a sequential file. The ddname <strong>for</strong> this file is <strong>CA</strong>IJHST.<br />
See the Unicanter <strong>CA</strong>-<strong>Scheduler</strong> Systems Programmer <strong>Guide</strong> <strong>for</strong> more in<strong>for</strong>mation<br />
on this command.<br />
The Abended <strong>Job</strong> Profile report lists jobs that were terminated abnormally.<br />
9/14/3 ABENDED JOB PROFILE PAGE 1<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
SCHEDULE JOB JNO STATION REASON POWER SCHEDULED SCHEDULED AVAILABLE ACTUAL ACTUAL ELAPSED CPU COMPLETION<br />
NAME NAME ID CODE JOBNO DATE TIME TIME ST-TIME END-TIME TIME TIME CODE<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
DEMO <strong>CA</strong>JDEM3 1 4 1 747 9/14/3 12.41.59 12.43.4 12.43.41 12.43.42 1 X'2'<br />
DEMO<br />
JCL that produces Advantage <strong>CA</strong>-Earl reports requires the inclusion of certain<br />
work files. Generic versions of these work files are contained in the<br />
installation tape file Z.<strong>CA</strong>WRKLAB. Tailor these files to your installation's<br />
needs and ensure that they are accessible be<strong>for</strong>e running the JCL that produces<br />
the reports. To produce this report, submit the following JCL with your job<br />
statement:<br />
// JOB <strong>CA</strong>JERH4<br />
: :<br />
: :<br />
work files<br />
: :<br />
: :<br />
// EXEC EARL,SIZE=3K<br />
The PRINT statement shown following produces a report with the fields<br />
below:<br />
Field on Report<br />
SCHEDULE NAME<br />
JOB NAME<br />
JNO<br />
STATION ID<br />
REASON CODE<br />
POWER JOBNO<br />
SCHEDULED DATE<br />
Meaning<br />
Schedules jobs were assigned to.<br />
<strong>Job</strong>s selected <strong>for</strong> this report.<br />
Number defined <strong>for</strong> job.<br />
Stations where jobs were processed.<br />
Reason job was selected.<br />
The job number assigned by POWER.<br />
The date the job was supposed to be selected.<br />
Chapter 5. Reports 5-165
5.14 Advantage <strong>CA</strong>-Earl History File Reports<br />
Field on Report<br />
SCHEDULED TIME<br />
AVAILABLE TIME<br />
ACTUAL ST-TIME<br />
ACTUAL END-TIME<br />
ELAPSED TIME<br />
CPU TIME<br />
COMPLETION CODE<br />
Meaning<br />
The time the job was supposed to be selected<br />
(usually AUTOTIM).<br />
The time the job was available <strong>for</strong> processing:<br />
start time was reached, predecessors were<br />
satisfied, and resources were available.<br />
The time the job actually started.<br />
The time the job actually ended.<br />
The time it took to process the job from start to<br />
end.<br />
The CPU processing time.<br />
The DOS completion code.<br />
The SYSIPT control statements <strong>for</strong> the report are contained in the <strong>CA</strong>JINH04.0<br />
source member (shown following). You may modify the OPTION statement<br />
values.<br />
OPTION SORT=SRAM<br />
OPTION PRINTER=132<br />
OPTION CPAGE=56<br />
<strong>CA</strong>IJHST:FILE <strong>CA</strong>J<strong>CA</strong>CC2 RECORD = 248<br />
COPY <strong>CA</strong>JEJHR<br />
COPY <strong>CA</strong>JEPM<br />
COPY <strong>CA</strong>JERH4<br />
END<br />
The control statements that print this report are contained in the <strong>CA</strong>JERH04.0<br />
source member (shown following). You may modify these statements to<br />
produce your own reports. The fields you can print are all listed in the<br />
appendix "Advantage <strong>CA</strong>-Earl Reports" in the topic <strong>Job</strong> In<strong>for</strong>mation From<br />
History File. You can also modify this report to select schedule fields; change<br />
<strong>CA</strong>JESETH HHR to THR. The schedule fields that you can print are also listed.<br />
(If you modify any of the source members provided, be sure to copy them<br />
with a different name so a reinstallation of the product will not replace the<br />
modified members.)<br />
5-166 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.14 Advantage <strong>CA</strong>-Earl History File Reports<br />
5.14.2 Completed <strong>Job</strong> Profile<br />
DEF SCHD_DATE (8) = ' ' 'SCHEDULED' 'DATE'<br />
COPY <strong>CA</strong>IJDEFD<br />
COPY <strong>CA</strong>JESETH<br />
GET <strong>CA</strong>IJHST<br />
GOTO EOJ <strong>CA</strong>IJHST = 'E' OR <strong>CA</strong>IJHST = 'N'<br />
GOTO START JHRRECID NOT = 'H'<br />
GOTO START JHRSTATUS NOT = 'A'<br />
SET <strong>CA</strong>I_DATE = JHRSDATE<br />
PERFORM <strong>CA</strong>I_DATE_CONVERSION<br />
SET SCHD_DATE = <strong>CA</strong>I_OUTDATE<br />
COPY <strong>CA</strong>IJSTMD<br />
REPORT 'ABENDED JOB PROFILE'<br />
CONTROL (JHRSCHNAME) SKIP JHRJNAME<br />
PRINT JHRSCHNAME JHRJNAME JHRJNUMBER JHRSTATID JHRRCODE<br />
JHRJOBNO SCHD_DATE JHRSCHTME JHRAVTME JHRACSTME<br />
JHRACETME JHRELAPTME JHRCPUTME JHRCCODE<br />
The Completed <strong>Job</strong> Profile report lists jobs that completed successfully.<br />
9/14/3 COMPLETED JOB PROFILE PAGE 1<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
SCHEDULE JOB JNO STATION REASON POWER SCHEDULED SCHEDULED AVAILABLE ACTUAL ACTUAL ELAPSED CPU COMPLETION<br />
NAME NAME ID CODE JOBNO DATE TIME TIME ST-TIME END-TIME TIME TIME CODE<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
<strong>CA</strong>JUCMD <strong>CA</strong>JUCMD1 1 4 1 51 9/14/3 15.56.56 15.57.42 15.57.48 15.58.51 1.3 X'1'<br />
<strong>CA</strong>JUCMD <strong>CA</strong>JUCMD1 1 4 1 36 9/14/3 14.25.18 14.26.1 14.26.14 14.27.1 56 X'1'<br />
<strong>CA</strong>JUCMD <strong>CA</strong>JUCMD1 1 4 1 9 9/14/3 12.33.12 12.34.32 12.34.48 12.36.9 1.21 X'1'<br />
<strong>CA</strong>JUCMD<br />
JCL that produces Advantage <strong>CA</strong>-Earl reports requires the inclusion of certain<br />
work files. Generic versions of these work files are contained in the<br />
installation tape file Z.<strong>CA</strong>WRKLAB. Tailor these files to your installation's<br />
needs and ensure that they are accessible be<strong>for</strong>e running the JCL that produces<br />
the reports. To produce this report, submit the following JCL with your job<br />
statement:<br />
// JOB <strong>CA</strong>JERH3<br />
: :<br />
: :<br />
work files<br />
: :<br />
: :<br />
// EXEC EARL,SIZE=3K<br />
The PRINT statement following produces a report with the fields below:<br />
Field on Report<br />
SCHEDULE NAME<br />
JOB NAME<br />
JNO<br />
Meaning<br />
Schedules jobs were assigned to.<br />
<strong>Job</strong>s selected <strong>for</strong> this report.<br />
Number defined <strong>for</strong> job.<br />
Chapter 5. Reports 5-167
5.14 Advantage <strong>CA</strong>-Earl History File Reports<br />
Field on Report<br />
STATION ID<br />
REASON CODE<br />
POWER JOBNO<br />
SCHEDULED DATE<br />
SCHEDULED TIME<br />
AVAILABLE TIME<br />
ACTUAL ST-TIME<br />
ACTUAL END-TIME<br />
ELAPSED TIME<br />
CPU TIME<br />
COMPLETION CODE<br />
Meaning<br />
Stations where jobs were processed.<br />
Reason the job was selected.<br />
<strong>Job</strong> number assigned by POWER.<br />
The date the job was supposed to be selected.<br />
The time the job was supposed to be selected<br />
(usually AUTOTIM).<br />
The time the job was available <strong>for</strong> processing:<br />
start time was reached, predecessors were<br />
satisfied, and resources were available.<br />
The time the job actually started.<br />
The time the job actually ended.<br />
The time it took to process the job from start to<br />
end.<br />
The CPU processing time.<br />
The DOS completion code.<br />
The SYSIN control statements <strong>for</strong> this report are contained in the <strong>CA</strong>JINH03.0<br />
source member (shown following). You may modify the OPTION statement<br />
values.<br />
OPTION SORT=SRAM<br />
OPTION PRINTER=132<br />
OPTION CPAGE=56<br />
<strong>CA</strong>IJHST:FILE <strong>CA</strong>J<strong>CA</strong>CC2 RECORD = 248<br />
COPY <strong>CA</strong>JEJHR<br />
COPY <strong>CA</strong>JEPM<br />
COPY <strong>CA</strong>JERH3<br />
END<br />
The control statements that print this report are contained in the <strong>CA</strong>JERH03.0<br />
source member (shown following). You may modify these statements to<br />
produce your own reports. The fields you can print are all listed in the<br />
appendix "Advantage <strong>CA</strong>-Earl Reports" in the topic <strong>Job</strong> In<strong>for</strong>mation From<br />
History File. You can also modify this report to select schedule fields; change<br />
<strong>CA</strong>JESETH HHR to THR. The schedule fields you can print are also listed. (If<br />
you modify any of the source members provided, be sure to copy them with a<br />
different name so a reinstallation of the product will not replace the modified<br />
members.)<br />
5-168 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.14 Advantage <strong>CA</strong>-Earl History File Reports<br />
DEF SCHD_DATE (8) = ' ' 'SCHEDULED' 'DATE'<br />
COPY <strong>CA</strong>IJDEFD<br />
COPY <strong>CA</strong>JESETH<br />
GET <strong>CA</strong>IJHST<br />
GOTO EOJ <strong>CA</strong>IJHST = 'E' OR <strong>CA</strong>IJHST = 'N'<br />
GOTO START JHRRECID NOT = 'H'<br />
GOTO START JHRSTATUS NOT = 'C'<br />
SET <strong>CA</strong>I_DATE = JHRSDATE<br />
PERFORM <strong>CA</strong>I_DATE_CONVERSION<br />
SET SCHD_DATE = <strong>CA</strong>I_OUTDATE<br />
COPY <strong>CA</strong>IJSTMD<br />
REPORT 'COMPLETED JOB PROFILE'<br />
CONTROL (JHRSCHNAME) SKIP JHRJNAME<br />
PRINT JHRSCHNAME JHRJNAME JHRJNUMBER JHRSTATID JHRRCODE<br />
JHRJOBNO SCHD_DATE JHRSCHTME JHRAVTME JHRACSTME<br />
JHRACETME JHRELAPTME JHRCPUTME JHRCCODE<br />
5.14.3 Forced and Canceled <strong>Job</strong>s<br />
The Forced and Canceled <strong>Job</strong>s report lists jobs that were <strong>for</strong>ced or canceled by<br />
online commands.<br />
9/14/3 FORCED AND <strong>CA</strong>NCELLED JOBS PAGE 1<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
SCHEDULE JOB JNO STATION REASON POWER SCHEDULED SCHEDULED USERID USERID<br />
NAME NAME ID CODE JOBNO DATE TIME FORCED <strong>CA</strong>NCEL<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
<strong>CA</strong>JUCMD <strong>CA</strong>JUCMD1 1 4 1 9/14/3 17.44.43 OPERATOR<br />
<strong>CA</strong>JUCMD <strong>CA</strong>JUCMD1 1 4 1 9/14/3 17.47.2 OPERATOR<br />
<strong>CA</strong>JUCMD <strong>CA</strong>JUCMD2 1 4 1 9/14/3 17.44.43 OPERATOR<br />
<strong>CA</strong>JUCMD <strong>CA</strong>JUCMD2 1 4 1 9/14/3 12.33.12 OPERATOR<br />
<strong>CA</strong>JUCMD <strong>CA</strong>JUCMD2 1 4 1 9/14/3 17.47.2 OPERATOR<br />
<strong>CA</strong>JUCMD<br />
JCL that produces Advantage <strong>CA</strong>-Earl reports requires the inclusion of certain<br />
work files. Generic versions of these work files are contained in the<br />
installation tape file Z.<strong>CA</strong>WRKLAB. Tailor these files to your installation's<br />
needs and ensure that they are accessible be<strong>for</strong>e running the JCL that produces<br />
the reports. To produce this report, submit the following JCL with your job<br />
statement:<br />
// JOB <strong>CA</strong>JERH7<br />
: :<br />
: :<br />
work files<br />
: :<br />
: :<br />
// EXEC EARL,SIZE=3K<br />
The SYSIPT control statements <strong>for</strong> this report are contained in the <strong>CA</strong>JINH07.0<br />
source member (shown following). You may modify the OPTION statement<br />
values.<br />
Chapter 5. Reports 5-169
5.14 Advantage <strong>CA</strong>-Earl History File Reports<br />
OPTION SORT=SRAM<br />
OPTION PRINTER=132<br />
OPTION CPAGE=56<br />
<strong>CA</strong>IJHST:FILE <strong>CA</strong>J<strong>CA</strong>CC2 RECORD = 248<br />
COPY <strong>CA</strong>JEJHR<br />
COPY <strong>CA</strong>JEPM<br />
COPY <strong>CA</strong>JERH7<br />
END<br />
The control statements that print this report are contained in the <strong>CA</strong>JERH07.0<br />
source member (shown following). You may modify these statements to<br />
produce your own reports. The fields you can print are all listed in the<br />
appendix "Advantage <strong>CA</strong>-Earl Reports" in the topic <strong>Job</strong> In<strong>for</strong>mation From<br />
History File. You can also modify this report to select schedule fields; change<br />
<strong>CA</strong>JESETH from HHR to THR. The schedule fields you can print are also<br />
listed. (If you modify any of the source members provided, be sure to copy<br />
them with a different name so a reinstallation of the product will not replace<br />
the modified members.)<br />
DEF SCHD_DATE (8) = ' ' 'SCHEDULED' 'DATE'<br />
COPY <strong>CA</strong>IJDEFD<br />
COPY <strong>CA</strong>JESETH<br />
GET <strong>CA</strong>IJHST<br />
GOTO EOJ <strong>CA</strong>IJHST = 'E' OR <strong>CA</strong>IJHST = 'N'<br />
GOTO START JHRRECID NOT = 'H'<br />
GOTO START JHRUFRCE = ' ' AND JHRUCNCL = ' '<br />
SET <strong>CA</strong>I_DATE = JHRSDATE<br />
PERFORM <strong>CA</strong>I_DATE_CONVERSION<br />
SET SCHD_DATE = <strong>CA</strong>I_OUTDATE<br />
COPY <strong>CA</strong>IJSTMD<br />
REPORT 'FORCED AND <strong>CA</strong>CNCELLED JOBS'<br />
CONTROL (JHRSCHNAME) SKIP JHRJNAME<br />
PRINT JHRSCHNAME JHRJNAME JHRJNUMBER JHRSTATID JHRRCODE<br />
JHRJOBNO SCHD_DATE JHRSCHTME JHRUFRCE JHRUCNCL<br />
The preceding PRINT statement produces a report with the following fields:<br />
Field on Report<br />
SCHEDULE NAME<br />
JOB NAME<br />
JNO<br />
STATION ID<br />
REASON CODE<br />
POWER JOBNO<br />
SCHEDULED DATE<br />
SCHEDULED TIME<br />
USERID FORCED<br />
Meaning<br />
Schedules jobs were assigned to.<br />
<strong>Job</strong>s selected <strong>for</strong> this report.<br />
Number defined <strong>for</strong> job.<br />
Stations where jobs were processed.<br />
Reason job was selected.<br />
<strong>Job</strong> number assigned by POWER.<br />
The date the job was supposed to be selected.<br />
The time the job was supposed to be selected<br />
(usually AUTOTIM)<br />
The user that issued the FORCE command.<br />
5-170 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.14 Advantage <strong>CA</strong>-Earl History File Reports<br />
Field on Report<br />
USERID <strong>CA</strong>NCEL<br />
Meaning<br />
The user that issued the <strong>CA</strong>NCEL command.<br />
5.14.4 Late <strong>Job</strong> Profile<br />
The report lists jobs that were late.<br />
9/14/3 LATE JOB PROFILE PAGE 1<br />
------------------------------------------------------------------------------------------------------------------------------<br />
SCHEDULE JOB JOB STATION REASON MUST MUST ACTUAL ACTUAL DEDLINE DEADLINE ACTUAL ACTUAL<br />
NAME NAME NUMBER ID CODE ST-DATE TIME ST-DATE ST-TIME DATE TIME END-DATE END-TIME<br />
------------------------------------------------------------------------------------------------------------------------------<br />
SCD1 JOB1A 1 4 84 9/14/3 9. 9/14/3 11.43.56 9/15/3 1. 9/14/3 11.44.3<br />
SCD1 JOB1A 1 4 84 9/14/3 9. 9/14/3 11.43.56 9/15/3 1. 9/14/3 11.44.3<br />
SCD2 JOB2A 1 4 1 9/14/3 8. 9/15/3 1.<br />
TBIL33 DOPBIL29 1 4 1 9/14/3 23. 9/15/3 1.<br />
TBIL33 DOPBI5 1 4 1 9/14/3 23.3 9/15/3 1.3<br />
TBIL33 DOPBI5 1 4 1 9/14/3 23.3 9/15/3 1.3<br />
TBIL33 DOPFB11 1 4 3 9/14/3 2. 9/15/3 2.3<br />
TBIL33 DOPFB11 1 4 3 9/14/3 2. 9/15/3 2.3<br />
TBIL33 DOPFB11 1 4 3 9/14/3 2. 9/15/3 2.3<br />
TBIL33 DOPFB11 1 4 3 9/14/3 2. 9/15/3 2.3<br />
TBIL33 DOPFB11 1 4 3 9/14/3 2. 9/15/3 2.3<br />
TBIL33 DOPFB11 1 4 3 9/14/3 2. 9/15/3 2.3<br />
TBIL33 DOPFB11 1 4 3 9/14/3 2. 9/15/3 2.3<br />
END OF REPORT<br />
JCL that produces Advantage <strong>CA</strong>-Earl reports requires the inclusion of certain<br />
work files. Generic versions of these work files are contained in the<br />
installation tape file Z.<strong>CA</strong>WRKLAB. Tailor these files to your installation's<br />
needs and ensure that they are accessible be<strong>for</strong>e running the JCL that produces<br />
the reports. To produce this report, submit the following JCL with your job<br />
statement:<br />
// JOB <strong>CA</strong>JERH5<br />
: :<br />
: :<br />
work files<br />
: :<br />
: :<br />
// EXEC EARL,SIZE=3K<br />
The SYSIPT control statements <strong>for</strong> this report are contained in the <strong>CA</strong>JINH05.0<br />
source member (shown following). You may modify the OPTION statement<br />
values.<br />
OPTION SORT=SRAM<br />
OPTION PRINTER=132<br />
OPTION CPAGE=56<br />
<strong>CA</strong>IJHST:FILE <strong>CA</strong>J<strong>CA</strong>CC2 RECORD = 248<br />
COPY <strong>CA</strong>JEJHR<br />
COPY <strong>CA</strong>JEPM<br />
COPY <strong>CA</strong>JERH5<br />
END<br />
Chapter 5. Reports 5-171
5.14 Advantage <strong>CA</strong>-Earl History File Reports<br />
The PRINT statement following produces a report with the fields below:<br />
Field on Report<br />
SCHEDULE NAME<br />
JOB NAME<br />
JOB NUMBER<br />
STATION ID<br />
REASON CODE<br />
MUST ST-DATE<br />
MUST TIME<br />
ACTUAL ST-DATE<br />
ACTUAL ST-TIME<br />
DEDLINE DATE<br />
DEADLINE TIME<br />
ACTUAL END-DATE<br />
ACTUAL END-TIME<br />
Meaning<br />
Schedules jobs were assigned to.<br />
<strong>Job</strong>s selected <strong>for</strong> this report.<br />
Number defined <strong>for</strong> job.<br />
Stations where jobs were processed.<br />
Reason job was selected.<br />
MUST START BY date, if defined. (This is the dd<br />
value defined <strong>for</strong> MUST START BY TIME.)<br />
MUST START BY TIME, if defined.<br />
The date the job actually started.<br />
The time the job actually started.<br />
COMPLETION DEADLINE date, if defined. (This<br />
is the dd value defined <strong>for</strong> COMPLETION<br />
DEADLINE TIME.)<br />
COMPLETION DEADLINE TIME, if defined.<br />
The date the job actually ended.<br />
The time the job actually ended.<br />
The control statements that print this report are contained in the <strong>CA</strong>JERH05.0<br />
source member (shown following). You may modify these statements to<br />
produce your own reports. The fields you can print are all listed in the<br />
appendix "Advantage <strong>CA</strong>-Earl Reports" in the topic <strong>Job</strong> In<strong>for</strong>mation From<br />
History File. You can also modify this report to select schedule fields; change<br />
<strong>CA</strong>JESETH in the appendix "Advantage <strong>CA</strong>-Earl Reports" from HHR to THR.<br />
The schedule fields you can print are also listed in the appendix "Advantage<br />
<strong>CA</strong>-Earl Reports." (If you modify any of the source members provided, be<br />
sure to copy them with a different name so a reinstallation of the product will<br />
not replace the modified members.)<br />
5-172 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.14 Advantage <strong>CA</strong>-Earl History File Reports<br />
5.14.5 Pending <strong>Job</strong> Profile<br />
DEF MUST_DATE (8) = ' ' 'MUST ' 'ST-DATE'<br />
DEF ACTS_DATE (8) = ' ' 'ACTUAL' 'ST-DATE'<br />
DEF DEAD_DATE (8) = ' ' 'DEDLINE' 'DATE'<br />
DEF ACTE_DATE (8) = ' ' 'ACTUAL' 'END-DATE'<br />
COPY <strong>CA</strong>IJDEFD<br />
COPY <strong>CA</strong>JESETH<br />
GET <strong>CA</strong>IJHST<br />
GOTO EOJ <strong>CA</strong>IJHST = 'E' OR <strong>CA</strong>IJHST = 'N'<br />
GOTO START JHRRECID NOT = 'H'<br />
GOTO START JHRLATE NOT = 'L'<br />
SET <strong>CA</strong>I_DATE = JHRMDATE<br />
PERFORM <strong>CA</strong>I_DATE_CONVERSION<br />
SET MUST_DATE = <strong>CA</strong>I_OUTDATE<br />
SET <strong>CA</strong>I_DATE = JHRACTSD<br />
PERFORM <strong>CA</strong>I_DATE_CONVERSION<br />
SET ACTS_DATE = <strong>CA</strong>I_OUTDATE<br />
SET <strong>CA</strong>I_DATE = JHRDDATE<br />
PERFORM <strong>CA</strong>I_DATE_CONVERSION<br />
SET DEAD_DATE = <strong>CA</strong>I_OUTDATE<br />
SET <strong>CA</strong>I_DATE = JHRACTED<br />
PERFORM <strong>CA</strong>I_DATE_CONVERSION<br />
SET ACTE_DATE = <strong>CA</strong>I_OUTDATE<br />
COPY <strong>CA</strong>IJSTMD<br />
REPORT 'LATE JOB PROFILE'<br />
CONTROL JHRSCHNAME JHRJNAME JHRSTATID<br />
PRINT JHRSCHNAME JHRJNAME JHRJNUMBER JHRSTATID JHRRCODE<br />
MUST_DATE JHRMTIME ACTS_DATE JHRACSTME<br />
DEAD_DATE JHRDTIME ACTE_DATE JHRACETME<br />
The Pending <strong>Job</strong> Profile report lists jobs that had not completed by the end of<br />
the day and tells why they had not completed.<br />
9/14/3 PENDING JOB PROFILE PAGE 1<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
SCHEDULE JOB JOB STATION REASON MUST MUST DEDLINE DEADLINE STATUS JOB<br />
NAME NAME NUMBER ID CODE ST-DATE TIME DATE TIME STATUS<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
SCD4 JOB4B 1 4 1 9/14/3 9/14/3 P WAITING PREDS<br />
SCD4 JOB4B 1 4 1 9/14/3 9/14/3 P WAITING PREDS<br />
SCD4 JOB4B 1 4 1 9/14/3 9/14/3 P WAITING PREDS<br />
SCD4 JOB4B 1 4 1 9/14/3 9/14/3 P WAITING PREDS<br />
SCD4 JOB4C 1 4 1 9/14/3 9/14/3 P WAITING PREDS<br />
SCD4 JOB4C 1 4 1 9/14/3 9/14/3 P WAITING PREDS<br />
SCD4 JOB4C 1 4 1 9/14/3 9/14/3 P WAITING PREDS<br />
SCD4 JOB4C 1 4 1 9/14/3 9/14/3 P WAITING PREDS<br />
SCD4<br />
JCL that produces Advantage <strong>CA</strong>-Earl reports requires the inclusion of certain<br />
work files. Generic versions of these work files are contained in the<br />
installation tape file Z.<strong>CA</strong>WRKLAB. Tailor these files to your installation's<br />
needs and ensure that they are accessible be<strong>for</strong>e running the JCL that produces<br />
the reports. To produce this report, submit the following JCL with your job<br />
statement:<br />
Chapter 5. Reports 5-173
5.14 Advantage <strong>CA</strong>-Earl History File Reports<br />
// JOB <strong>CA</strong>JERH6<br />
: :<br />
: :<br />
work files<br />
: :<br />
: :<br />
// EXEC EARL,SIZE=3K<br />
The SYSIPT control statements <strong>for</strong> this report are contained in the <strong>CA</strong>JINH06.0<br />
source member (shown following). You may modify the OPTION statement<br />
values.<br />
OPTION SORT=SRAM<br />
OPTION PRINTER=132<br />
OPTION CPAGE=56<br />
<strong>CA</strong>IJHST:FILE <strong>CA</strong>J<strong>CA</strong>CC2 RECORD = 248<br />
COPY <strong>CA</strong>JEJHR<br />
COPY <strong>CA</strong>JEPM<br />
COPY <strong>CA</strong>JERH6<br />
END<br />
The PRINT statement following produces a report with the fields below:<br />
Field on Report<br />
SCHEDULE NAME<br />
JOB NAME<br />
JOB NUMBER<br />
STATION ID<br />
REASON CODE<br />
MUST ST-DATE<br />
MUST TIME<br />
DEDLINE DATE<br />
DEADLINE TIME<br />
STATUS<br />
JOB STATUS<br />
Meaning<br />
Schedules jobs were assigned to.<br />
<strong>Job</strong>s selected <strong>for</strong> this report.<br />
Number defined <strong>for</strong> job.<br />
Stations where jobs were processed.<br />
Reason job was selected.<br />
MUST START BY date, if defined. (This is the dd<br />
value defined <strong>for</strong> MUST START BY TIME.)<br />
MUST START BY TIME, if defined.<br />
COMPLETION DEADLINE date, if defined. (This<br />
is the dd value defined <strong>for</strong> COMPLETION<br />
DEADLINE TIME.)<br />
COMPLETION DEADLINE TIME, if defined.<br />
Final status code from history record.<br />
Final status as shown on status display. This tells<br />
why the job was not available <strong>for</strong> processing.<br />
The control statements that print this report are contained in the <strong>CA</strong>JERH06.0<br />
source member (shown following). You may modify these statements to<br />
produce your own reports. The fields you can print are all listed in the<br />
appendix "Advantage <strong>CA</strong>-Earl Reports" in the topic <strong>Job</strong> In<strong>for</strong>mation From<br />
History File. You can also modify this report to select schedule fields; change<br />
<strong>CA</strong>JESETH in the appendix "Advantage <strong>CA</strong>-Earl Reports" from HHR to THR.<br />
The schedule fields you can print are also listed in the appendix "Advantage<br />
5-174 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.14 Advantage <strong>CA</strong>-Earl History File Reports<br />
<strong>CA</strong>-Earl Reports." (If you modify any of the source members provided, be<br />
sure to copy them with a different name so a reinstallation of the product will<br />
not replace the modified members.)<br />
DEF IN_STATUS (1) = ' '<br />
DEF OUT_STATUS (2) = ' ' 'JOB' 'STATUS'<br />
DEF MUST_DATE (8) = ' ' 'MUST ' 'ST-DATE'<br />
DEF DEAD_DATE (8) = ' ' 'DEDLINE' 'DATE'<br />
COPY <strong>CA</strong>IJDEFD<br />
COPY <strong>CA</strong>JESETH<br />
GET <strong>CA</strong>IJHST<br />
GOTO EOJ <strong>CA</strong>IJHST = 'E' OR <strong>CA</strong>IJHST = 'N'<br />
GOTO START JHRRECID NOT = 'H'<br />
GOTO START JHRSTATUS NOT = 'T' AND JHRSTATUS NOT = 'P' AND<br />
JHRSTATUS NOT = 'R' AND JHRSTATUS NOT = 'O'<br />
SET <strong>CA</strong>I_DATE = JHRMDATE<br />
PERFORM <strong>CA</strong>I_DATE_CONVERSION<br />
SET MUST_DATE = <strong>CA</strong>I_OUTDATE<br />
SET <strong>CA</strong>I_DATE = JHRDDATE<br />
PERFORM <strong>CA</strong>I_DATE_CONVERSION<br />
SET DEAD_DATE = <strong>CA</strong>I_OUTDATE<br />
SET IN_STATUS = JHRSTATUS<br />
PERFORM DECODE_STATUS<br />
COPY <strong>CA</strong>JECNVS<br />
COPY <strong>CA</strong>IJSTMD<br />
REPORT 'PENDING JOB PROFILE'<br />
CONTROL (JHRSCHNAME) SKIP JHRJNAME<br />
PRINT JHRSCHNAME JHRJNAME JHRJNUMBER JHRSTATID JHRRCODE<br />
MUST_DATE JHRMTIME DEAD_DATE JHRDTIME<br />
JHRSTATUS OUT_STATUS<br />
5.14.6 Scheduled <strong>Job</strong> Status (by Schedule)<br />
The Scheduled <strong>Job</strong> Status report lists job status in<strong>for</strong>mation from the <strong>Unicenter</strong><br />
<strong>CA</strong>-<strong>Scheduler</strong> history file, sorted by schedule.<br />
9/14/3 SCHEDULED JOB STATUS (BY SCHEDULE) PAGE 1<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
SCHEDULE JOB JOB STATION REASON SCHEDULED SCHEDULED ACTUAL ACTUAL AVAILABLE ELAPSED STATUS JOB<br />
NAME NAME NUMBER ID CODE DATE TIME ST-TIME END-TIME TIME TIME STATUS<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
BNSPE1 BNPAY1 1 4 84 9/14/3 19.13.23 19.13.23 P WAITING PREDS<br />
BNSPE1 BNPAY1 1 39 3 9/14/3 19.13.23 19.13.23 19.13.23 S STARTED<br />
BNSPE1 BNPAY1 1 2 3 9/14/3 19.13.23 19.13.23 19.13.23 S STARTED<br />
BNSPE1 BNPAY1 1 2 3 9/14/3 9.25.28 9.25.28 9.25.28 S STARTED<br />
BNSPE1 BNPAY1 1 2 3 9/14/3 9.25.28 9.25.28 9.25.28 S STARTED<br />
BNSPE1 BNPAY1 1 2 3 9/14/3 9.25.28 9.25.28 9.25.28 N OPERATOR <strong>CA</strong>NCELD<br />
BNSPE1 BNPAY2 1 4 1 9/14/3 19.13.23 19.13.23 Q SUBMITTED<br />
BNSPE1 BNPAY3 1 4 1 9/14/3 9.25.28 N OPERATOR <strong>CA</strong>NCELD<br />
BNSPE1 BNPAY3 1 4 1 9/14/3 19.13.23 19.14.17 19.14.17 19.13.23 C COMPLETED<br />
BNSPE1 BNPAY4 1 4 1 9/14/3 9.25.28 N OPERATOR <strong>CA</strong>NCELD<br />
BNSPE1 BNPAY4 1 4 1 9/14/3 19.13.23 B NO BACKLOG <strong>CA</strong>NCLED<br />
BNSPE1 BNPAY5 1 4 5 9/14/3 19.13.23 B NO BACKLOG <strong>CA</strong>NCLED<br />
BNSPE1 BNPAY6 1 4 1 9/14/3 9.25.28 P WAITING PREDS<br />
BNSPE1 BNPAY6 1 4 1 9/14/3 9.25.28 P WAITING PREDS<br />
BNSPE1 BNPAY6 1 4 1 9/14/3 9.25.28 N OPERATOR <strong>CA</strong>NCELD<br />
BNSPE1 BNPAY6 1 4 1 9/14/3 19.13.23 19.14.18 19.14.19 19.13.23 1 A ABENDED<br />
BNSPE1<br />
JCL that produces Advantage <strong>CA</strong>-Earl reports requires the inclusion of certain<br />
work files. Generic versions of these work files are contained in the<br />
Chapter 5. Reports 5-175
5.14 Advantage <strong>CA</strong>-Earl History File Reports<br />
installation tape file Z.<strong>CA</strong>WRKLAB. Tailor these files to your installation's<br />
needs and ensure that they are accessible be<strong>for</strong>e running the JCL that produces<br />
the reports. To produce this report, submit the following JCL with your job<br />
statement:<br />
// JOB <strong>CA</strong>JERH1<br />
: :<br />
: :<br />
work files<br />
: :<br />
: :<br />
// EXEC EARL,SIZE=3K<br />
The SYSIPT control statements <strong>for</strong> this report are contained in the <strong>CA</strong>JINH01.0<br />
source member (shown following). You may modify the OPTION statement<br />
values.<br />
OPTION SORT=SRAM<br />
OPTION PRINTER=132<br />
OPTION CPAGE=56<br />
<strong>CA</strong>IJHST:FILE <strong>CA</strong>J<strong>CA</strong>CC2 RECORD = 248<br />
COPY <strong>CA</strong>JEJHR<br />
COPY <strong>CA</strong>JEPM<br />
COPY <strong>CA</strong>JERH1<br />
END<br />
The PRINT statement following produces a report with the fields below:<br />
Field on Report<br />
SCHEDULE NAME<br />
JOB NAME<br />
JOB NUMBER<br />
STATION ID<br />
REASON CODE<br />
SCHEDULED DATE<br />
SCHEDULED TIME<br />
ACTUAL ST-TIME<br />
ACTUAL END-TIME<br />
AVAILABLE TIME<br />
ELAPSED TIME<br />
STATUS<br />
JOB STATUS<br />
Meaning<br />
Schedules jobs were assigned to.<br />
<strong>Job</strong>s selected <strong>for</strong> this report.<br />
Number defined <strong>for</strong> job.<br />
Stations where jobs were processed.<br />
Reason job was selected.<br />
Date job was selected.<br />
Time job was selected (usually AUTOTIM).<br />
Time job actually started.<br />
Time job actually ended.<br />
Time job was available <strong>for</strong> processing: start time<br />
was reached, predecessors were satisfied, and<br />
resources were available.<br />
Time it took to process the job from start to end.<br />
Final status code from history record.<br />
Final status as shown on status display.<br />
5-176 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.14 Advantage <strong>CA</strong>-Earl History File Reports<br />
The control statements that print this report are contained in the <strong>CA</strong>JERH01.0<br />
source member (shown following). You may modify these statements to<br />
produce your own reports. The fields you can print are all listed in the<br />
appendix "Advantage <strong>CA</strong>-Earl Reports" in the topic <strong>Job</strong> In<strong>for</strong>mation From<br />
History File. You can also modify this report to select schedule fields; change<br />
<strong>CA</strong>JESETH in the appendix "Advantage <strong>CA</strong>-Earl Reports" from HHR to THR.<br />
The schedule fields you can print are also listed in the appendix "Advantage<br />
<strong>CA</strong>-Earl Reports." (If you modify any of the source members provided, be<br />
sure to copy them with a different name so a reinstallation of the product will<br />
not replace the modified members.)<br />
DEF SCHD_DATE (8) = ' ' 'SCHEDULED' 'DATE'<br />
DEF IN_STATUS (1) = ' '<br />
DEF OUT_STATUS (2) = ' ' 'JOB' 'STATUS'<br />
COPY <strong>CA</strong>IJDEFD<br />
COPY <strong>CA</strong>JESETH<br />
GET <strong>CA</strong>IJHST<br />
GOTO EOJ <strong>CA</strong>IJHST = 'E' OR <strong>CA</strong>IJHST = 'N'<br />
GOTO START JHRRECID NOT = 'H'<br />
SET <strong>CA</strong>I_DATE = JHRSDATE<br />
PERFORM <strong>CA</strong>I_DATE_CONVERSION<br />
SET SCHD_DATE = <strong>CA</strong>I_OUTDATE<br />
SET IN_STATUS = JHRSTATUS<br />
PERFORM DECODE_STATUS<br />
COPY <strong>CA</strong>IJSTMD<br />
COPY <strong>CA</strong>JECNVS<br />
REPORT 'SCHEDULED JOB STATUS (BY SCHEDULE)'<br />
CONTROL (JHRSCHNAME) SKIP JHRJNAME<br />
PRINT JHRSCHNAME JHRJNAME JHRJNUMBER JHRSTATID JHRRCODE<br />
SCHD_DATE JHRSCHTME JHRACSTME JHRACETME JHRAVTME<br />
JHRELAPTME JHRSTATUS OUT_STATUS<br />
Chapter 5. Reports 5-177
5.14 Advantage <strong>CA</strong>-Earl History File Reports<br />
5.14.7 Scheduled <strong>Job</strong> Status (by Station)<br />
The Scheduled <strong>Job</strong> Status (by Station) report lists job status in<strong>for</strong>mation from<br />
the <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> history file, sorted by station.<br />
9/14/3 SCHEDULED JOB STATUS (BY STATION) PAGE 1<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
STATION SCHEDULE JOB JOB REASON SCHEDULED SCHEDULED ACTUAL ACTUAL AVAILABLE ELAPSED STATUS JOB<br />
ID NAME NAME NUMBER CODE DATE TIME ST-TIME END-TIME TIME TIME STATUS<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
4 SCD6 JOB6A 1 84 9/14/3 9.27.2 11.18.54 11.18.58 11.18.49 4 A ABENDED<br />
4 SCD6 JOB6A 1 84 9/14/3 9.27.2 11.18.54 11.18.58 11.18.49 4 N OPERATOR <strong>CA</strong>NCELLED<br />
4 SCD6 JOB6A 1 88 9/14/3 11.32.6 11.35.37 11.35.4 11.35.14 3 C COMPLETED<br />
4 SCD6 JOB6A 1 88 9/14/3 11.42.36 11.43.58 11.44. 11.43.52 2 A ABENDED<br />
4 SCD6 JOB6A 1 88 9/14/3 11.42.36 11.43.58 11.44. 11.43.52 2 N OPERATOR <strong>CA</strong>NCELLED<br />
4 SCD7 JOB7A 1 88 9/14/3 11.42.37 11.44.1 11.44.13 11.43.52 3 A ABENDED<br />
4 SCD7 JOB7A 1 88 9/14/3 11.42.37 11.44.1 11.44.13 11.43.52 3 N OPERATOR <strong>CA</strong>NCELLED<br />
4 SCD7 JOB7B 1 88 9/14/3 11.42.37 11.44.44 11.44.44 11.44.43 F FAILED<br />
4 SCD7 JOB7B 1 88 9/14/3 11.42.37 11.47.4 11.47.42 11.47.37 2 A ABENDED<br />
4 SCD7 JOB7B 1 88 9/14/3 11.42.37 11.47.4 11.47.42 11.47.37 2 N OPERATOR <strong>CA</strong>NCELLED<br />
4 SCD7 JOB7C 1 88 9/14/3 11.32.1 11.36. 11.36.5 11.35.14 5 C COMPLETED<br />
4 SCD7 JOB7C 1 88 9/14/3 11.42.37 11.47.41 11.47.49 11.47.37 8 A ABENDED<br />
4 SCD7 JOB7C 1 88 9/14/3 11.42.37 11.47.41 11.47.49 11.47.37 8 N OPERATOR <strong>CA</strong>NCELLED<br />
4 SCD7 JOB7D 1 88 9/14/3 11.42.37 11.47.44 11.47.46 11.47.37 2 A ABENDED<br />
4 SCD7 JOB7D 1 88 9/14/3 11.42.37 11.47.44 11.47.46 11.47.37 2 N OPERATOR <strong>CA</strong>NCELLED<br />
4 SCD7 JOB7E 1 88 9/14/3 11.42.37 11.47.51 11.47.55 11.47.37 4 A ABENDED<br />
4 SCD7 JOB7E 1 88 9/14/3 11.42.37 11.47.51 11.47.55 11.47.37 4 N OPERATOR <strong>CA</strong>NCELLED<br />
4 SCOTTA DYNDA$7 1 88 9/14/3 11.18.45 B NO BACKLOG <strong>CA</strong>NCELLED<br />
4 SCOTTA DYNDA$7 2 1 9/14/3 11.18.45 B NO BACKLOG <strong>CA</strong>NCELLED<br />
4 SCOTTA DYNDB$7 1 1 9/14/3 11.18.45 B NO BACKLOG <strong>CA</strong>NCELLED<br />
4 SCOTTA VMFGN$7 1 1 9/14/3 11.18.45 B NO BACKLOG <strong>CA</strong>NCELLED<br />
4 SCOTTF SCOTTF 1 84 9/14/3 8..17 8..27 8..28 8..17 1 C COMPLETED<br />
4 TBIL33 DOPFB11 1 3 9/14/3 9.27.2 1.45.1 Q SUBMITTED<br />
4 TBIL33 DOPFB11 1 3 9/14/3 9.27.2 1.45.1 Q SUBMITTED<br />
4 TBIL33 DOPFB11 1 3 9/14/3 9.27.2 1.45.1 Q SUBMITTED<br />
4 TBIL33 DOPFB11 1 3 9/14/3 9.27.2 1.45.1 Q SUBMITTED<br />
4 TBIL33 DOPFB11 1 3 9/14/3 9.27.2 1.45.1 Q SUBMITTED<br />
4 TBIL33 DOPFB11 1 3 9/14/3 9.27.2 1.45.1 Q SUBMITTED<br />
4 TBIL33 DOPFB11 1 3 9/14/3 9.27.2 1.45.1 Q SUBMITTED<br />
4 TBIL33 DOPBIL29 1 1 9/14/3 9.27.2 22.5. Q SUBMITTED<br />
4 TBIL33 DOPBI5 1 1 9/14/3 9.27.2 22.5. P WAITING PREDS<br />
4 TBIL33 DOPBI5 1 1 9/14/3 9.27.2 22.5. P WAITING PREDS<br />
4<br />
JCL that produces Advantage <strong>CA</strong>-Earl reports requires the inclusion of certain<br />
work files. Generic versions of these work files are contained in the<br />
installation tape file Z.<strong>CA</strong>WRKLAB. Tailor these files to your installation's<br />
needs and ensure that they are accessible be<strong>for</strong>e running the JCL that produces<br />
the reports. To produce this report, submit the following JCL with your job<br />
statement:<br />
// JOB <strong>CA</strong>JERH2<br />
: :<br />
: :<br />
work files<br />
: :<br />
: :<br />
// EXEC EARL,SIZE=3K<br />
The PRINT statement following produces a report with the fields below:<br />
Field on Report<br />
SCHEDULE NAME<br />
Meaning<br />
Schedules jobs were assigned to.<br />
5-178 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.14 Advantage <strong>CA</strong>-Earl History File Reports<br />
Field on Report<br />
JOB NAME<br />
JOB NUMBER<br />
REASON CODE<br />
SCHEDULED DATE<br />
SCHEDULED TIME<br />
ACTUAL ST-TIME<br />
ACTUAL END-TIME<br />
AVAILABLE TIME<br />
ELAPSED TIME<br />
STATUS<br />
JOB STATUS<br />
Meaning<br />
<strong>Job</strong>s selected <strong>for</strong> this report.<br />
Number defined <strong>for</strong> job.<br />
Reason job was selected.<br />
Date job was selected.<br />
Time job was selected (usually AUTOTIM).<br />
Time job actually started.<br />
Time job actually ended.<br />
Time job was available <strong>for</strong> processing: start time<br />
was reached, predecessors were satisfied, and<br />
resources were available.<br />
Time it took to process job from start to end.<br />
Final status code from history record.<br />
Final status as shown on status display.<br />
The SYSIPT control statements <strong>for</strong> this report are contained in the <strong>CA</strong>JINH02.0<br />
source member (shown following). You may modify the OPTION statement<br />
values.<br />
OPTION SORT=SRAM<br />
OPTION PRINTER=132<br />
OPTION CPAGE=56<br />
<strong>CA</strong>IJHST:FILE <strong>CA</strong>J<strong>CA</strong>CC2 RECORD = 248<br />
COPY <strong>CA</strong>JEJHR<br />
COPY <strong>CA</strong>JEPM<br />
COPY <strong>CA</strong>JERH2<br />
END<br />
The control statements that print this report are contained in the <strong>CA</strong>JERH02.0<br />
source member (shown following). You may modify these statements to<br />
produce your own reports. The fields you can print are all listed in the<br />
appendix "Advantage <strong>CA</strong>-Earl Reports" in the topic <strong>Job</strong> In<strong>for</strong>mation From<br />
History File. You can also modify this report to select schedule fields; change<br />
<strong>CA</strong>JESETH in the appendix "Advantage <strong>CA</strong>-Earl Reports" from HHR to THR.<br />
The schedule fields you can print are also listed in the appendix "Advantage<br />
<strong>CA</strong>-Earl Reports." (If you modify any of the source members provided, be<br />
sure to copy them with a different name so a reinstallation of the product will<br />
not replace the modified members.)<br />
Chapter 5. Reports 5-179
5.14 Advantage <strong>CA</strong>-Earl History File Reports<br />
DEF SCHD_DATE (8) = ' ' 'SCHEDULED' 'DATE'<br />
DEF IN_STATUS (1) = ' '<br />
DEF OUT_STATUS (2) = ' ' 'JOB' 'STATUS'<br />
COPY <strong>CA</strong>IJDEFD<br />
COPY <strong>CA</strong>JESETH<br />
GET <strong>CA</strong>IJHST<br />
GOTO EOJ <strong>CA</strong>IJHST = 'E' OR <strong>CA</strong>IJHST = 'N'<br />
GOTO START JHRRECID NOT = 'H'<br />
SET <strong>CA</strong>I_DATE = JHRSDATE<br />
PERFORM <strong>CA</strong>I_DATE_CONVERSION<br />
SET SCHD_DATE = <strong>CA</strong>I_OUTDATE<br />
SET IN_STATUS = JHRSTATUS<br />
PERFORM DECODE_STATUS<br />
COPY <strong>CA</strong>IJSTMD<br />
COPY <strong>CA</strong>JECNVS<br />
REPORT 'SCHEDULED JOB STATUS (BY STATION)'<br />
CONTROL (JHRSTATID) SKIP JHRSCHNAME<br />
PRINT JHRSTATID JHRSCHNAME JHRJNAME JHRJNUMBER JHRRCODE<br />
SCHD_DATE JHRSCHTME JHRACSTME JHRACETME JHRAVTME<br />
JHRELAPTME JHRSTATUS OUT_STATUS<br />
5-180 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.15 Advantage <strong>CA</strong>-Earl Tracking File Reports<br />
5.15 Advantage <strong>CA</strong>-Earl Tracking File Reports<br />
5.15.1 Abended <strong>Job</strong> Profile<br />
When reports are generated using the tracking file <strong>for</strong> input, the data reflected<br />
will be from the current day's work (autoscan+23.59).<br />
The Abended <strong>Job</strong> Profile report lists abended job in<strong>for</strong>mation from the<br />
<strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> tracking file. In<strong>for</strong>mation is sorted by schedule.<br />
9/14/3 ABENDED JOB PROFILE PAGE 1<br />
AT 16.11.4<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
SCHEDULE JOB JNO ST. REASON POWER SCHEDULED ACTUAL ACTUAL ACTUAL ACTUAL CPU COMPLETION<br />
NAME NAME ID CODE JOBNO DATE SCHDTIME AVLTIME STRTTIME END-TIME TIME CODE<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
ABBRV ABBRV 1 4 88 179 9/14/3 16.5.58 16.5.58 16.6.34 16.6.4 X'2'<br />
ABBRV<br />
JCL that produces Advantage <strong>CA</strong>-Earl reports requires the inclusion of certain<br />
work files. Generic versions of these work files are contained in the<br />
installation tape file Z.<strong>CA</strong>WRKLAB. Tailor these files to your installation's<br />
needs and ensure that they are accessible be<strong>for</strong>e running the JCL that produces<br />
the reports. To produce this report, submit the following JCL with your job<br />
statement:<br />
// JOB <strong>CA</strong>JERT4<br />
: :<br />
: :<br />
work files<br />
: :<br />
: :<br />
// EXEC EARL,SIZE=3K<br />
The PRINT statement following produces a report with the fields below:<br />
Field on Report<br />
SCHEDULE NAME<br />
JOB NAME<br />
JNO<br />
ST ID<br />
REASON CODE<br />
POWER JOBNO<br />
SCHEDULED DATE<br />
ACTUAL SCHDTIME<br />
Meaning<br />
Schedules jobs were assigned to.<br />
<strong>Job</strong>s that abended.<br />
Number defined <strong>for</strong> job.<br />
Stations where jobs were processed.<br />
The reason the job was selected.<br />
<strong>Job</strong> number assigned by POWER.<br />
The date the job was supposed to be selected.<br />
The time the job was actually selected.<br />
Chapter 5. Reports 5-181
5.15 Advantage <strong>CA</strong>-Earl Tracking File Reports<br />
Field on Report<br />
ACTUAL AVLTIME<br />
ACTUAL STRTTIME<br />
ACTUAL END-TIME<br />
CPU TIME<br />
COMPLETION CODE<br />
Meaning<br />
The time the job was available <strong>for</strong> processing:<br />
start time was reached, predecessors were<br />
satisfied, and resources were available.<br />
The time the job actually started.<br />
The time the job actually ended.<br />
The CPU processing time.<br />
The job's completion code.<br />
The SYSIPT control statements <strong>for</strong> this report are contained in the <strong>CA</strong>JINT04.0<br />
source member (shown following). You may modify the OPTION statement<br />
values.<br />
OPTION SORT=SRAM<br />
OPTION PRINTER=132<br />
OPTION CPAGE=56<br />
<strong>CA</strong>IJTRK:FILE <strong>CA</strong>J<strong>CA</strong>CC2 RECORD = 248<br />
COPY <strong>CA</strong>JEJTR<br />
COPY <strong>CA</strong>JEPM<br />
COPY <strong>CA</strong>JERT4<br />
END<br />
The control statements that print this report are contained in the <strong>CA</strong>JERT04.0<br />
source member (shown following). You may modify these statements to<br />
produce your own reports. The fields you can print are all listed in the<br />
appendix "Advantage <strong>CA</strong>-Earl Reports" in the topic <strong>Job</strong> In<strong>for</strong>mation From<br />
Tracking File. (If you modify any of the source members provided, be sure to<br />
copy them with a different name so a reinstall of the product will not replace<br />
the modified members.)<br />
5-182 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.15 Advantage <strong>CA</strong>-Earl Tracking File Reports<br />
5.15.2 Canceled <strong>Job</strong>s<br />
! REDEFINE FOR PRMONODE (ORIGIN NODE-ID IN JTR KEY)<br />
!<br />
DEF PRMONODE = PRMWRK 1-8 X<br />
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br />
!<br />
DEF SCHD_DATE (8) = ' ' 'SCHEDULED' 'DATE'<br />
DEF GETUNIQ (8) = 'GETUNIQ '<br />
COPY <strong>CA</strong>IJDEFD<br />
!<br />
IF PRMNME = GETUNIQ THEN GOTO EOJ<br />
ENDIF<br />
!<br />
COPY <strong>CA</strong>JESETT<br />
!<br />
GET <strong>CA</strong>IJTRK<br />
GOTO EOJ <strong>CA</strong>IJTRK = 'E' OR <strong>CA</strong>IJTRK = 'N'<br />
GOTO START JTRRECID NOT = 'J'<br />
GOTO START JTRRSTAT NOT = M'111'<br />
!<br />
SET <strong>CA</strong>I_DATE = JTRSDATE<br />
PERFORM <strong>CA</strong>I_DATE_CONVERSION<br />
SET SCHD_DATE = <strong>CA</strong>I_OUTDATE<br />
COPY <strong>CA</strong>IJSTMD<br />
REPORT 'ABENDED JOB PROFILE'<br />
TITLE 'AT' 4 TIMEOFREPORT<br />
CONTROL (JTRSCHNAME) SKIP JTRJNAME<br />
PRINT JTRSCHNAME JTRJNAME JTRJNUMBER JTRSTATID JTRRC<br />
JTRPWSEQ SCHD_DATE JTRATIME JTRVTIME JTRSTIME<br />
JTRETIME JTRCPUT JTRCC<br />
The Canceled <strong>Job</strong>s report lists canceled job in<strong>for</strong>mation from the <strong>Unicenter</strong><br />
<strong>CA</strong>-<strong>Scheduler</strong> tracking file.<br />
9/14/3 <strong>CA</strong>NCELLED JOBS PAGE 1<br />
AT 11.5.52<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
SCHEDULE JOB JOB STATN REASON SCHEDULED ACTUAL HOLD<br />
NAME NAME NMBR ID CODE DATE SCHDTIME STATUS<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
DEMO <strong>CA</strong>JDEM3 1 39 84 11.1.29 <strong>CA</strong>NCELED BY DEBK<br />
DEMO <strong>CA</strong>JDEM5 1 4 84 11.1.29 <strong>CA</strong>NCELED BY DEBK<br />
DEMO<br />
JCL that produces Advantage <strong>CA</strong>-Earl reports requires the inclusion of certain<br />
work files. Generic versions of these work files are contained in the<br />
installation tape file Z.<strong>CA</strong>WRKLAB. Tailor these files to your installation's<br />
needs and ensure that they are accessible be<strong>for</strong>e running the JCL that produces<br />
the reports. To produce this report, submit the following JCL with your job<br />
statement:<br />
Chapter 5. Reports 5-183
5.15 Advantage <strong>CA</strong>-Earl Tracking File Reports<br />
// JOB <strong>CA</strong>JERT7<br />
: :<br />
: :<br />
work files<br />
: :<br />
: :<br />
// EXEC EARL,SIZE=3K<br />
The PRINT statement following produces a report with the fields below:<br />
Field on Report<br />
SCHEDULE NAME<br />
JOB NAME<br />
JOB NMBR<br />
STATN ID<br />
REASON CODE<br />
SCHEDULED DATE<br />
ACTUAL SCHDTIME<br />
HOLD STATUS<br />
Meaning<br />
Schedules jobs were assigned to.<br />
<strong>Job</strong>s that completed.<br />
Number defined <strong>for</strong> job.<br />
Stations where jobs were processed.<br />
The reason the job was selected.<br />
The date the job was supposed to be selected.<br />
The time the job was actually selected.<br />
Whether the job was in HELD status.<br />
The SYSIPT control statements <strong>for</strong> this report are contained in the <strong>CA</strong>JINT07.0<br />
source member (shown following). You may modify the OPTION statement<br />
values.<br />
OPTION SORT=SRAM<br />
OPTION PRINTER=132<br />
OPTION CPAGE=56<br />
<strong>CA</strong>IJTRK:FILE <strong>CA</strong>J<strong>CA</strong>CC2 RECORD = 248<br />
COPY <strong>CA</strong>JEJTR<br />
COPY <strong>CA</strong>JEPM<br />
COPY <strong>CA</strong>JERT7<br />
END<br />
The control statements that print this report are contained in the <strong>CA</strong>JERT07.0<br />
source member (shown following). You may modify these statements to<br />
produce your own reports. The fields you can print are listed in the appendix<br />
"Advantage <strong>CA</strong>-Earl Reports" in the topic <strong>Job</strong> In<strong>for</strong>mation From Tracking File.<br />
(If you modify any of the source members provided, be sure to copy them<br />
with a different name so a reinstall of the product will not replace the<br />
modified members.)<br />
5-184 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.15 Advantage <strong>CA</strong>-Earl Tracking File Reports<br />
! REDEFINE FOR PRMONODE (ORIGIN NODE-ID IN JTR KEY)<br />
DEF PRMONODE = PRMWRK 1-8 X<br />
!<br />
DEF SCHD_DATE (8) = ' ' 'SCHEDULED' 'DATE'<br />
!<br />
DEF IN_RSTAT (B 3.) = <br />
DEF IN_HSTAT (B 3.) = <br />
DEF IN_FLG1 (B 3.) = <br />
DEF IN_FLG4 (B 3.) = <br />
!<br />
DEF OUT_HSTAT (2) = ' ' 'HOLD' 'STATUS'<br />
DEF OUT_HSTAT_MSG = OUT_HSTAT 1-12 X<br />
DEF OUT_HSTAT_USERID = OUT_HSTAT 13-2 X<br />
!<br />
DEF OUT_RSTAT (2) = ' ' 'RUN' 'STATUS'<br />
DEF GETUNIQ (8) = 'GETUNIQ '<br />
!<br />
COPY <strong>CA</strong>IJDEFD<br />
!<br />
IF PRMNME = GETUNIQ THEN GOTO EOJ<br />
ENDIF<br />
!<br />
COPY <strong>CA</strong>JESETT<br />
GET <strong>CA</strong>IJTRK<br />
!<br />
GOTO EOJ <strong>CA</strong>IJTRK = 'E' OR <strong>CA</strong>IJTRK = 'N'<br />
GOTO START JTRRECID NOT = 'J'<br />
GOTO START JTRHSTAT NOT = M'11' M'11'<br />
!<br />
SET IN_HSTAT = JTRHSTAT<br />
SET IN_RSTAT = JTRRSTAT<br />
SET IN_FLG1 = JTRFLG1<br />
SET IN_FLG4 = JTRFLG4<br />
PERFORM DECODE_STATUS<br />
!<br />
! IF JOB HELD OR <strong>CA</strong>NCELED BY USER CHANGE OUTPUT STATUS MESSAGE<br />
SET COMPL_CODE = JTRCC<br />
IF IN_HSTAT = M'1' THEN SET OUT_HSTAT_USERID = JTRCMHLD<br />
ENDIF<br />
IF IN_HSTAT = M'11' THEN SET OUT_HSTAT_USERID = JTRCMCNC<br />
ENDIF<br />
!<br />
SET <strong>CA</strong>I_DATE = JTRSDATE<br />
PERFORM <strong>CA</strong>I_DATE_CONVERSION<br />
SET SCHD_DATE = <strong>CA</strong>I_OUTDATE<br />
COPY <strong>CA</strong>IJSTMD<br />
COPY <strong>CA</strong>JECNV<br />
REPORT '<strong>CA</strong>NCELLED JOBS'<br />
TITLE 'AT' 4 TIMEOFREPORT<br />
CONTROL (JTRSCHNAME) SKIP JTRJNAME<br />
PRINT JTRSCHNAME JTRJNAME JTRJNUMBER JTRSTATID JTRRC<br />
SCHD_DATE JTRATIME OUT_HSTAT<br />
Chapter 5. Reports 5-185
5.15 Advantage <strong>CA</strong>-Earl Tracking File Reports<br />
5.15.3 Completed <strong>Job</strong> Profile<br />
The Completed <strong>Job</strong> Profile report lists completed job in<strong>for</strong>mation from the<br />
<strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> tracking file.<br />
9/14/3 COMPLETED JOB PROFILE PAGE 1<br />
AT 14.1.5<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
SCHEDULE JOB JOB STATN REASON SCHEDULED ACTUAL ACTUAL ACTUAL ACTUAL CPU COMPLETION<br />
NAME NAME NMBR ID CODE DATE SCHDTIME AVLTIME STRTTIME END-TIME TIME CODE<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
DJKS1 DJKS1<strong>CA</strong> 1 4 3 9/14/3 8..36 9.54.7 9.55.6 9.55.15 x'1'<br />
DJKS1 DJKS1IBM 1 4 3 9/14/3 8..36 9.54.7 9.55.6 9.55.16 1 x'1'<br />
DJKS1 IEBCOMPR 1 4 1 9/14/3 8..36 9.55.5 9.55.26 9.55.29 x'1'<br />
DJKS1<br />
JCL that produces Advantage <strong>CA</strong>-Earl reports requires the inclusion of certain<br />
work files. Generic versions of these work files are contained in the<br />
installation tape file Z.<strong>CA</strong>WRKLAB. Tailor these files to your installation's<br />
needs and ensure that they are accessible be<strong>for</strong>e running the JCL that produces<br />
the reports. To produce this report, submit the following JCL with your job<br />
statement:<br />
// JOB <strong>CA</strong>JERT3<br />
: :<br />
: :<br />
work files<br />
: :<br />
: :<br />
// EXEC EARL,SIZE=3K<br />
The PRINT statement following produces a report with the fields below:<br />
Field on Report<br />
SCHEDULE NAME<br />
JOB NAME<br />
JOB NMBR<br />
STATN ID<br />
REASON CODE<br />
SCHEDULED DATE<br />
ACTUAL SCHDTIME<br />
ACTUAL AVLTIME<br />
ACTUAL STRTTIME<br />
ACTUAL END-TIME<br />
CPU TIME<br />
Meaning<br />
Schedules jobs were assigned to.<br />
<strong>Job</strong>s that completed.<br />
Number defined <strong>for</strong> job.<br />
Stations where jobs were processed.<br />
The reason the job was selected.<br />
The date the job was supposed to be selected.<br />
The time the job was actually selected.<br />
The time the job was available <strong>for</strong> processing:<br />
start time was reached, predecessors were<br />
satisfied, and resources were available.<br />
The time the job actually started.<br />
The time the job actually ended.<br />
The CPU processing time.<br />
5-186 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.15 Advantage <strong>CA</strong>-Earl Tracking File Reports<br />
Field on Report<br />
COMPLETION CODE<br />
Meaning<br />
The job's completion code.<br />
The SYSIPT control statements <strong>for</strong> this report are contained in the <strong>CA</strong>JINT03.0<br />
source member (shown following). You may modify the OPTION statement<br />
values.<br />
OPTION SORT=SRAM<br />
OPTION PRINTER=132<br />
OPTION CPAGE=56<br />
<strong>CA</strong>IJTRK:FILE <strong>CA</strong>J<strong>CA</strong>CC2 RECORD = 248<br />
COPY <strong>CA</strong>JEJTR<br />
COPY <strong>CA</strong>JEPM<br />
COPY <strong>CA</strong>JERT3<br />
END<br />
The control statements that print this report are contained in the <strong>CA</strong>JERT03.0<br />
source member (shown following). You may modify these statements to<br />
produce your own reports. The fields you can print are all listed in the<br />
appendix "Advantage <strong>CA</strong>-Earl Reports" in the topic <strong>Job</strong> In<strong>for</strong>mation From<br />
Tracking File. (If you modify any of the source members provided, be sure to<br />
copy them with a different name so a reinstall of the product will not replace<br />
the modified members.)<br />
! REDEFINE FOR PRMONODE (ORIGIN NODE-ID IN JTR KEY)<br />
!<br />
DEF PRMONODE = PRMWRK 1-8 X<br />
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br />
!<br />
DEF SCHD_DATE (8) = ' ' 'SCHEDULED' 'DATE'<br />
DEF GETUNIQ (8) = 'GETUNIQ '<br />
COPY <strong>CA</strong>IJDEFD<br />
!<br />
IF PRMNME = GETUNIQ THEN GOTO EOJ<br />
ENDIF<br />
!<br />
COPY <strong>CA</strong>JESETT<br />
GET <strong>CA</strong>IJTRK<br />
GOTO EOJ <strong>CA</strong>IJTRK = 'E' OR <strong>CA</strong>IJTRK = 'N'<br />
GOTO START JTRRECID NOT = 'J'<br />
GOTO START JTRRSTAT NOT = M'111' M'111'<br />
! M'111' = COMPLETED <br />
! M'111' = OS PURGED <br />
SET <strong>CA</strong>I_DATE = JTRSDATE<br />
PERFORM <strong>CA</strong>I_DATE_CONVERSION<br />
SET SCHD_DATE = <strong>CA</strong>I_OUTDATE<br />
COPY <strong>CA</strong>IJSTMD<br />
REPORT 'COMPLETED JOB PROFILE'<br />
TITLE 'AT' 4 TIMEOFREPORT<br />
CONTROL (JTRSCHNAME) SKIP JTRJNAME<br />
PRINT JTRSCHNAME JTRJNAME JTRJNUMBER JTRSTATID JTRRC<br />
SCHD_DATE JTRATIME JTRVTIME JTRSTIME JTRETIME<br />
JTRCPUT JTRCC<br />
Chapter 5. Reports 5-187
5.15 Advantage <strong>CA</strong>-Earl Tracking File Reports<br />
5.15.4 Pending <strong>Job</strong> Profile<br />
The Pending <strong>Job</strong> Profile report lists pending job in<strong>for</strong>mation from the<br />
<strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> tracking file. The in<strong>for</strong>mation is sorted by schedule.<br />
9/14/3 PENDING JOB PROFILE PAGE 1<br />
AT 14.1.22<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
SCHEDULE JOB JOB STATN REASON MUST MUST-STRT DEDLINE DEADLINE JOB JOB<br />
NAME NAME NMBR ID CODE ST-DATE TIME DATE TIME HOLD-STATUS RUN-STATUS<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
DEMO <strong>CA</strong>JDEM3 1 39 84 9/14/3 9/14/3 <strong>CA</strong>NCELED BY DEBK WAIT NON-CPU START<br />
DEMO <strong>CA</strong>JDEM3 1 4 1 9/14/3 9/14/3 AUTO RECOVERY HELD WAITING PREDS<br />
DEMO <strong>CA</strong>JDEM5 1 4 84 9/14/3 9/14/3 <strong>CA</strong>NCELED BY DEBK WAITING USER SUBMIT<br />
DEMO<br />
JCL that produces Advantage <strong>CA</strong>-Earl reports requires the inclusion of certain<br />
work files. Generic versions of these work files are contained in the<br />
installation tape file Z.<strong>CA</strong>WRKLAB. Tailor these files to your installation's<br />
needs and ensure that they are accessible be<strong>for</strong>e running the JCL that produces<br />
the reports. To produce this report, submit the following JCL with your job<br />
statement:<br />
// JOB <strong>CA</strong>JERT6<br />
: :<br />
: :<br />
work files<br />
: :<br />
: :<br />
// EXEC EARL,SIZE=3K<br />
The PRINT statement following produces a report with the fields below:<br />
Field on Report<br />
SCHEDULE NAME<br />
JOB NAME<br />
JOB NMBR<br />
STATN ID<br />
REASON CODE<br />
MUST ST-DATE<br />
MUST-STRT TIME<br />
DEDLINE DATE<br />
DEADLINE TIME<br />
Meaning<br />
Schedules jobs were assigned to.<br />
<strong>Job</strong>s that have not yet completed and were not<br />
canceled.<br />
Number defined <strong>for</strong> job.<br />
Stations where jobs were processed.<br />
The reason the job was selected.<br />
MUST START BY date if one was defined.<br />
(This is the dd value defined <strong>for</strong> MUST START<br />
BY TIME.)<br />
MUST START BY TIME, if defined.<br />
COMPLETION DEADLINE date, if defined.<br />
(This is the dd value defined <strong>for</strong><br />
COMPLETION DEADLINE TIME.)<br />
COMPLETION DEADLINE TIME, if defined.<br />
5-188 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.15 Advantage <strong>CA</strong>-Earl Tracking File Reports<br />
Field on Report<br />
HOLD-STATUS<br />
RUN-STATUS<br />
Meaning<br />
Whether the job was on hold.<br />
The current status of the job.<br />
The SYSIPT control statements <strong>for</strong> this report are contained in the <strong>CA</strong>JINT06.0<br />
source member (shown following). You may modify the OPTION statement<br />
values.<br />
OPTION SORT=SRAM<br />
OPTION PRINTER=132<br />
OPTION CPAGE=56<br />
<strong>CA</strong>IJTRK:FILE <strong>CA</strong>J<strong>CA</strong>CC2 RECORD = 248<br />
COPY <strong>CA</strong>JEJTR<br />
COPY <strong>CA</strong>JEPM<br />
COPY <strong>CA</strong>JERT6<br />
END<br />
The control statements that print this report are contained in the <strong>CA</strong>JERT06.0<br />
source member (shown following). You may modify these statements to<br />
produce your own reports. The fields you can print are all listed in the<br />
appendix "Advantage <strong>CA</strong>-Earl Reports" in the topic <strong>Job</strong> In<strong>for</strong>mation From<br />
Tracking File. (If you modify any of the source members provided, be sure to<br />
copy them with a different name so a reinstall of the product will not replace<br />
the modified members.)<br />
Chapter 5. Reports 5-189
5.15 Advantage <strong>CA</strong>-Earl Tracking File Reports<br />
! REDEFINE FOR PRMONODE (ORIGIN NODE-ID IN JTR KEY)<br />
!<br />
DEF PRMONODE = PRMWRK 1-8 X<br />
DEF SCHD_DATE (8) = ' ' 'SCHEDULED' 'DATE'<br />
!<br />
DEF IN_HSTAT (B 3.) = <br />
DEF IN_RSTAT (B 3.) = <br />
DEF IN_FLG1 (B 3.) = <br />
DEF IN_FLG4 (B 3.) = <br />
!<br />
DEF OUT_HSTAT (2) = ' ' 'JOB' 'HOLD-STATUS'<br />
DEF OUT_HSTAT_MSG = OUT_HSTAT 1-12 X<br />
DEF OUT_HSTAT_USERID = OUT_HSTAT 13-2 X<br />
!<br />
DEF OUT_RSTAT (2) = ' ' 'JOB' 'RUN-STATUS'<br />
DEF MUST_DATE (8) = ' ' 'MUST ' 'ST-DATE'<br />
DEF DEAD_DATE (8) = ' ' 'DEDLINE' 'DATE'<br />
DEF COMPL_CODE (5) = ' ' 'COMPLETION' 'CODE'<br />
DEF COMPL_CODE_SW (B 3.) = <br />
DEF REJECT_SW (B 3.) = <br />
DEF GETUNIQ (8) = 'GETUNIQ '<br />
COPY <strong>CA</strong>IJDEFD<br />
IF PRMNME = GETUNIQ THEN GOTO EOJ<br />
ENDIF<br />
COPY <strong>CA</strong>JESETT<br />
GET <strong>CA</strong>IJTRK<br />
!<br />
SET REJECT_SW = <br />
!<br />
GOTO EOJ <strong>CA</strong>IJTRK = 'E' OR <strong>CA</strong>IJTRK = 'N'<br />
GOTO START JTRRECID NOT = 'J'<br />
GOTO START JTRRSTAT NOT = M'1' M'1'<br />
M'11' M'11'<br />
M'111'<br />
!<br />
IF (JTRRSTAT = M'11' AND JTRFLG1 NOT = M'XX1XXXXX') THEN<br />
SET REJECT_SW = 1<br />
ENDIF<br />
IF (JTRRSTAT = M'111' AND JTRFLG4 NOT = M'X1XXXXXX') THEN<br />
SET REJECT_SW = 1<br />
ENDIF<br />
!<br />
GOTO START REJECT_SW = 1<br />
!<br />
SET <strong>CA</strong>I_DATE = JTRMUDT<br />
PERFORM <strong>CA</strong>I_DATE_CONVERSION<br />
SET MUST_DATE = <strong>CA</strong>I_OUTDATE<br />
!<br />
SET <strong>CA</strong>I_DATE = JTRDEDT<br />
PERFORM <strong>CA</strong>I_DATE_CONVERSION<br />
SET DEAD_DATE = <strong>CA</strong>I_OUTDATE<br />
5-190 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.15 Advantage <strong>CA</strong>-Earl Tracking File Reports<br />
!<br />
SET IN_HSTAT = JTRHSTAT<br />
SET IN_RSTAT = JTRRSTAT<br />
SET IN_FLG1 = JTRFLG1<br />
SET IN_FLG4 = JTRFLG4<br />
!<br />
PERFORM DECODE_STATUS<br />
!<br />
! IF JOB HELD OR <strong>CA</strong>NCELED BY USER CHANGE OUTPUT STATUS MESSAGE<br />
!<br />
IF IN_HSTAT = M'1' THEN SET OUT_HSTAT_USERID = JTRCMHLD<br />
ENDIF<br />
IF IN_HSTAT = M'11' THEN SET OUT_HSTAT_USERID = JTRCMCNC<br />
ENDIF<br />
!<br />
COPY <strong>CA</strong>JECNV<br />
COPY <strong>CA</strong>IJSTMD<br />
REPORT 'PENDING JOB PROFILE'<br />
TITLE 'AT' 4 TIMEOFREPORT<br />
CONTROL (JTRSCHNAME) SKIP JTRJNAME<br />
PRINT JTRSCHNAME JTRJNAME JTRJNUMBER JTRSTATID JTRRC<br />
MUST_DATE JTRMUST DEAD_DATE JTRDEDLN<br />
OUT_HSTAT OUT_RSTAT<br />
5.15.5 Pending Schedules Report<br />
The Pending Schedules report lists pending schedule in<strong>for</strong>mation from the<br />
<strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> tracking file.<br />
9/14/3 PENDING SCHEDULES REPORT PAGE 1<br />
------------------------------------------------------------------------------------------------------------------------------<br />
SCHEDULE SCHEDULING MUST MUST-STRT DEDLINE DEADLINE HOLD RUN<br />
NAME REASON-CODE ST-DATE TIME DATE TIME STATUS STATUS<br />
------------------------------------------------------------------------------------------------------------------------------<br />
ARUN 1 9/14/3 9/14/3 ACTIVE WAITING PREDS<br />
PRIORA 84 9/14/3 9/14/3 ACTIVE WAITING PREDS<br />
PRIORB 84 9/14/3 9/14/3 ACTIVE WAITING PREDS<br />
PRIORC 84 9/14/3 9/14/3 ACTIVE WAITING PREDS<br />
PRIORD 84 9/14/3 9/14/3 ACTIVE WAITING PREDS<br />
6DAYWK 84 9/14/3 9/14/3 ACTIVE WAITING START TIME<br />
7DAYWK 84 9/14/3 9/14/3 ACTIVE WAITING START TIME<br />
END OF REPORT<br />
JCL that produces Advantage <strong>CA</strong>-Earl reports requires the inclusion of certain<br />
work files. Generic versions of these work files are contained in the<br />
installation tape file Z.<strong>CA</strong>WRKLAB. Tailor these files to your installation's<br />
needs and ensure that they are accessible be<strong>for</strong>e running the JCL that produces<br />
the reports. To produce this report, submit the following JCL with your job<br />
statement:<br />
// JOB <strong>CA</strong>JERS6<br />
: :<br />
: :<br />
work files<br />
: :<br />
: :<br />
// EXEC EARL,SIZE=3K<br />
Chapter 5. Reports 5-191
5.15 Advantage <strong>CA</strong>-Earl Tracking File Reports<br />
The PRINT statement following produces a report with the fields below:<br />
Field on Report<br />
SCHEDULE NAME<br />
SCHEDULING<br />
REASON-CODE<br />
MUST ST-DATE<br />
MUST-STRT TIME<br />
DEDLINE DATE<br />
DEADLINE TIME<br />
HOLD STATUS<br />
RUN STATUS<br />
Meaning<br />
Schedules that have not yet completed and<br />
were not canceled.<br />
The reason the schedule was selected.<br />
MUST START BY date if one was defined.<br />
(This is the dd value defined <strong>for</strong> MUST START<br />
BY TIME.)<br />
MUST START BY TIME if one was defined.<br />
COMPLETION DEADLINE date, if defined.<br />
(This is the dd value defined <strong>for</strong><br />
COMPLETION DEADLINE TIME.)<br />
COMPLETION DEADLINE TIME, if defined.<br />
Whether this schedule was on hold<br />
The current status of this schedule.<br />
The SYSIPT control statements <strong>for</strong> this report are contained in the <strong>CA</strong>JINS06.0<br />
source member (shown following). You may modify the OPTION statement<br />
values.<br />
OPTION SORT=SRAM<br />
OPTION PRINTER=132<br />
OPTION CPAGE=56<br />
<strong>CA</strong>IJTRK:FILE <strong>CA</strong>J<strong>CA</strong>CC2 RECORD = 248<br />
COPY <strong>CA</strong>JESTR<br />
COPY <strong>CA</strong>JEPM<br />
COPY <strong>CA</strong>JERS6<br />
END<br />
The control statements that print this report are contained in the <strong>CA</strong>JERS06.0<br />
source member (shown following). You may modify these statements to<br />
produce your own reports. The fields you can print are all listed in the<br />
appendix "Advantage <strong>CA</strong>-Earl Reports" in the topic Schedule In<strong>for</strong>mation<br />
From Tracking File. (If you modify any of the source members provided, be<br />
sure to copy them with a different name so a reinstall of the product will not<br />
replace the modified members.)<br />
5-192 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.15 Advantage <strong>CA</strong>-Earl Tracking File Reports<br />
! REDEFINE FOR PRMONODE (STRONODE IN RECORD KEY)<br />
!<br />
DEF PRMONODE = PRMWRK 1-8 X<br />
DEF SCHD_DATE (8) = ' ' 'SCHEDULED' 'DATE'<br />
DEF IN_HSTAT (B 3.) = <br />
DEF IN_RSTAT (B 3.) = <br />
DEF IN_FLG1 (B 3.) = <br />
DEF IN_FLG4 (B 3.) = <br />
DEF OUT_HSTAT (2) = ' ' 'JOB' 'HOLD-STATUS'<br />
DEF OUT_RSTAT (2) = ' ' 'JOB' 'RUN-STATUS'<br />
DEF MUST_DATE (8) = ' ' 'MUST ' 'ST-DATE'<br />
DEF DEAD_DATE (8) = ' ' 'DEDLINE' 'DATE'<br />
DEF COMPL_CODE (5) = ' ' 'COMPLETION' 'CODE'<br />
DEF COMPL_CODE_SW (B 3.) = <br />
DEF GETUNIQ (8) = 'GETUNIQ '<br />
COPY <strong>CA</strong>IJDEFD<br />
IF PRMSCH = GETUNIQ THEN GOTO EOJ<br />
ENDIF<br />
COPY <strong>CA</strong>JESETS<br />
GET <strong>CA</strong>IJTRK<br />
!<br />
GOTO EOJ <strong>CA</strong>IJTRK = 'E' OR <strong>CA</strong>IJTRK = 'N'<br />
GOTO START STRRECID NOT = 'S'<br />
SET IN_HSTAT = STRHSTAT<br />
SET IN_RSTAT = STRRSTAT<br />
PERFORM DECODE_STATUS<br />
!<br />
IF (OUT_RSTAT = 'WAITING START TIME ' OR<br />
OUT_RSTAT = 'WAITING PREDS ' OR<br />
OUT_RSTAT = 'WAITING RESOURCES ' OR<br />
OUT_RSTAT = 'WAITING PRE-CPU END ' OR<br />
OUT_RSTAT = 'WAITING CPU JOB END ')<br />
THEN GOTO ACCEPT<br />
ELSE GOTO START<br />
ENDIF<br />
!<br />
ACCEPT:<br />
SET <strong>CA</strong>I_DATE = STRMUDT<br />
PERFORM <strong>CA</strong>I_DATE_CONVERSION<br />
SET MUST_DATE = <strong>CA</strong>I_OUTDATE<br />
SET <strong>CA</strong>I_DATE = STRDEDT<br />
PERFORM <strong>CA</strong>I_DATE_CONVERSION<br />
SET DEAD_DATE = <strong>CA</strong>I_OUTDATE<br />
COPY <strong>CA</strong>JECNV<br />
COPY <strong>CA</strong>IJSTMD<br />
REPORT 'PENDING SCHEDULES REPORT'<br />
PRINT DOUBLE SPACING STRNAME STRRC<br />
MUST_DATE STRMUST DEAD_DATE STRDEDLN<br />
OUT_HSTAT OUT_RSTAT<br />
Chapter 5. Reports 5-193
5.15 Advantage <strong>CA</strong>-Earl Tracking File Reports<br />
5.15.6 Schedule Status<br />
The Schedule Status report lists schedule status in<strong>for</strong>mation from the <strong>Unicenter</strong><br />
<strong>CA</strong>-<strong>Scheduler</strong> tracking file.<br />
5-194 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.15 Advantage <strong>CA</strong>-Earl Tracking File Reports<br />
on.<br />
9/24/3 SCHEDULE STATUS PAGE 2<br />
AT 11.1.59<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
SCHEDULE SCHEDULING SCHEDULED ACTUAL ACTUAL ACTUAL HOLD RUN COMPLETION<br />
NAME REASON-CODE DATE STRTTIME END-TIME AVLTIME STATUS STATUS CODE<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
DEPENDBK 84 9/16/3 16.2.25 16.2.25 ACTIVE STARTED<br />
DEPENDJB 84 9/16/3 16.2.25 16.2.25 ACTIVE STARTED<br />
DJKBR14R 1 NOT REQUESTED SCHEDULED TO RUN<br />
DJKNRQ 1 NOT REQUESTED SCHEDULED TO RUN<br />
DJKS1 3 9/18/3 9.54.7 9.54.7 ACTIVE STARTED<br />
NONMVS 84 9/16/3 16.2.25 16.2.25 ACTIVE STARTED<br />
PRIORA 84 ACTIVE WAITING PREDS<br />
PRIORB 84 ACTIVE WAITING PREDS<br />
PRIORC 84 ACTIVE WAITING PREDS<br />
PRIORD 84 ACTIVE WAITING PREDS<br />
P24 84 9/2/3 12.35. 12.35. ACTIVE STARTED<br />
P247 84 9/17/3 7.3. 7.3. ACTIVE STARTED<br />
P6611379 88 9/18/3 12.59.54 12.59.54 ACTIVE STARTED<br />
P6611383 84 9/19/3 9.54.34 9.54.34 ACTIVE STARTED<br />
P72379 84 9/19/3 8.51.55 8.51.55 ACTIVE STARTED<br />
ST 84 9/16/3 16.2.25 16.2.25 ACTIVE STARTED<br />
TAMIR 88 9/23/3 6.46.3 6.46.3 ACTIVE STARTED<br />
TSTA 1 NOT REQUESTED SCHEDULED TO RUN<br />
6DAYWK 84 ACTIVE WAITING START TIME<br />
7DAYWK 84 ACTIVE WAITING START TIME<br />
END OF REPORT<br />
off.<br />
JCL that produces Advantage <strong>CA</strong>-Earl reports requires the inclusion<br />
of certain work files.<br />
Generic versions of these work files are contained in the installation<br />
tape file Z.<strong>CA</strong>WRKLAB. Tailor these files to your installation's needs<br />
and ensure that they are accessible be<strong>for</strong>e running the JCL that<br />
produces the reports.<br />
To produce this report, submit the following JCL with your job statement:<br />
// JOB <strong>CA</strong>JERS1<br />
: :<br />
: :<br />
work files<br />
: :<br />
: :<br />
// EXEC EARL,SIZE=3K<br />
The PRINT statement following<br />
produces a report with the fields below:<br />
Field on Report<br />
SCHEDULE NAME<br />
SCHEDULING REASON CODE<br />
SCHEDULED DATE<br />
ACTUAL STRTTIME<br />
ACTUAL END-TIME<br />
ACTUAL AVLTIME<br />
HOLD STATUS<br />
RUN STATUS<br />
COMPLETION CODE<br />
Meaning<br />
Schedules selected <strong>for</strong> this report.<br />
The reason the schedule was selected.<br />
The date the schedule was supposed to be selected.<br />
The time the schedule actually started.<br />
The time the schedule actually ended.<br />
The time the schedule was available <strong>for</strong> processing: start time was reached, predecessors were<br />
satisfied, and resources were available.<br />
Whether the schedule was on hold.<br />
The current status of the schedule.<br />
The completion code (jobs only).<br />
The SYSIPT control statements <strong>for</strong> this report are contained in the<br />
<strong>CA</strong>JINS01.0 source member (shown following).<br />
You may modify the OPTION statement values.<br />
OPTION SORT=SRAM<br />
OPTION PRINTER=132<br />
OPTION CPAGE=56<br />
<strong>CA</strong>IJTRK:FILE <strong>CA</strong>J<strong>CA</strong>CC2 RECORD = 248<br />
COPY <strong>CA</strong>JESTR<br />
COPY <strong>CA</strong>JEPM<br />
COPY <strong>CA</strong>JERS1<br />
END<br />
The control statements that print this report are contained in the<br />
Chapter 5. Reports 5-195
5.15 Advantage <strong>CA</strong>-Earl Tracking File Reports<br />
<strong>CA</strong>JERS01.0 source member (shown following).<br />
You may modify these statements to produce your own reports. The fields you can print are all listed in the appendix "Advantage <strong>CA</strong>-Earl<br />
Reports" in the topic Schedule In<strong>for</strong>mation From Tracking File. (If you modify any of the source members provided, be sure to copy them with a<br />
different name so a reinstall of the product will not replace the modified members.)<br />
! REDEFINE FOR PRMONODE (STRONODE IN RECORD KEY)<br />
!<br />
DEF PRMONODE = PRMWRK 1-8 X<br />
DEF SCHD_DATE (8) = ' ' 'SCHEDULED' 'DATE'<br />
!<br />
DEF IN_HSTAT (B 3.) = <br />
DEF IN_RSTAT (B 3.) = <br />
DEF IN_FLG1 (B 3.) = <br />
DEF IN_FLG4 (B 3.) = <br />
!<br />
DEF OUT_HSTAT (2) = ' ' 'HOLD' 'STATUS'<br />
DEF OUT_HSTAT_MSG = OUT_HSTAT 1-12 X<br />
DEF OUT_HSTAT_USERID = OUT_HSTAT 13-2 X<br />
!<br />
DEF OUT_RSTAT (2) = ' ' 'RUN' 'STATUS'<br />
!<br />
DEF COMPL_CODE (5) = ' ' 'COMPLETION' 'CODE'<br />
DEF COMPL_CODE_SW (B 3.) = <br />
DEF GETUNIQ (8) = 'GETUNIQ '<br />
COPY <strong>CA</strong>IJDEFD<br />
IF PRMSCH = GETUNIQ THEN GOTO EOJ<br />
ENDIF<br />
COPY <strong>CA</strong>JESETS<br />
GET <strong>CA</strong>IJTRK<br />
!<br />
GOTO EOJ <strong>CA</strong>IJTRK = 'E' OR <strong>CA</strong>IJTRK = 'N'<br />
GOTO START STRRECID NOT = 'S'<br />
!<br />
SET <strong>CA</strong>I_DATE = STRSDATE<br />
PERFORM <strong>CA</strong>I_DATE_CONVERSION<br />
SET SCHD_DATE = <strong>CA</strong>I_OUTDATE<br />
SET IN_HSTAT = STRHSTAT<br />
SET IN_RSTAT = STRRSTAT<br />
SET IN_FLG1 = STRFLG1<br />
SET IN_FLG4 = STRFLG4<br />
!<br />
PERFORM DECODE_STATUS<br />
!<br />
! IF JOB HELD OR <strong>CA</strong>NCELED BY USER CHANGE OUTPUT STATUS MESSAGE<br />
!<br />
IF IN_HSTAT = M'1' THEN SET OUT_HSTAT_USERID = STRCMHLD<br />
ENDIF<br />
IF IN_HSTAT = M'11' THEN SET OUT_HSTAT_USERID = STRCMCNC<br />
ENDIF<br />
!<br />
COPY <strong>CA</strong>IJSTMD<br />
COPY <strong>CA</strong>JECNV<br />
!<br />
SET COMPL_CODE = STRCC<br />
5-196 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.15 Advantage <strong>CA</strong>-Earl Tracking File Reports<br />
!<br />
REPORT 'SCHEDULE STATUS'<br />
TITLE 'AT' 4 TIMEOFREPORT<br />
PRINT DOUBLE SPACING STRNAME STRRC SCHD_DATE<br />
STRSTIME STRETIME STRVTIME<br />
OUT_HSTAT OUT_RSTAT COMPL_CODE<br />
5.15.7 Scheduled <strong>Job</strong> Status (by Schedule)<br />
The Scheduled <strong>Job</strong> Status (by Schedule) report lists job status in<strong>for</strong>mation from<br />
the <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> tracking file, sorted by schedule.<br />
9/24/3 SCHEDULED JOB STATUS (BY SCHEDULE) PAGE 1<br />
AT 11.11.49<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
SCHEDULE JOB JOB STATN REASON SCHEDULED ACTUAL ACTUAL ACTUAL JOB JOB COMPLETION<br />
NAME NAME NMBR ID CODE DATE STRTTIME END-TIME AVLTIME HOLD-STATUS RUN-STATUS CODE<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
DEPENDBK D1 1 39 84 9/16/3 16.2.25 16.2.25 ACTIVE AUTO STARTED<br />
DEPENDBK D1 1 4 84 ACTIVE WAITING PREDS<br />
DEPENDBK D2 1 39 84 9/16/3 16.2.25 16.2.25 ACTIVE AUTO STARTED<br />
DEPENDBK D2 1 4 84 ACTIVE WAITING PREDS<br />
DEPENDBK D3 1 39 84 9/16/3 16.2.25 16.2.25 ACTIVE AUTO STARTED<br />
DEPENDBK D3 1 4 84 ACTIVE WAITING PREDS<br />
DEPENDBK D4 1 4 84 6.11.38 ACTIVE UNKNOWN<br />
DEPENDBK D5 1 4 84 16.2.25 ACTIVE ABENDED x'FF'<br />
DEPENDBK<br />
JCL that produces Advantage <strong>CA</strong>-Earl reports requires the inclusion of certain<br />
work files. Generic versions of these work files are contained in the<br />
installation tape file Z.<strong>CA</strong>WRKLAB. Tailor these files to your installation's<br />
needs and ensure that they are accessible be<strong>for</strong>e running the JCL that produces<br />
the reports. To produce this report, submit the following JCL with your job<br />
statement:<br />
// JOB <strong>CA</strong>JERT1<br />
: :<br />
: :<br />
work files<br />
: :<br />
: :<br />
// EXEC EARL,SIZE=3K<br />
The PRINT statement following produces a report with the fields below:<br />
Field on Report<br />
SCHEDULE NAME<br />
JOB NAME<br />
JOB NMBR<br />
STATN ID<br />
REASON CODE<br />
Meaning<br />
Schedules jobs were assigned to.<br />
<strong>Job</strong>s selected <strong>for</strong> this report.<br />
Number defined <strong>for</strong> job.<br />
Stations where jobs were processed.<br />
Reason job was selected.<br />
Chapter 5. Reports 5-197
5.15 Advantage <strong>CA</strong>-Earl Tracking File Reports<br />
Field on Report<br />
SCHEDULED DATE<br />
ACTUAL STRTTIME<br />
ACTUAL END-TIME<br />
ACTUAL AVLTIME<br />
JOB HOLD-STATUS<br />
JOB RUN-STATUS<br />
COMPLETION CODE<br />
Meaning<br />
The date the schedule was supposed to be<br />
selected.<br />
The time the job actually started.<br />
The time the job actually ended.<br />
The time the job was available <strong>for</strong> processing:<br />
start time was reached, predecessors were<br />
satisfied, and resources were available.<br />
Whether the job was on hold.<br />
The current status of the job.<br />
The job's completion code.<br />
The SYSIPT control statements <strong>for</strong> this report are contained in the <strong>CA</strong>JINT01.0<br />
source member (shown following). You may modify the OPTION statement<br />
values.<br />
OPTION SORT=SRAM<br />
OPTION PRINTER=132<br />
OPTION CPAGE=56<br />
<strong>CA</strong>IJTRK:FILE <strong>CA</strong>J<strong>CA</strong>CC2 RECORD = 248<br />
COPY <strong>CA</strong>JEJTR<br />
COPY <strong>CA</strong>JEPM<br />
COPY <strong>CA</strong>JERT1<br />
END<br />
The control statements that print this report are contained in the <strong>CA</strong>JERT01.0<br />
source member (shown following). You may modify these statements to<br />
produce your own reports. The fields you can print are all listed in the<br />
appendix "Advantage <strong>CA</strong>-Earl Reports" in the topic <strong>Job</strong> In<strong>for</strong>mation From<br />
Tracking File. (If you modify any of the source members provided, be sure to<br />
copy them with a different name so a reinstall of the product will not replace<br />
the modified members.)<br />
5-198 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.15 Advantage <strong>CA</strong>-Earl Tracking File Reports<br />
! REDEFINE FOR PRMONODE (ORIGIN NODE-ID IN JTR KEY)<br />
!<br />
DEF PRMONODE = PRMWRK 1-8 X<br />
DEF SCHD_DATE (8) = ' ' 'SCHEDULED' 'DATE'<br />
!<br />
DEF IN_HSTAT (B 3.) = <br />
DEF IN_RSTAT (B 3.) = <br />
DEF IN_FLG1 (B 3.) = <br />
DEF IN_FLG4 (B 3.) = <br />
!<br />
DEF OUT_HSTAT (2) = ' ' 'JOB' 'HOLD-STATUS'<br />
DEF OUT_HSTAT_MSG = OUT_HSTAT 1-12 X<br />
DEF OUT_HSTAT_USERID = OUT_HSTAT 13-2 X<br />
!<br />
DEF OUT_RSTAT (2) = ' ' 'JOB' 'RUN-STATUS'<br />
DEF COMPL_CODE (5) = ' ' 'COMPLETION' 'CODE'<br />
DEF COMPL_CODE_SW (B 3.) = <br />
DEF GETUNIQ (8) = 'GETUNIQ '<br />
!<br />
COPY <strong>CA</strong>IJDEFD<br />
IF PRMNME = GETUNIQ THEN GOTO EOJ<br />
ENDIF<br />
COPY <strong>CA</strong>JESETT<br />
GET <strong>CA</strong>IJTRK<br />
GOTO EOJ <strong>CA</strong>IJTRK = 'E' OR <strong>CA</strong>IJTRK = 'N'<br />
GOTO START JTRRECID NOT = 'J'<br />
!<br />
SET <strong>CA</strong>I_DATE = JTRSDATE<br />
PERFORM <strong>CA</strong>I_DATE_CONVERSION<br />
!<br />
SET SCHD_DATE = <strong>CA</strong>I_OUTDATE<br />
SET IN_HSTAT = JTRHSTAT<br />
SET IN_RSTAT = JTRRSTAT<br />
SET IN_FLG1 = JTRFLG1<br />
SET IN_FLG4 = JTRFLG4<br />
!<br />
PERFORM DECODE_STATUS<br />
!<br />
! IF JOB HELD OR <strong>CA</strong>NCELED BY USER CHANGE OUTPUT STATUS MESSAGE<br />
!<br />
SET COMPL_CODE = JTRCC<br />
IF IN_HSTAT = M'1' THEN SET OUT_HSTAT_USERID = JTRCMHLD<br />
ENDIF<br />
IF IN_HSTAT = M'11' THEN SET OUT_HSTAT_USERID = JTRCMCNC<br />
ENDIF<br />
!<br />
COPY <strong>CA</strong>IJSTMD<br />
COPY <strong>CA</strong>JECNV<br />
Chapter 5. Reports 5-199
5.15 Advantage <strong>CA</strong>-Earl Tracking File Reports<br />
!<br />
!<br />
REPORT 'SCHEDULED JOB STATUS (BY SCHEDULE)'<br />
TITLE 'AT' 4 TIMEOFREPORT<br />
CONTROL (JTRSCHNAME) SKIP JTRJNAME<br />
PRINT JTRSCHNAME JTRJNAME JTRJNUMBER JTRSTATID JTRRC<br />
SCHD_DATE JTRSTIME JTRETIME JTRVTIME<br />
OUT_HSTAT OUT_RSTAT COMPL_CODE<br />
5.15.8 Scheduled <strong>Job</strong> Status (by Station)<br />
The Scheduled <strong>Job</strong> Status (by Station) report lists job status in<strong>for</strong>mation from<br />
the <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> tracking file, sorted by station.<br />
9/24/3 SCHEDULED JOB STATUS (BY STATION) PAGE 1<br />
AT 11.11.52<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
STATN SCHEDULE JOB JOB REASON SCHEDULED ACTUAL ACTUAL ACTUAL JOB JOB COMPLETION<br />
ID NAME NAME NMBR CODE DATE STRTTIME END-TIME AVLTIME HOLD-STATUS RUN-STATUS CODE<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
39 AADD AADD 1 84 9/24/3 1.5.1 1.5.1 ACTIVE AUTO STARTED<br />
39 ABC DJKBR14 1 84 9/16/3 16.2.25 16.2.25 ACTIVE AUTO STARTED<br />
39 BACKUP71 BKMSTDOC 1 1 9/18/3 9.13.42 1.52.46 9.13.42 ACTIVE COMPLETED<br />
39 BACKUP71 IEHINIT 1 1 9/18/3 9.13.42 1.52.51 9.13.42 ACTIVE COMPLETED<br />
39 DEMO <strong>CA</strong>JDEM3 1 84 11.1.29 <strong>CA</strong>NCELED BY DEBK WAIT NON-CPU START<br />
39 DEPENDBK D3 1 84 9/16/3 16.2.25 16.2.25 ACTIVE AUTO STARTED<br />
39 DEPENDBK D1 1 84 9/16/3 16.2.25 16.2.25 ACTIVE AUTO STARTED<br />
39 DEPENDBK D2 1 84 9/16/3 16.2.25 16.2.25 ACTIVE AUTO STARTED<br />
39 ST DJKBR14 1 84 9/16/3 16.2.25 16.2.25 ACTIVE AUTO STARTED<br />
39<br />
JCL that produces Advantage <strong>CA</strong>-Earl reports requires the inclusion of certain<br />
work files. Generic versions of these work files are contained in the<br />
installation tape file Z.<strong>CA</strong>WRKLAB. Tailor these files to your installation's<br />
needs and ensure that they are accessible be<strong>for</strong>e running the JCL that produces<br />
the reports. To produce this report, submit the following JCL with your job<br />
statement:<br />
// JOB <strong>CA</strong>JERT2<br />
: :<br />
: :<br />
work files<br />
: :<br />
: :<br />
// EXEC EARL,SIZE=3K<br />
The PRINT statement following produces a report with the fields below:<br />
Field on Report<br />
STATN ID<br />
SCHEDULE NAME<br />
JOB NAME<br />
JOB NMBR<br />
REASON CODE<br />
Meaning<br />
Stations where jobs were processed.<br />
Schedules jobs were assigned to.<br />
<strong>Job</strong>s selected <strong>for</strong> this report.<br />
Number defined <strong>for</strong> job.<br />
Reason the job was selected.<br />
5-200 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.15 Advantage <strong>CA</strong>-Earl Tracking File Reports<br />
Field on Report<br />
SCHEDULED DATE<br />
ACTUAL STRTTIME<br />
ACTUAL END-TIME<br />
ACTUAL AVLTIME<br />
JOB HOLD-STATUS<br />
JOB RUN-STATUS<br />
COMPLETION CODE<br />
Meaning<br />
The date the schedule was supposed to be<br />
selected.<br />
The time the job actually started.<br />
The time the job actually ended.<br />
The time the job was available <strong>for</strong> processing:<br />
start time was reached, predecessors were<br />
satisfied, and resources were available.<br />
Whether the job was on hold.<br />
The current status of the job.<br />
The job's completion code.<br />
The SYSIPT control statements <strong>for</strong> this report are contained in the <strong>CA</strong>JINT02.0<br />
source member (shown following). You may modify the OPTION statement<br />
values.<br />
OPTION SORT=SRAM<br />
OPTION PRINTER=132<br />
OPTION CPAGE=56<br />
<strong>CA</strong>IJTRK:FILE <strong>CA</strong>J<strong>CA</strong>CC2 RECORD = 248<br />
COPY <strong>CA</strong>JEJTR<br />
COPY <strong>CA</strong>JEPM<br />
COPY <strong>CA</strong>JERT2<br />
END<br />
The control statements that print this report are contained in the <strong>CA</strong>JERT02.0<br />
source member (shown following). You may modify these statements to<br />
produce your own reports. The fields you can print are all listed in the<br />
appendix "Advantage <strong>CA</strong>-Earl Reports" in the topic <strong>Job</strong> In<strong>for</strong>mation From<br />
Tracking File. (If you modify any of the source members provided, be sure to<br />
copy them with a different name so a reinstall of the product will not replace<br />
the modified members.)<br />
Chapter 5. Reports 5-201
5.15 Advantage <strong>CA</strong>-Earl Tracking File Reports<br />
! REDEFINE FOR PRMONODE (ORIGIN NODE-ID IN JTR KEY)<br />
!<br />
DEF PRMONODE = PRMWRK 1-8 X<br />
DEF SCHD_DATE (8) = ' ' 'SCHEDULED' 'DATE'<br />
!<br />
DEF IN_HSTAT (B 3.) = <br />
DEF IN_RSTAT (B 3.) = <br />
DEF IN_FLG1 (B 3.) = <br />
DEF IN_FLG4 (B 3.) = <br />
!<br />
DEF OUT_HSTAT (2) = ' ' 'JOB' 'HOLD-STATUS'<br />
DEF OUT_HSTAT_MSG = OUT_HSTAT 1-12 X<br />
DEF OUT_HSTAT_USERID = OUT_HSTAT 13-2 X<br />
!<br />
DEF OUT_RSTAT (2) = ' ' 'JOB' 'RUN-STATUS'<br />
DEF COMPL_CODE (5) = ' ' 'COMPLETION' 'CODE'<br />
DEF GETUNIQ (8) = 'GETUNIQ '<br />
!<br />
COPY <strong>CA</strong>IJDEFD<br />
IF PRMNME = GETUNIQ THEN GOTO EOJ<br />
ENDIF<br />
COPY <strong>CA</strong>JESETT<br />
!<br />
GET <strong>CA</strong>IJTRK<br />
GOTO EOJ <strong>CA</strong>IJTRK = 'E' OR <strong>CA</strong>IJTRK = 'N'<br />
GOTO START JTRRECID NOT = 'J'<br />
!<br />
SET <strong>CA</strong>I_DATE = JTRSDATE<br />
PERFORM <strong>CA</strong>I_DATE_CONVERSION<br />
SET SCHD_DATE = <strong>CA</strong>I_OUTDATE<br />
SET IN_HSTAT = JTRHSTAT<br />
SET IN_RSTAT = JTRRSTAT<br />
SET IN_FLG1 = JTRFLG1<br />
SET IN_FLG4 = JTRFLG4<br />
!<br />
PERFORM DECODE_STATUS<br />
!<br />
! IF JOB HELD OR <strong>CA</strong>NCELED BY USER CHANGE OUTPUT STATUS MESSAGE<br />
!<br />
IF IN_HSTAT = M'1' THEN SET OUT_HSTAT_USERID = JTRCMHLD<br />
ENDIF<br />
IF IN_HSTAT = M'11' THEN SET OUT_HSTAT_USERID = JTRCMCNC<br />
ENDIF<br />
!<br />
COPY <strong>CA</strong>IJSTMD<br />
COPY <strong>CA</strong>JECNV<br />
!<br />
SET COMPL_CODE = JTRCC<br />
5-202 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.15 Advantage <strong>CA</strong>-Earl Tracking File Reports<br />
!<br />
REPORT 'SCHEDULED JOB STATUS (BY STATION)'<br />
TITLE 'AT' 4 TIMEOFREPORT<br />
CONTROL (JTRSTATID) SKIP JTRSCHNAME<br />
PRINT JTRSTATID JTRSCHNAME JTRJNAME JTRJNUMBER JTRRC<br />
SCHD_DATE JTRSTIME JTRETIME JTRVTIME<br />
OUT_HSTAT OUT_RSTAT COMPL_CODE<br />
Chapter 5. Reports 5-203
5.16 Advantage <strong>CA</strong>-Earl Documentation File Reports<br />
5.16 Advantage <strong>CA</strong>-Earl Documentation File Reports<br />
This topic shows examples of each of the Documentation File reports and<br />
shows you how to produce each report.<br />
5.16.1 Documentation Directory And Member List<br />
The Documentation Directory And Member List report lists directory records<br />
and members from the <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> documentation library.<br />
9/14/3 DOCUMENTATION DIRECTORY AND MEMBER LIST PAGE 1<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
DISPL-KEY SCHEDULE JOB JOB STATION CREATION CREATION LAST-UPDATE LAST-UPDATE LAST-UPDATE OUTRECN OUTUPDT<br />
MEMBR-NAME NUMBER ID DATE TIME DATE TIME USERID<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
RUNBOOK SCHD1 JOB1 1 4 9/14/3 11.58.2 9/14/3 15.31.11 DANA 11 2<br />
1 <br />
2 THIS JOB <strong>CA</strong>NNOT BE STARTED UNTIL THE DAILY SALES TAPE HAS BEEN <br />
3 RECEIVED FROM THE MANHATTAN OFFICE. ONCE THIS TAPE IS LOGGED <br />
4 INTO THE TAPE LIBRARY... THE JCL FOR THIS JOB NEEDS TO BE UPDATED <br />
5 WITH TODAYS TAPE VOLSERS FOR BOTH THE LONG ISLAND OFFICE AND THE <br />
6 MANHATTAN OFFICE. <br />
7 <br />
8 PLEASE RETURN ALL TAPES TO PRODUCTION CONTROL AT EOJ. <br />
9 <br />
1 T H A N K Y O U !! <br />
11 <br />
JCL that produces Advantage <strong>CA</strong>-Earl reports requires the inclusion of certain<br />
work files. A generic version of these work files was cataloged into the<br />
<strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> library during installation as <strong>CA</strong>WRKLAB.Z. Tailor<br />
these files to your installation's needs and ensure that they are accessible<br />
be<strong>for</strong>e running the JCL that produces the reports. To produce this report,<br />
submit the following JCL with your job statement:<br />
// JOB <strong>CA</strong>JERD2<br />
: :<br />
: :<br />
work files<br />
: :<br />
: :<br />
// EXEC EARL,SIZE=3K<br />
The PRINT statement following produces a report with the fields below:<br />
Field on Report<br />
DISPL-KEY<br />
MEMBR-NAME<br />
SCHEDULE<br />
JOB<br />
JOB NUMBER<br />
STATION ID<br />
Meaning<br />
The member name under which the<br />
documentation is stored in the documentation<br />
library.<br />
Schedule name, if defined <strong>for</strong> this member.<br />
<strong>Job</strong> name, if defined <strong>for</strong> this member.<br />
<strong>Job</strong> number, if defined <strong>for</strong> this member.<br />
Station id, if defined <strong>for</strong> this member.<br />
5-204 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.16 Advantage <strong>CA</strong>-Earl Documentation File Reports<br />
Field on Report<br />
CREATION DATE<br />
CREATION TIME<br />
LAST-UPDATE DATE<br />
LAST-UPDATE TIME<br />
LAST-UPDATE USERID<br />
OUTRECN<br />
OUTUPDT<br />
Meaning<br />
The date the documentation was created.<br />
The time the documentation was created.<br />
The date the documentation member was last<br />
updated.<br />
The time the documentation member was last<br />
updated.<br />
ID of the user who last updated the<br />
documentation member.<br />
The number of records in the documentation<br />
member.<br />
The number of updates to those records.<br />
The SYSIPT control statements <strong>for</strong> this report are contained in the <strong>CA</strong>JIND02.0<br />
source member (shown following). You may modify the OPTION statement<br />
values.<br />
OPTION SORT=SRAM<br />
OPTION PRINTER=132<br />
OPTION CPAGE=56<br />
<strong>CA</strong>IJDCM:FILE <strong>CA</strong>J<strong>CA</strong>CC2 RECORD = 248<br />
COPY <strong>CA</strong>JEDIR<br />
COPY <strong>CA</strong>JEPM<br />
COPY <strong>CA</strong>JERD2<br />
END<br />
The control statements that print this report are contained in the <strong>CA</strong>JERD02.0<br />
source member (shown following). You may modify these statements to<br />
produce your own reports. The fields you can print are all listed in the<br />
appendix "Advantage <strong>CA</strong>-Earl Reports" in the topic In<strong>for</strong>mation From<br />
Documentation and Staging Libraries. (If you modify any of the source<br />
members provided, be sure to copy them with a different name so a reinstall<br />
of the product will not replace the modified members.)<br />
Chapter 5. Reports 5-205
5.16 Advantage <strong>CA</strong>-Earl Documentation File Reports<br />
!<br />
! REDEFINES FOR JCLECORD -- DOCUMENTATION MEMBER RECORD<br />
!<br />
DEF RECORDJC = RECDIR 1-144 X<br />
!<br />
DEF JCLRECID = RECORDJC 5-5 X<br />
DEF JCLTIME = RECORDJC 49-56 X<br />
DEF JCLSEQN = RECORDJC 57-59 P<br />
DEF JCLDATA = RECORDJC 6-139 X<br />
!<br />
! REDEFINE FOR RECORD IDENTIFI<strong>CA</strong>TION (DIR,JCL)<br />
!<br />
DEF RECIDENT = RECDIR 5-7 X<br />
!<br />
! REDEFINE FOR DOCUMENTATION DISPLAY KEY AND MEMBER NAME<br />
!<br />
DEF PRMDSPN = PRMWRK 1-8 X<br />
DEF PRMSEQN = PRMWRK 9-11 P<br />
!<br />
! HOLD AREAS FOR PREVIOUS DIRECORD AND JCLECORD<br />
!<br />
DEF HOLD_PREVDIR (248) = ' '<br />
DEF HOLD_PREVMBR (144) = ' '<br />
!<br />
DEF FIRST_TIME_SW (B 3.) = <br />
DEF DIRCNTR (B 5.) = <br />
DEF TOT_MEMBRS (P 5.) = <br />
DEF TIME_STAMP (8) = ' '<br />
DEF OUTRECN (P 5.) = PIC 'ZZZZ9'<br />
DEF OUTUPDT (P 3.) = PIC 'ZZ9'<br />
DEF HOLD_PRMNME (8) = ' '<br />
DEF HOLD_PRMNUM (2) = ' '<br />
DEF HOLD_PRMSTA (2) = ' '<br />
DEF HOLD_PRMSCH (8) = ' '<br />
DEF HOLD_PRMDSPN (8) = ' '<br />
DEF EDITSEQ (3.) = PIC 'ZZ9'<br />
DEF GETUNIQ (8) = 'GETUNIQ '<br />
DEF ENDUNIQ (8) = 'ENDUNIQ '<br />
!<br />
IF FIRST_TIME_SW > THEN GOTO NOT_FIRST_TIME<br />
ENDIF<br />
SET FIRST_TIME_SW = FIRST_TIME_SW + 1<br />
!<br />
! SET INITIAL PARM VALUES AND HOLD FOR RESETTING<br />
!<br />
COPY <strong>CA</strong>JESETD<br />
SET HOLD_PRMNME = PRMNME<br />
SET HOLD_PRMNUM = PRMNUM<br />
SET HOLD_PRMSTA = PRMSTA<br />
SET HOLD_PRMSCH = PRMSCH<br />
SET HOLD_PRMDSPN = PRMDSPN<br />
5-206 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.16 Advantage <strong>CA</strong>-Earl Documentation File Reports<br />
!<br />
NOT_FIRST_TIME:<br />
IF PRMNME = ENDUNIQ<br />
THEN GOTO EOJ<br />
ENDIF<br />
IF PRMID = 'DDIR' THEN SET RECDIR = HOLD_PREVDIR<br />
GOTO GETREC<br />
ENDIF<br />
IF PRMID = 'DMBR' THEN SET RECORDJC = HOLD_PREVMBR<br />
SET JCLTIME = TIME_STAMP<br />
ELSE GOTO START<br />
ENDIF<br />
GETREC:<br />
GET <strong>CA</strong>IJDCM<br />
GOTO EOJ <strong>CA</strong>IJDCM = 'E'<br />
GOTO EOJ (<strong>CA</strong>IJDCM = 'N' AND RECIDENT = 'DIR')<br />
GOTO RESET_DIR (<strong>CA</strong>IJDCM = 'N' AND RECIDENT = 'JCL')<br />
!<br />
IF (RECIDENT = 'DIR' AND PRMNME = GETUNIQ)<br />
THEN SET HOLD_PRMNME = GETUNIQ<br />
ENDIF<br />
IF RECIDENT = 'DIR' THEN SET HOLD_PREVDIR = RECDIR<br />
PERFORM REC_IS_DDIR<br />
SET DIRCNTR = DIRCNTR + 1<br />
ELSE<br />
SET HOLD_PREVMBR = RECORDJC<br />
PERFORM REC_IS_MBR<br />
ENDIF<br />
!<br />
! IF LAST MEMBER-REC AND IS A GETUNIQ -- DONOT RESET PRMFIELDS<br />
!<br />
IF (RECIDENT = 'JCL' AND JCLSEQN = TOT_MEMBRS AND<br />
HOLD_PRMNME = GETUNIQ)<br />
THEN SET PRMNME = ENDUNIQ<br />
GOTO TEST<br />
ENDIF<br />
IF (RECIDENT = 'JCL' AND JCLSEQN = TOT_MEMBRS)<br />
THEN GOTO RESET_DIR<br />
ELSE GOTO TEST<br />
ENDIF<br />
!<br />
RESET_DIR:<br />
SET PRMID = 'DDIR'<br />
SET PRMNME = HOLD_PRMNME<br />
SET PRMNUM = HOLD_PRMNUM<br />
SET PRMSTA = HOLD_PRMSTA<br />
SET PRMSCH = HOLD_PRMSCH<br />
SET PRMDSPN = HOLD_PRMDSPN<br />
IF <strong>CA</strong>IJDCM = 'N' THEN GOTO START<br />
ELSE GOTO TEST<br />
ENDIF<br />
Chapter 5. Reports 5-207
5.16 Advantage <strong>CA</strong>-Earl Documentation File Reports<br />
!<br />
COPY <strong>CA</strong>JDDIR<br />
COPY <strong>CA</strong>JMBR<br />
!<br />
REPORT 'DOCUMENTATION DIRECTORY AND MEMBER LIST'<br />
SELECT 'A' RECIDENT = 'DIR'<br />
SELECT 'B' RECIDENT = 'JCL'<br />
CONTROL QSEQ (DIRCNTR) SKIP<br />
IFTAG A; PRINT DIRDSPN DIRSCDN<br />
DIRJOBN DIRJNUM DIRJSTN DIRCDATE<br />
DIRCTIME DIRUDATE DIRUTIME DIRUUSER OUTRECN OUTUPDT<br />
IFTAG B; PRINT EDITSEQ JCLDATA<br />
5.16.2 Documentation Directory List<br />
The Documentation Directory List report lists directory records from the<br />
<strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> documentation library.<br />
9/14/3 DOCUMENTATION DIRECTORY LIST PAGE 1<br />
--------------------------------------------------------------------------------------------------------------------------------<br />
DISPL-KEY SCHEDULE JOB JOB STATION CREATION CREATION LAST-UPDATE LAST-UPDATE LAST-UPDATE OUTRECN OUTUPDT<br />
MEMBR-NAME NUMBER ID DATE TIME DATE TIME USERID<br />
--------------------------------------------------------------------------------------------------------------------------------<br />
RUNBOOK SCHD1 JOB1 1 4 9/14/3 11.58.2 9/14/3 15.31.11 DANA 11 2<br />
SETUP SCHD1 JOB1 1 39 9/14/3 12..45 9/14/3 12..45 DANA 3 1<br />
JCL that produces Advantage <strong>CA</strong>-Earl reports requires the inclusion of certain<br />
work files. A generic version of these work files was cataloged into the<br />
<strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> library during installation as <strong>CA</strong>WRKLAB.Z. Tailor<br />
these files to your installation's needs and ensure that they are accessible<br />
be<strong>for</strong>e running the JCL that produces the reports. To produce this report,<br />
submit the following JCL with your job statement:<br />
// JOB <strong>CA</strong>JERD1<br />
: :<br />
: :<br />
work files<br />
: :<br />
: :<br />
// EXEC EARL,SIZE=3K<br />
The PRINT statement following produces a report with the fields below:<br />
Field on Report<br />
DISPL-KEY<br />
MEMBR-NAME<br />
SCHEDULE<br />
JOB<br />
JOB NUMBER<br />
Meaning<br />
The member name under which the<br />
documentation is stored in the documentation<br />
library.<br />
Schedule name, if defined <strong>for</strong> this member.<br />
<strong>Job</strong> name, if defined <strong>for</strong> this member.<br />
<strong>Job</strong> number, if defined <strong>for</strong> this member.<br />
5-208 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.16 Advantage <strong>CA</strong>-Earl Documentation File Reports<br />
Field on Report<br />
STATION ID<br />
CREATION DATE<br />
CREATION TIME<br />
LAST-UPDATE DATE<br />
LAST-UPDATE TIME<br />
LAST-UPDATE USERID<br />
OUTRECN<br />
OUTUPDT<br />
Meaning<br />
Station id, if defined <strong>for</strong> this member.<br />
The date the documentation was created.<br />
The time the documentation was created.<br />
The date the documentation member was last<br />
updated.<br />
The time the documentation member was last<br />
updated.<br />
ID of the user who last updated the<br />
documentation member.<br />
The number of records in the documentation<br />
member.<br />
The number of updates to those records.<br />
The SYSIPT control statements <strong>for</strong> this report are contained in the <strong>CA</strong>JIND01.0<br />
source member (shown following). You may modify the OPTION statement<br />
values.<br />
OPTION SORT=SRAM<br />
OPTION PRINTER=132<br />
OPTION CPAGE=56<br />
<strong>CA</strong>IJDCM:FILE <strong>CA</strong>J<strong>CA</strong>CC2 RECORD = 248<br />
COPY <strong>CA</strong>JEDIR<br />
COPY <strong>CA</strong>JEPM<br />
COPY <strong>CA</strong>JERD1<br />
END<br />
The control statements that print this report are contained in the <strong>CA</strong>JERD01.0<br />
source member (shown following). You may modify these statements to<br />
produce your own reports. The fields you can print are all listed in the<br />
appendix "Advantage <strong>CA</strong>-Earl Reports" in the topic In<strong>for</strong>mation From<br />
Documentation and Staging Libraries. (If you modify any of the source<br />
members provided, be sure to copy them with a different name so a reinstall<br />
of the product will not replace the modified members.)<br />
Chapter 5. Reports 5-209
5.16 Advantage <strong>CA</strong>-Earl Documentation File Reports<br />
!<br />
! REDEFINE FOR DOCUMENTATION DISPLAY KEY AND MEMBER NAME<br />
!<br />
DEF PRMDSPN = PRMWRK 1-8 X<br />
DEF PRMSEQN = PRMWRK 9-11 P<br />
!<br />
DEF OUTRECN (P 5.) = PIC 'ZZZZ9'<br />
DEF OUTUPDT (P 3.) = PIC 'ZZ9'<br />
DEF GETUNIQ (8) = 'GETUNIQ '<br />
!<br />
IF PRMNME = GETUNIQ THEN GOTO EOJ<br />
ENDIF<br />
!<br />
COPY <strong>CA</strong>JESETD<br />
!<br />
GET <strong>CA</strong>IJDCM<br />
GOTO EOJ <strong>CA</strong>IJDCM = 'E' OR <strong>CA</strong>IJDCM = 'N'<br />
GOTO START DIRRECID NOT = 'D'<br />
!<br />
SET OUTRECN = DIRRECN<br />
SET OUTUPDT = DIRUPDT<br />
!<br />
REPORT 'DOCUMENTATION DIRECTORY LIST'<br />
PRINT DOUBLE SPACING DIRDSPN DIRSCDN DIRJOBN<br />
DIRJNUM DIRJSTN DIRCDATE<br />
DIRCTIME DIRUDATE DIRUTIME DIRUUSER OUTRECN OUTUPDT<br />
5.16.3 Documentation Selected By The Tracking File<br />
The Documentation Selected By The Tracking File report lists job in<strong>for</strong>mation<br />
from the <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> tracking file and the corresponding members<br />
of the <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> documentation library.<br />
9/14/3 DOCUMENTATION SELECTED BY THE TRACKING FILE PAGE 1<br />
AT 16.27.16<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
SCHEDULE JOB JNO ST. REASON SCHEDULED ACTUAL ACTUAL ACTUAL JOB JOB COMPLETION<br />
NAME NAME ID CODE DATE STRTTIME END-TIME AVLTIME HOLD-STATUS RUN-STATUS CODE<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
SCHD1 JOB1 1 39 84 9/14/3 14.55.4 14.55.4 ACTIVE AUTO STARTED<br />
1 <br />
2 P L E A S E N O T E <br />
3 COMPLETING THIS JOB WILL AUTOMATI<strong>CA</strong>LLY START THE DAILY UPDATES!! <br />
4 DO NOT COMPLETE THIS JOB UNTIL THE DAILY SALES TAPES HAVE BEEN <br />
5 RECEIVED FROM BOTH THE MANHATTAN OFFICE AND THE LONG ISLAND OFFICE <br />
6 AND THE STAGED JCL FOR JOB1 HAS BEEN UPDATED WITH BOTH VOLSERS. <br />
7 T H A N K Y O U <br />
8 <br />
JCL that produces Advantage <strong>CA</strong>-Earl reports requires the inclusion of certain<br />
work files. A generic version of these work files was cataloged into the<br />
<strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> library during installation as <strong>CA</strong>WRKLAB.Z. Tailor<br />
these files to your installation's needs and ensure that they are accessible<br />
be<strong>for</strong>e running the JCL that produces the reports. To produce this report,<br />
submit the following JCL with your job statement:<br />
5-210 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.16 Advantage <strong>CA</strong>-Earl Documentation File Reports<br />
// JOB <strong>CA</strong>JERTD1<br />
: :<br />
: :<br />
work files<br />
: :<br />
: :<br />
// EXEC EARL,SIZE=3K<br />
The SYSIPT control statements <strong>for</strong> this report are contained in the <strong>CA</strong>JINTD1.0<br />
source member (shown following). You may modify the OPTION statement<br />
values.<br />
OPTION SORT=SRAM<br />
OPTION PRINTER=132<br />
OPTION CPAGE=56<br />
<strong>CA</strong>IJTRK:FILE <strong>CA</strong>J<strong>CA</strong>CC2 RECORD = 248<br />
COPY <strong>CA</strong>JEJTR<br />
COPY <strong>CA</strong>JEPM<br />
COPY <strong>CA</strong>JERTD1<br />
END<br />
The PRINT statement following produces a report with the fields below:<br />
Field on Report<br />
SCHEDULE NAME<br />
JOB NAME<br />
JNO<br />
ST. ID<br />
CODE<br />
SCHEDULED DATE<br />
ACTUAL STRTTIME<br />
ACTUAL END-TIME<br />
ACTUAL AVLTIME<br />
JOB HOLD-STATUS<br />
JOB RUN-STATUS<br />
COMPLETION CODE<br />
Meaning<br />
Schedules jobs were assigned to.<br />
<strong>Job</strong>s selected <strong>for</strong> this report.<br />
Number defined <strong>for</strong> job.<br />
Stations where jobs were processed.<br />
the job was selected.<br />
The date the schedule was supposed to be<br />
selected.<br />
The time the job actually started.<br />
The time the job actually ended.<br />
The time the job was available <strong>for</strong> processing:<br />
start time was reached, predecessors were<br />
satisfied, and resources were available.<br />
Whether the job was on hold.<br />
The current status of the job.<br />
The job's completion code.<br />
Chapter 5. Reports 5-211
5.16 Advantage <strong>CA</strong>-Earl Documentation File Reports<br />
If the documentation member exists, it will be printed after the last line of field<br />
values described above. If the documentation member does not exist, the<br />
message 'DOCUMENTATION MEMBER DOES NOT EXIST' is printed after<br />
the last line of field values.<br />
The control statements that print this report are contained in the <strong>CA</strong>JERTD1.0<br />
source member (shown following). You may modify these statements to<br />
produce your own reports. The fields you can print are all listed in the<br />
appendix "Advantage <strong>CA</strong>-Earl Reports" in the topic In<strong>for</strong>mation From<br />
Documentation and Staging Libraries. (If you modify any of the source<br />
members provided, be sure to copy them with a different name so a reinstall<br />
of the product will not replace the modified members.)<br />
5-212 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.16 Advantage <strong>CA</strong>-Earl Documentation File Reports<br />
!<br />
! REDEFINES FOR DIRECORD -- DOCUMENTATION DIRECTORY RECORD<br />
!<br />
DEF RECORDD = RECORDJT 1-248 X<br />
!<br />
DEF DIRRECID = RECORDD 5-5 X<br />
DEF DIRDSPN = RECORDD 13-2 X<br />
DEF DIRSCDN = RECORDD 21-28 X<br />
DEF DIRJOBN = RECORDD 29-36 X<br />
DEF DIRJNUM = RECORDD 37-38 X<br />
DEF DIRJSTN = RECORDD 39-4 X<br />
DEF DIRTIME = RECORDD 49-56 X<br />
DEF DIRRECN = RECORDD 66-68 P<br />
DEF DIRUPDT = RECORDD 69-7 P<br />
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br />
!<br />
! REDIFINES FOR JCLECORD -- DOCUMENTATION MEMBER RECORD<br />
!<br />
DEF RECORDJC = RECORDD 1-144 X<br />
!<br />
DEF JCLRECID = RECORDJC 5-5 X<br />
DEF JCLTIME = RECORDJC 49-56 X<br />
DEF JCLSEQN = RECORDJC 57-59 P<br />
DEF JCLDATA = RECORDJC 6-139 X<br />
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br />
!<br />
! REDEFINES FOR DOCUMENTATION DISPLAY KEY AND MEMBER NAME<br />
!<br />
DEF PRMDSPN = PRMWRK 1-8 X<br />
DEF PRMSEQN = PRMWRK 9-11 P<br />
!<br />
! REDEFINE FOR RECORD IDENTIFI<strong>CA</strong>TION (JTR ,DIR,JCL)<br />
!<br />
DEF RECIDENT = RECORDJT 5-7 X<br />
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br />
!<br />
! HOLD AREAS FOR PREVIOUS JTRECORD,DIRECORD,JCLECORD<br />
! HOLD AREAS FOR PARM FIELDS<br />
!<br />
DEF HOLD_PREVJTR (9) = ' '<br />
DEF HOLD_PREVDIR (248) = ' '<br />
DEF HOLD_PREVMBR (144) = ' '<br />
DEF HOLD_PRMNME (8) = ' '<br />
DEF HOLD_PRMNUM (2) = ' '<br />
DEF HOLD_PRMSTA (2) = ' '<br />
DEF HOLD_PRMSCH (8) = ' '<br />
DEF HOLD_PRMONODE (8) = ' '<br />
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br />
Chapter 5. Reports 5-213
5.16 Advantage <strong>CA</strong>-Earl Documentation File Reports<br />
!<br />
DEF SCHD_DATE (8) = ' ' 'SCHEDULED' 'DATE'<br />
DEF EDITSEQ (3.) = PIC 'ZZ9'<br />
DEF FIRST_TIME_SW (B 3.) = <br />
DEF TOT_MEMBRS (P 5.) = <br />
DEF TIME_STAMP (8) = ' '<br />
!<br />
DEF IN_RSTAT (B 3.) = <br />
DEF IN_HSTAT (B 3.) = <br />
DEF IN_FLG1 (B 3.) = <br />
DEF IN_FLG4 (B 3.) = <br />
!<br />
DEF OUT_RSTAT (2) = ' ' 'JOB' 'RUN-STATUS'<br />
DEF OUT_HSTAT (2) = ' ' 'JOB' 'HOLD-STATUS'<br />
DEF OUT_HSTAT_MSG = OUT_HSTAT 1-12 X<br />
DEF OUT_HSTAT_USERID = OUT_HSTAT 13-2 X<br />
!<br />
DEF COMPL_CODE (5) = ' ' 'COMPLETION' 'CODE'<br />
DEF COMPL_CODE_SW (B 3.) = <br />
DEF JTRCNTR (B 5.) = <br />
DEF GETUNIQ (8) = 'GETUNIQ '<br />
DEF ENDUNIQ (8) = 'ENDUNIQ '<br />
!<br />
COPY <strong>CA</strong>IJDEFD<br />
!<br />
! <br />
!<br />
IF FIRST_TIME_SW > THEN GOTO NOT_FIRST_TIME<br />
ENDIF<br />
SET FIRST_TIME_SW = FIRST_TIME_SW + 1<br />
!<br />
! SET INITIAL PARM VALUES AND HOLD FOR RESETTING<br />
!<br />
COPY <strong>CA</strong>JESETT<br />
!<br />
SET HOLD_PRMNME = PRMNME<br />
SET HOLD_PRMNUM = PRMNUM<br />
SET HOLD_PRMSTA = PRMSTA<br />
SET HOLD_PRMSCH = PRMSCH<br />
SET HOLD_PRMONODE = PRMONODE<br />
!<br />
NOT_FIRST_TIME:<br />
GOTO EOJ PRMNME = ENDUNIQ<br />
GOTO TRACK_GET PRMID = 'JTR '<br />
GOTO DOC_GET PRMID = 'DDIR'<br />
GOTO DOC_GET PRMID = 'DMBR'<br />
5-214 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.16 Advantage <strong>CA</strong>-Earl Documentation File Reports<br />
!<br />
TRACK_GET:<br />
SET RECORDJT = HOLD_PREVJTR<br />
GET <strong>CA</strong>IJTRK<br />
GOTO EOJ <strong>CA</strong>IJTRK = 'E' OR <strong>CA</strong>IJTRK = 'N'<br />
GOTO START RECIDENT NOT = 'JTR'<br />
!<br />
IF PRMNME = GETUNIQ<br />
THEN SET HOLD_PRMNME = GETUNIQ<br />
ENDIF<br />
!<br />
SET JTRCNTR = JTRCNTR +1<br />
SET HOLD_PREVJTR = RECORDJT<br />
!<br />
SET <strong>CA</strong>I_DATE = JTRSDATE<br />
PERFORM <strong>CA</strong>I_DATE_CONVERSION<br />
SET SCHD_DATE = <strong>CA</strong>I_OUTDATE<br />
!<br />
SET IN_HSTAT = JTRHSTAT<br />
SET IN_RSTAT = JTRRSTAT<br />
SET IN_FLG1 = JTRFLG1<br />
SET IN_FLG4 = JTRFLG4<br />
PERFORM DECODE_STATUS<br />
SET COMPL_CODE = JTRCC<br />
!<br />
! IF JOB HELD OR <strong>CA</strong>NCELED BY USER CHANGE OUTPUT STATUS MESSAGE<br />
!<br />
IF IN_HSTAT = M'1' THEN SET OUT_HSTAT_USERID = JTRCMHLD<br />
ENDIF<br />
IF IN_HSTAT = M'11' THEN SET OUT_HSTAT_USERID = JTRCMCNC<br />
ENDIF<br />
!<br />
!<br />
! SETUP PARMS FOR DIR GET<br />
!<br />
SET PRMFUNC = 'GETS'<br />
SET PRMID = 'DDIR'<br />
SET PRMNME = JTRJNAME<br />
SET PRMNUM = JTRJNUMBER<br />
SET PRMSTA = JTRSTATID<br />
SET PRMSCH = JTRSCHNAME<br />
SET PRMDSPN = JTRDISPK<br />
GOTO TEST<br />
!<br />
! <br />
Chapter 5. Reports 5-215
5.16 Advantage <strong>CA</strong>-Earl Documentation File Reports<br />
!<br />
DOC_GET:<br />
IF PRMID = 'DDIR' THEN SET RECORDD = HOLD_PREVDIR<br />
ELSE SET RECORDJC = HOLD_PREVMBR<br />
SET JCLTIME = TIME_STAMP<br />
ENDIF<br />
GET <strong>CA</strong>IJTRK<br />
GOTO RESET_JTR <strong>CA</strong>IJTRK = 'E'<br />
GOTO RESET_JTR <strong>CA</strong>IJTRK = 'N'<br />
!<br />
IF RECIDENT = 'DIR' THEN SET HOLD_PREVDIR = RECORDD<br />
PERFORM REC_IS_DDIR<br />
GOTO START<br />
ELSE SET HOLD_PREVMBR = RECORDJC<br />
PERFORM REC_IS_MBR<br />
ENDIF<br />
IF (RECIDENT = 'JCL' AND JCLSEQN = TOT_MEMBRS AND<br />
HOLD_PRMNME = GETUNIQ)<br />
THEN SET PRMNME = ENDUNIQ<br />
GOTO TEST<br />
ENDIF<br />
IF (RECIDENT = 'JCL' AND JCLSEQN = TOT_MEMBRS)<br />
THEN GOTO RESET_JTR<br />
ELSE GOTO TEST<br />
ENDIF<br />
!<br />
RESET_JTR:<br />
SET PRMID = 'JTR '<br />
SET PRMNME = HOLD_PRMNME<br />
SET PRMNUM = HOLD_PRMNUM<br />
SET PRMSTA = HOLD_PRMSTA<br />
SET PRMSCH = HOLD_PRMSCH<br />
SET PRMONODE = HOLD_PRMONODE<br />
GOTO TEST<br />
! <br />
COPY <strong>CA</strong>IJSTMD<br />
!<br />
COPY <strong>CA</strong>JECNV<br />
!<br />
COPY <strong>CA</strong>JDDIR<br />
!<br />
COPY <strong>CA</strong>JMBR<br />
5-216 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.16 Advantage <strong>CA</strong>-Earl Documentation File Reports<br />
!<br />
REPORT 'DOCUMENTATION SELECTED BY THE TRACKING FILE'<br />
TITLE 'AT' 4 TIMEOFREPORT<br />
SELECT 'A' RECIDENT = 'JTR'<br />
SELECT 'B' RECIDENT = 'JCL'<br />
SELECT 'C' (RECIDENT = 'DIR' AND (<strong>CA</strong>IJTRK = 'N' OR <strong>CA</strong>IJTRK = 'E'))<br />
CONTROL QSEQ (JTRCNTR) SKIP<br />
IFTAG A; PRINT JTRSCHNAME JTRJNAME<br />
JTRJNUMBER JTRSTATID JTRRC<br />
SCHD_DATE JTRSTIME JTRETIME JTRVTIME<br />
OUT_HSTAT OUT_RSTAT COMPL_CODE<br />
IFTAG B; PRINT EDITSEQ JCLDATA<br />
IFTAG C; PRINT 'DOCUMENTATION MEMBER DOES NOT EXIST'<br />
Chapter 5. Reports 5-217
5.17 Advantage <strong>CA</strong>-Earl Staging File Reports<br />
5.17 Advantage <strong>CA</strong>-Earl Staging File Reports<br />
When reports are generated using the staging file <strong>for</strong> input, the data reflected<br />
will be from the current day's work (autoscan+23.59).<br />
5.17.1 Staged JCL Directory And Member List<br />
The Staged JCL Directory And Member List report lists directory records from<br />
the <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> staging library.<br />
9/14/3 STAGED JCL DIRECTORY AND MEMBER LIST PAGE 1<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
JOB JOB STAGED STATION CREATION CREATION LAST-UPDATE LAST-UPDATE LAST-UPDATE OUTRECN OUTUPDT<br />
NUMBER SCHEDULE ID DATE TIME DATE TIME USERID<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
JOB1 1 SCHD1 4 9/14/3 14.55.5 9/14/3 15.42.1 DANA 13 3<br />
1 $$ JOB JNM=JOB1,DISP=D,CLASS=A, X<br />
2 $$ USER='DANA',LDEST=(,CEGDA1),PDEST=(,CEGDA1)<br />
3 <strong>CA</strong>RCTL off SCHEDULER P<br />
4 SCSTART S=SCHD1 JNO=1 J=JOB1 P<br />
5 // JOB JOB1 UPDATE DAILY SALES TOTALS<br />
6 =====> UPDATE TLBLS WITH TODAYS DAILY SALES VOLSERS<br />
7 // TLBL DAILYM,'MANHATTAN.DAILY.SALES',,VOLSER<br />
8 // TLBL DAILYL,'LONG.ISLAND.DAILY.SALES',,VOLSER<br />
9 // EXEC DAILY<br />
1 /<br />
11 /&<br />
12 SCEND S=SCHD1 P<br />
13 $$ EOJ P<br />
JCL that produces Advantage <strong>CA</strong>-Earl reports requires the inclusion of certain<br />
work files. A generic version of these work files was cataloged into the<br />
<strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> library during installation as <strong>CA</strong>WRKLAB.Z. Tailor<br />
these files to your installation's needs and ensure that they are accessible<br />
be<strong>for</strong>e running the JCL that produces the reports. To produce this report,<br />
submit the following JCL with your job statement:<br />
// JOB <strong>CA</strong>JERG2<br />
: :<br />
: :<br />
work files<br />
: :<br />
: :<br />
// EXEC EARL,SIZE=3K<br />
The PRINT statement following produces a report with the fields below:<br />
Field on Report<br />
JOB<br />
JOB NUMBER<br />
STAGED SCHEDULE<br />
STATION ID<br />
Meaning<br />
JCL that was written to the staging library <strong>for</strong><br />
setup.<br />
Number defined <strong>for</strong> job.<br />
Schedules jobs were assigned to.<br />
Stations where jobs were processed.<br />
5-218 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.17 Advantage <strong>CA</strong>-Earl Staging File Reports<br />
Field on Report<br />
CREATION DATE<br />
CREATION TIME<br />
LAST-UPDATE DATE<br />
LAST-UPDATE TIME<br />
LAST-UPDATE USERID<br />
OUTRECN<br />
OUTUPDT<br />
Meaning<br />
The date the JCL was staged.<br />
The time the JCL was staged.<br />
The date the staged JCL was last updated.<br />
The time the staged JCL was last updated.<br />
ID of the user who last updated the<br />
documentation member.<br />
The number of records in the library.<br />
The number of updates to those records.<br />
The SYSIPT control statements <strong>for</strong> this report are contained in the <strong>CA</strong>JING02.0<br />
source member (shown following). You may modify the OPTION statement<br />
values.<br />
OPTION SORT=SRAM<br />
OPTION PRINTER=132<br />
OPTION CPAGE=56<br />
<strong>CA</strong>IJSTG:FILE <strong>CA</strong>J<strong>CA</strong>CC2 RECORD = 248<br />
COPY <strong>CA</strong>JEDIR<br />
COPY <strong>CA</strong>JEPM<br />
COPY <strong>CA</strong>JERG2<br />
END<br />
The control statements that print this report are contained in the <strong>CA</strong>JERG02.0<br />
source member (shown following). You may modify these statements to<br />
produce your own reports. The fields you can print are all listed in the<br />
appendix "Advantage <strong>CA</strong>-Earl Reports" in the topic In<strong>for</strong>mation From<br />
Documentation and Staging Libraries. (If you modify any of the source<br />
members provided, be sure to copy them with a different name so a reinstall<br />
of the product will not replace the modified members.)<br />
Chapter 5. Reports 5-219
5.17 Advantage <strong>CA</strong>-Earl Staging File Reports<br />
!<br />
! REDEFINES FOR JCLECORD -- STAGING MEMBER RECORD<br />
!<br />
DEF RECORDJC = RECDIR 1-144 X<br />
!<br />
DEF JCLRECID = RECORDJC 5-5 X<br />
DEF JCLTIME = RECORDJC 49-56 X<br />
DEF JCLSEQN = RECORDJC 57-59 P<br />
DEF JCLDATA = RECORDJC 6-139 X<br />
!<br />
! REDEFINE FOR RECORD IDENTIFI<strong>CA</strong>TION (DIR,JCL)<br />
!<br />
DEF RECIDENT = RECDIR 5-7 X<br />
!<br />
! REDEFINE : RECORD SEQUENCE NUMBER FOR JCL MEMBER<br />
!<br />
DEF PRMSEQN = PRMWRK 9-11 P<br />
!<br />
! HOLD AREAS FOR PREVIOUS DIRECORD AND JCLECORD<br />
!<br />
DEF HOLD_PREVDIR (248) = ' '<br />
DEF HOLD_PREVMBR (144) = ' '<br />
!<br />
DEF FIRST_TIME_SW (B 3.) = <br />
DEF DIRCNTR (B 5.) = <br />
DEF TOT_MEMBRS (P 5.) = <br />
DEF TIME_STAMP (8) = ' '<br />
DEF OUTRECN (P 5.) = PIC 'ZZZZ9'<br />
DEF OUTUPDT (P 3.) = PIC 'ZZ9'<br />
DEF HOLD_PRMNME (8) = ' '<br />
DEF HOLD_PRMNUM (2) = ' '<br />
DEF HOLD_PRMSTA (2) = ' '<br />
DEF HOLD_PRMSCH (8) = ' '<br />
DEF EDITSEQ (3.) = PIC 'ZZ9'<br />
DEF GETUNIQ (8) = 'GETUNIQ '<br />
DEF ENDUNIQ (8) = 'ENDUNIQ '<br />
!<br />
IF FIRST_TIME_SW > THEN GOTO NOT_FIRST_TIME<br />
ENDIF<br />
SET FIRST_TIME_SW = FIRST_TIME_SW + 1<br />
!<br />
! SET INITIAL PARM VALUES AND HOLD FOR RESETTING<br />
!<br />
COPY <strong>CA</strong>JESETG<br />
SET HOLD_PRMNME = PRMNME<br />
SET HOLD_PRMNUM = PRMNUM<br />
SET HOLD_PRMSTA = PRMSTA<br />
SET HOLD_PRMSCH = PRMSCH<br />
5-220 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.17 Advantage <strong>CA</strong>-Earl Staging File Reports<br />
!<br />
NOT_FIRST_TIME:<br />
IF PRMNME = ENDUNIQ<br />
THEN GOTO EOJ<br />
ENDIF<br />
IF PRMID = 'SDIR' THEN SET RECDIR = HOLD_PREVDIR<br />
GOTO GETREC<br />
ENDIF<br />
IF PRMID = 'SMBR' THEN SET RECORDJC = HOLD_PREVMBR<br />
SET JCLTIME = TIME_STAMP<br />
ELSE GOTO START<br />
ENDIF<br />
GETREC:<br />
GET <strong>CA</strong>IJSTG<br />
GOTO EOJ <strong>CA</strong>IJSTG = 'E'<br />
GOTO EOJ (<strong>CA</strong>IJSTG = 'N' AND RECIDENT = 'DIR')<br />
GOTO RESET_DIR (<strong>CA</strong>IJSTG = 'N' AND RECIDENT = 'JCL')<br />
!<br />
IF (RECIDENT = 'DIR' AND PRMNME = GETUNIQ)<br />
THEN SET HOLD_PRMNME = GETUNIQ<br />
ENDIF<br />
IF RECIDENT = 'DIR' THEN SET HOLD_PREVDIR = RECDIR<br />
PERFORM REC_IS_SDIR<br />
SET DIRCNTR = DIRCNTR + 1<br />
ELSE<br />
SET HOLD_PREVMBR = RECORDJC<br />
PERFORM REC_IS_MBR<br />
ENDIF<br />
!<br />
! IF LAST MEMBER-REC AND IS A GETUNIQ -- DONOT RESET PRMFIELDS<br />
!<br />
IF (RECIDENT = 'JCL' AND JCLSEQN = TOT_MEMBRS AND<br />
HOLD_PRMNME = GETUNIQ)<br />
THEN SET PRMNME = ENDUNIQ<br />
GOTO TEST<br />
ENDIF<br />
IF (RECIDENT = 'JCL' AND JCLSEQN = TOT_MEMBRS)<br />
THEN GOTO RESET_DIR<br />
ELSE GOTO TEST<br />
ENDIF<br />
!<br />
RESET_DIR:<br />
SET PRMID = 'SDIR'<br />
SET PRMNME = HOLD_PRMNME<br />
SET PRMNUM = HOLD_PRMNUM<br />
SET PRMSTA = HOLD_PRMSTA<br />
SET PRMSCH = HOLD_PRMSCH<br />
IF <strong>CA</strong>IJSTG = 'N' THEN GOTO START<br />
ELSE GOTO TEST<br />
ENDIF<br />
Chapter 5. Reports 5-221
5.17 Advantage <strong>CA</strong>-Earl Staging File Reports<br />
!<br />
COPY <strong>CA</strong>JSDIR<br />
COPY <strong>CA</strong>JMBR<br />
!<br />
REPORT 'STAGED JCL DIRECTORY AND MEMBER LIST'<br />
SELECT 'A' RECIDENT = 'DIR'<br />
SELECT 'B' RECIDENT = 'JCL'<br />
CONTROL QSEQ (DIRCNTR) SKIP<br />
IFTAG A; PRINT DIRJOBN DIRJNUM DIRSCDX DIRJSTN DIRCDATE<br />
DIRCTIME DIRUDATE DIRUTIME DIRUUSER OUTRECN OUTUPDT<br />
IFTAG B; PRINT EDITSEQ JCLDATA<br />
5.17.2 Staged JCL Library Directory List<br />
The Staged JCL Library Directory List report lists directory records from the<br />
<strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> staging library.<br />
9/14/3 STAGED JCL LIBRARY DIRECTORY LIST PAGE 1<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
JOB JOB STAGED STATION CREATION CREATION LAST-UPDATE LAST-UPDATE LAST-UPDATE OUTRECN OUTUPDT<br />
NUMBER SCHEDULE ID DATE TIME DATE TIME USERID<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
JOB1 1 SCHD1 4 9/14/3 14.55.5 9/14/3 15.37.41 DANA 13 2<br />
JOB2 2 SCHD1 4 9/14/3 14.55.6 9/14/3 14.55.6 7 1<br />
JCL that produces Advantage <strong>CA</strong>-Earl reports requires the inclusion of certain<br />
work files. A generic version of these work files was cataloged into the<br />
<strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> library during installation as <strong>CA</strong>WRKLAB.Z. Tailor<br />
these files to your installation's needs and ensure that they are accessible<br />
be<strong>for</strong>e running the JCL that produces the reports. To produce this report,<br />
submit the following JCL with your job statement:<br />
// JOB <strong>CA</strong>JERG1<br />
: :<br />
: :<br />
work files<br />
: :<br />
: :<br />
// EXEC EARL,SIZE=3K<br />
The PRINT statement following produces a report with the fields below:<br />
Field on Report<br />
JOB<br />
JOB NUMBER<br />
STAGED SCHEDULE<br />
STATION ID<br />
CREATION DATE<br />
CREATION TIME<br />
Meaning<br />
JCL that was written to the staging library <strong>for</strong><br />
setup.<br />
Number defined <strong>for</strong> job.<br />
Schedules jobs were assigned to.<br />
Stations where jobs were processed.<br />
The date the JCL was staged.<br />
The time the JCL was staged.<br />
5-222 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.17 Advantage <strong>CA</strong>-Earl Staging File Reports<br />
Field on Report<br />
LAST-UPDATE DATE<br />
LAST-UPDATE TIME<br />
LAST-UPDATE USERID<br />
OUTRECN<br />
OUTUPDT<br />
Meaning<br />
The date the staged JCL was last updated.<br />
The time the staged JCL was last updated.<br />
ID of the user who last updated the<br />
documentation member.<br />
The number of records in the library.<br />
The number of updates to those records.<br />
The SYSIPT control statements <strong>for</strong> this report are contained in the <strong>CA</strong>JING01.0<br />
source member (shown following). You may modify the OPTION statement<br />
values.<br />
OPTION SORT=SRAM<br />
OPTION PRINTER=132<br />
OPTION CPAGE=56<br />
<strong>CA</strong>IJSTG:FILE <strong>CA</strong>J<strong>CA</strong>CC2 RECORD = 248<br />
COPY <strong>CA</strong>JEDIR<br />
COPY <strong>CA</strong>JEPM<br />
COPY <strong>CA</strong>JERG1<br />
END<br />
The control statements that print this report are contained in the <strong>CA</strong>JERG01.0<br />
source member (shown following). You may modify these statements to<br />
produce your own reports. The fields you can print are all listed in the<br />
appendix "Advantage <strong>CA</strong>-Earl Reports" under 'In<strong>for</strong>mation From<br />
Documentation and Staging Libraries.' (If you modify any of the source<br />
members provided, be sure to copy them with a different name so a reinstall<br />
of the product will not replace the modified members.)<br />
Chapter 5. Reports 5-223
5.17 Advantage <strong>CA</strong>-Earl Staging File Reports<br />
!<br />
! REDEFINE FOR RECORD SEQUENCE NEMBER<br />
!<br />
DEF PRMSEQN = PRMWRK 9-11 P<br />
!<br />
DEF OUTRECN (P 5.) = PIC 'ZZZZ9'<br />
DEF OUTUPDT (P 3.) = PIC 'ZZ9'<br />
DEF GETUNIQ (8) = 'GETUNIQ '<br />
!<br />
! PRMNME FIELD BLANKED OUT AFTER A GET UNIQUE (IN ACCESS MODULE)<br />
! TO AVOID REPEATED OUTPUT OF SAME RECORD<br />
!<br />
IF PRMNME = GETUNIQ THEN GOTO EOJ<br />
ENDIF<br />
COPY <strong>CA</strong>JESETG<br />
!<br />
GET <strong>CA</strong>IJSTG<br />
GOTO EOJ <strong>CA</strong>IJSTG = 'E' OR <strong>CA</strong>IJSTG = 'N'<br />
GOTO START DIRRECID NOT = 'D'<br />
!<br />
SET OUTRECN = DIRRECN<br />
SET OUTUPDT = DIRUPDT<br />
!<br />
REPORT 'STAGED JCL LIBRARY DIRECTORY LIST'<br />
PRINT DOUBLE SPACING DIRJOBN DIRJNUM DIRSCDX<br />
DIRJSTN DIRCDATE DIRCTIME<br />
DIRUDATE DIRUTIME DIRUUSER OUTRECN OUTUPDT<br />
5-224 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.18 Batch Reporting <strong>for</strong> <strong>CA</strong>IAUDIT<br />
5.18 Batch Reporting <strong>for</strong> <strong>CA</strong>IAUDIT<br />
5.18.1 Overview<br />
This topic gives examples of each of the batch reports and gives you<br />
in<strong>for</strong>mation on how to produce them.<br />
<strong>CA</strong>IAUDIT's extensive reporting capabilities are facilitated by Advantage<br />
<strong>CA</strong>-Earl, a utility that generates reports <strong>for</strong> all <strong>CA</strong> products that use<br />
<strong>CA</strong>IAUDIT. In addition to the standard reports provided with <strong>CA</strong>IAUDIT,<br />
customized reports can also be created using Advantage <strong>CA</strong>-Earl.<br />
The copybooks needed to generate <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> reports of<br />
<strong>CA</strong>IAUDIT events were cataloged into the <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> library as 0<br />
(zero) books during installation. They may be found in the library with the<br />
prefix <strong>CA</strong>AU.<br />
■<br />
■<br />
The <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> copybooks are <strong>CA</strong>AUE06 through <strong>CA</strong>AUE09.<br />
Copybooks <strong>CA</strong>AUDCOD and <strong>CA</strong>AUEF, cataloged into the <strong>CA</strong>90s<br />
installation library, are also required <strong>for</strong> report generation.<br />
5.18.2 UPSI Settings<br />
The following pages display sample Advantage <strong>CA</strong>-Earl reports.<br />
The following UPSI settings apply to the Advantage <strong>CA</strong>-Earl JCL.<br />
UPSI bits 5 and 8 are used <strong>for</strong> processing <strong>CA</strong> AUDIT EARL reports.<br />
UPSI bit 5<br />
UPSI bit 8<br />
Set this bit to 1 to process <strong>CA</strong>IAUDIT records from tape, or<br />
set it to 0 to process <strong>CA</strong>IAUDIT records from a VSAM data<br />
set.<br />
Set this bit to 1 to process <strong>CA</strong>IAUDIT records from the<br />
<strong>CA</strong>UDPC2 data set, or set it to 0 to process <strong>CA</strong>IAUDIT<br />
records from the <strong>CA</strong>UDPC1 data set.<br />
Note: UPSI bit 5 overrides UPSI bit 8.<br />
5.18.3 Audited Events Report<br />
The report lists all events audited <strong>for</strong> <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong>, sorted by time.<br />
Chapter 5. Reports 5-225
5.18 Batch Reporting <strong>for</strong> <strong>CA</strong>IAUDIT<br />
<strong>CA</strong> AUDIT/<strong>VSE</strong><br />
SEP 7 3 <strong>CA</strong> AUDIT RECORD LISTING PAGE 1<br />
PRODUCT: SCHEDULER<br />
------------------------------------------------------------------------------------------------------------------------------<br />
EVENT DATE TIME USER SYS-ID COMMAND/ OBJECT/ MISCELLANEOUS<br />
CODE SCHD NAME JOB NAME<br />
------------------------------------------------------------------------------------------------------------------------------<br />
CTD 9/7/3 9:38:41 OPERATOR 1 DISPLAY DATE<br />
CTU 9/7/3 9:58:2 OPERATOR 1 SHUTDOWN DELAYED<br />
CBU 9/7/3 1:7:59 1 DEFINE USERID JNM=<strong>CA</strong>JUTIL#19<br />
CBU 9/7/3 1:7:59 1 DEFINE USERID JNM=<strong>CA</strong>JUTIL#19<br />
CBU 9/7/3 1:7:59 1 DEFINE USERID JNM=<strong>CA</strong>JUTIL#19<br />
CBU 9/7/3 1:7:59 1 DEFINE USERID JNM=<strong>CA</strong>JUTIL#19<br />
CTU 9/7/3 1:19:31 OPERATOR 1 SHUTDOWN DELAYED<br />
CBU 9/7/3 1:48:8 STEVE 1 DEFINE USERID JNM=STRTCICS#7<br />
CBU 9/7/3 1:48:8 STEVE 1 DEFINE USERID JNM=STRTCICS#7<br />
CBU 9/7/3 1:49:31 STE 1 ALTER USERID JNM=STRTCICS#7<br />
CBU 9/7/3 1:49:53 STE 1 ALTER USERID JNM=STRTCICS#7<br />
CTU 9/6/3 16:35:51 OPERATOR 1 SHUTDOWN DELAYED<br />
CTU 9/6/3 15:9:52 OPERATOR 1 RUN JOB<br />
JCL that produces Advantage <strong>CA</strong>-Earl reports requires the inclusion of certain<br />
work files. A generic version of these work files was cataloged into the<br />
<strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> library during installation as <strong>CA</strong>WRKLAB.Z. Tailor<br />
these files to your installation's needs and ensure that they are accessible<br />
be<strong>for</strong>e running the JCL that produces the reports. To produce this report,<br />
submit the following JCL with your job statement:<br />
// JOB <strong>CA</strong>AUE6<br />
: :<br />
: :<br />
work files<br />
: :<br />
: :<br />
// EXEC EARL,SIZE=3K<br />
OPTION SORT=SRAM<br />
OPTION PRINTER=132<br />
OPTION CPAGE=56<br />
COPY <strong>CA</strong>AUEF<br />
COPY <strong>CA</strong>AUDCOD<br />
COPY <strong>CA</strong>AUE6<br />
/<br />
The control statements that print this report are contained in the <strong>CA</strong>AUE06<br />
source member (shown following). You may modify these statements to<br />
produce your own reports. Printable fields are listed in the appendix<br />
"Advantage <strong>CA</strong>-Earl Reports." (If you modify any of the source members<br />
provided, be sure to copy them with a different name so that a reinstallation of<br />
the product will not replace the modified members.)<br />
5-226 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.18 Batch Reporting <strong>for</strong> <strong>CA</strong>IAUDIT<br />
! SCHEDULER RECORD LISTING<br />
REPORT '<strong>CA</strong> AUDIT RECORD LISTING'<br />
TITLE'PRODUCT: SCHEDULER'<br />
TITLE ' '<br />
SELECT 'A' <strong>CA</strong>AUDPRD = '<strong>CA</strong>SH' AND <strong>CA</strong>AUDPE1 = 'C'<br />
CONTROL <strong>CA</strong>AUDDTE DOWN <strong>CA</strong>AUDTME<br />
IFTAG A;PRINT DOUBLE SPACING <strong>CA</strong>AUDPEC <strong>CA</strong>AUDDTE <strong>CA</strong>AUDTME <strong>CA</strong>AUDUID<br />
<strong>CA</strong>AUDSID <strong>CA</strong>USHCMD <strong>CA</strong>USHOBJ <strong>CA</strong>AUDINF<br />
!<br />
REPORT '<strong>CA</strong> AUDIT RECORD LISTING'<br />
TITLE'PRODUCT: SCHEDULER'<br />
TITLE ' '<br />
SELECT 'A' <strong>CA</strong>AUDPRD = '<strong>CA</strong>SH' AND <strong>CA</strong>AUDPE1 = 'M'<br />
CONTROL <strong>CA</strong>AUDDTE DOWN <strong>CA</strong>AUDTME<br />
IFTAG A;PRINT DOUBLE SPACING <strong>CA</strong>AUDPEC <strong>CA</strong>AUDDTE <strong>CA</strong>AUDTME <strong>CA</strong>AUDUID<br />
<strong>CA</strong>AUDSID <strong>CA</strong>USHSNM <strong>CA</strong>USHJNM <strong>CA</strong>AUDINF<br />
The preceding PRINT statement produces a report with the following fields:<br />
Field On Report<br />
EVENT CODE<br />
DATE<br />
TIME<br />
USER<br />
SYSID<br />
COMMAND/SCHD NAME<br />
OBJECT/JOB NAME<br />
MISCELLANEOUS<br />
Meaning<br />
Audit event code<br />
Date event occurred<br />
Time event occurred<br />
User ID associated with the event<br />
ID of the system where the event occurred<br />
<strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> command or<br />
schedule name<br />
Object or job name<br />
Any miscellaneous event in<strong>for</strong>mation<br />
5.18.4 Audited Commands/Text Report<br />
The Audited Commands/Text Report report lists all commands and<br />
corresponding text audited <strong>for</strong> <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong>.<br />
<strong>CA</strong> AUDIT/<strong>VSE</strong><br />
SEP 7 3 <strong>CA</strong> AUDIT RECORD LISTING PAGE 1<br />
PRODUCT: SCHEDULER<br />
COMMAND RECORDS<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
EVENT DATE TIME USER COMMAND/ OBJECT/ TYPE CLASS INDI<strong>CA</strong>TOR COMMAND TEXT<br />
CODE SCHD NAME JOB NAME<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
CBU 9/7/3 1:7:59 DEFINE USERID B U WRITPASS=,C<br />
9/7/3 1:7:59 DEFINE USERID B U DEFINE USERID NAME=STEVE,D<br />
9/7/3 1:7:59 DEFINE USERID B U WRITPASS=,C<br />
9/7/3 1:7:59 DEFINE USERID B U DEFINE USERID NAME=MASTER,<br />
9/7/3 1:48:8 STEVE DEFINE USERID B U CONNECT=(39,4),TYPE=M<br />
9/7/3 1:48:8 STEVE DEFINE USERID B U DEFINE USERID NAME=STE,REA<br />
9/7/3 1:49:31 STE ALTER USERID B U ALTER USERID NAME=STE,CONN<br />
9/7/3 1:49:53 STE ALTER USERID B U ALTER USERID NAME=STE,DESC<br />
Chapter 5. Reports 5-227
5.18 Batch Reporting <strong>for</strong> <strong>CA</strong>IAUDIT<br />
JCL that produces Advantage <strong>CA</strong>-Earl reports requires the inclusion of certain<br />
work files. A generic version of these work files was cataloged into the<br />
<strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> library during installation as <strong>CA</strong>WRKLAB.Z. Tailor<br />
these files to your installation's needs and ensure that they are accessible<br />
be<strong>for</strong>e running the JCL that produces the reports. To produce this report,<br />
submit the following JCL with your job statement:<br />
// JOB <strong>CA</strong>AUE7<br />
: :<br />
: :<br />
work files<br />
: :<br />
: :<br />
// EXEC EARL,SIZE=3K<br />
OPTION SORT=SRAM<br />
OPTION PRINTER=132<br />
OPTION CPAGE=56<br />
COPY <strong>CA</strong>AUEF<br />
COPY <strong>CA</strong>AUDCOD<br />
COPY <strong>CA</strong>AUE7<br />
/<br />
The control statements that print this report are contained in the <strong>CA</strong>AUE07<br />
source member (shown following). You may modify these statements to<br />
produce your own reports. Printable fields are listed in the appendix<br />
"Advantage <strong>CA</strong>-Earl Reports." (If you modify any of the source members<br />
provided, be sure to copy them with a different name so that a reinstallation of<br />
the product will not replace the modified members.)<br />
! SCHEDULER COMMAND REPORTS<br />
REPORT '<strong>CA</strong> AUDIT RECORD LISTING'<br />
TITLE'PRODUCT: SCHEDULER'<br />
TITLE 'COMMAND RECORDS'<br />
SELECT 'A' <strong>CA</strong>AUDPRD = '<strong>CA</strong>SH' AND <strong>CA</strong>AUDPE1 = 'C'<br />
CONTROL (<strong>CA</strong>AUDPEC) SKIP BREAK <strong>CA</strong>AUDDTE DOWN <strong>CA</strong>AUDTME<br />
IFTAG A;PRINT DOUBLE SPACING <strong>CA</strong>AUDPEC <strong>CA</strong>AUDDTE <strong>CA</strong>AUDTME <strong>CA</strong>AUDUID<br />
<strong>CA</strong>USHCMD <strong>CA</strong>USHOBJ <strong>CA</strong>USHTYP <strong>CA</strong>USHCLS <strong>CA</strong>USHIND<br />
<strong>CA</strong>USHCTX<br />
!<br />
REPORT '<strong>CA</strong> AUDIT RECORD LISTING'<br />
TITLE'PRODUCT: SCHEDULER'<br />
TITLE 'FULL COMMAND TEXT'<br />
SELECT 'A' <strong>CA</strong>AUDPRD = '<strong>CA</strong>SH' AND <strong>CA</strong>AUDPE1 = 'C'<br />
CONTROL (<strong>CA</strong>AUDPEC) SKIP BREAK <strong>CA</strong>AUDDTE DOWN <strong>CA</strong>AUDTME<br />
IFTAG A;PRINT DOUBLE SPACING <strong>CA</strong>AUDDTE <strong>CA</strong>AUDTME <strong>CA</strong>AUDUID <strong>CA</strong>USHCMD<br />
<strong>CA</strong>USHOBJ <strong>CA</strong>USHDAT<br />
The preceding PRINT statement produces two reports. The first report lists the<br />
command records, with the following fields:<br />
Field On Report<br />
EVENT CODE<br />
DATE<br />
Meaning<br />
Audit event code<br />
Date event occurred<br />
5-228 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.18 Batch Reporting <strong>for</strong> <strong>CA</strong>IAUDIT<br />
Field On Report<br />
TIME<br />
USER<br />
COMMAND/SCHD NAME<br />
OBJECT/JOB NAME<br />
TYPE<br />
CLASS<br />
INDI<strong>CA</strong>TOR<br />
COMMAND TEXT<br />
Meaning<br />
Time event occurred<br />
User ID associated with the event<br />
Command issued<br />
Object of command<br />
Command type (B-Database, T-Tracking,<br />
D-Documentation, S-Staging)<br />
Command class (D-Display, I-Invalid<br />
commands, M-Maintenance commands,<br />
U-Update commands)<br />
Reserved field<br />
Text of the command.<br />
5.18.5 Audited Messages Report<br />
The Audited Messages Report report lists all message records audited <strong>for</strong><br />
<strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong>.<br />
<strong>CA</strong> AUDIT/<strong>VSE</strong><br />
SEP 22 3 <strong>CA</strong> AUDIT RECORD LISTING PAGE 1<br />
PRODUCT: SCHEDULER<br />
MESSAGE RECORDS<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
DATE TIME USER COMMAND/ OBJECT/ JOB NUMBER WS MSG NUMBER MSG ID/ SCHD USER SCHD NODE MSG TEXT<br />
SCHD NAME JOB NAME<br />
SEV CODE<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
22/9/3 8:18:21 STEVE4 52 SCHEDULE STARTED AT 8.18.<br />
22/9/3 8:18:35 STEVE4 JOB1 1 4 69 JOB STARTED AT 8.18.34<br />
22/9/3 8:18:4 STEVE4 JOB1 1 4 6 COMPLETED AT 8.18.4 COD<br />
22/9/3 8:18:49 STEVE4 JOB2 1 4 69 JOB STARTED AT 8.18.48<br />
22/9/3 8:18:56 STEVE4 6 COMPLETED AT 8.18.56 COD<br />
22/9/3 8:18:56 STEVE4 JOB2 1 4 6 COMPLETED AT 8.18.56 COD<br />
21/9/3 14:25:22 STEVE4 72 SCHEDULE STARTED AT 14.27.<br />
21/9/3 14:25:43 STEVE4 JOB1 1 4 69 JOB STARTED AT 14.27.43<br />
21/9/3 14:25:56 STEVE4 JOB1 1 4 6 COMPLETED AT 14.27.55 COD<br />
21/9/3 14:28:6 STEVE4 JOB2 1 4 69 JOB STARTED AT 14.28.6<br />
21/9/3 14:28:38 STEVE4 6 COMPLETED AT 14.28.38 COD<br />
21/9/3 14:28:38 STEVE4 JOB2 1 4 6 COMPLETED AT 14.28.38 COD<br />
JCL that produces Advantage <strong>CA</strong>-Earl reports requires the inclusion of certain<br />
work files. A generic version of these work files was cataloged into the<br />
<strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> library during installation as <strong>CA</strong>WRKLAB.Z. Tailor<br />
these files to your installation's needs and ensure that they are accessible<br />
be<strong>for</strong>e running the JCL that produces the reports. To produce this report,<br />
submit the following JCL with your job statement:<br />
Chapter 5. Reports 5-229
5.18 Batch Reporting <strong>for</strong> <strong>CA</strong>IAUDIT<br />
// JOB <strong>CA</strong>AUE8<br />
: :<br />
: :<br />
work files<br />
: :<br />
: :<br />
// EXEC EARL,SIZE=3K<br />
OPTION SORT=SRAM<br />
OPTION PRINTER=132<br />
OPTION CPAGE=56<br />
COPY <strong>CA</strong>AUEF<br />
COPY <strong>CA</strong>AUDCOD<br />
COPY <strong>CA</strong>AUE8<br />
/<br />
The control statements that print this report are contained in the <strong>CA</strong>AUE08<br />
source member (shown following). You may modify these statements to<br />
produce your own reports. Printable fields are listed in the appendix<br />
"Advantage <strong>CA</strong>-Earl Reports." (If you modify any of the source members<br />
provided, be sure to copy them with a different name so a reinstallation of the<br />
product will not replace the modified members.)<br />
! SCHEDULER MESSAGE REPORTS<br />
REPORT '<strong>CA</strong> AUDIT RECORD LISTING'<br />
TITLE'PRODUCT: SCHEDULER'<br />
TITLE 'MESSAGE RECORDS'<br />
SELECT 'A' <strong>CA</strong>AUDPRD = '<strong>CA</strong>SH' AND <strong>CA</strong>AUDPE1 = 'M'<br />
CONTROL <strong>CA</strong>AUDDTE DOWN <strong>CA</strong>AUDTME<br />
IFTAG A;PRINT DOUBLE SPACING <strong>CA</strong>AUDDTE <strong>CA</strong>AUDTME <strong>CA</strong>AUDUID<br />
<strong>CA</strong>USHSNM <strong>CA</strong>USHJNM <strong>CA</strong>USHJNO <strong>CA</strong>USHWS <strong>CA</strong>USHMNO<br />
<strong>CA</strong>USHMSV <strong>CA</strong>USHSND <strong>CA</strong>USHNOD <strong>CA</strong>USHMTX<br />
!<br />
REPORT '<strong>CA</strong> AUDIT RECORD LISTING'<br />
TITLE'PRODUCT: SCHEDULER'<br />
TITLE 'FULL MESSAGE TEXT'<br />
SELECT 'A' <strong>CA</strong>AUDPRD = '<strong>CA</strong>SH' AND <strong>CA</strong>AUDPE1 = 'M'<br />
CONTROL <strong>CA</strong>AUDDTE DOWN <strong>CA</strong>AUDTME<br />
IFTAG A;PRINT DOUBLE SPACING <strong>CA</strong>AUDDTE <strong>CA</strong>AUDTME <strong>CA</strong>USHMNO <strong>CA</strong>USHMSV<br />
<strong>CA</strong>USHTXT<br />
The preceding PRINT statement produces two reports. The first report lists the<br />
message records, with the following fields:<br />
Field On Report<br />
DATE<br />
TIME<br />
USER<br />
COMMAND/SCHD NAME<br />
OBJECT/JOB NAME<br />
JOB NUMBER<br />
Meaning<br />
Date when event occurred<br />
Time event occurred<br />
User ID associated with the event<br />
Command or schedule name<br />
Object or job name<br />
<strong>Job</strong>'s number<br />
5-230 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
5.18 Batch Reporting <strong>for</strong> <strong>CA</strong>IAUDIT<br />
Field On Report<br />
WS<br />
MSG NUMBER<br />
MSG ID/SEV CODE<br />
SCHD USER<br />
SCHD NODE<br />
MSG TEXT<br />
Meaning<br />
<strong>Job</strong>'s workstation<br />
Message number<br />
Message code (W-Warning, I-In<strong>for</strong>mation,<br />
E-Error, A-Abend)<br />
<strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> user ID associated<br />
with message.<br />
<strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> node from which the<br />
message was sent<br />
Text of the message<br />
5.18.6 Audited Commands/Response Report<br />
The Audited Commands/Response Report report lists all commands and<br />
corresponding responses audited <strong>for</strong> <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong>.<br />
<strong>CA</strong> AUDIT/<strong>VSE</strong><br />
SEP 7 3 <strong>CA</strong> AUDIT RECORD LISTING PAGE 1<br />
PRODUCT: SCHEDULER<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
-------------------------------------------------------------------------------------------------------------------------------<br />
<br />
6/9/3 16:35:51 SHUT<br />
<strong>CA</strong>CM26I SCHEDULER MONITOR IS IN THE SHUTDOWN PERIOD<br />
<br />
6/9/3 17:9:52 RUN J N=STEVE1<br />
<strong>CA</strong>CM116I RUN JOB STEVE1 DONE<br />
<br />
7/9/3 9:38:41 D D<br />
<strong>CA</strong>CM54I LAST AUTOS<strong>CA</strong>N: JUL=325 GREG=9/5/3 TIME= 8..38 AUT<br />
<strong>CA</strong>CM54I FOR DATE: JUL=325 GREG=9/5/3 TIME= 8..<br />
<strong>CA</strong>CM54I NEXT AUTOS<strong>CA</strong>N: JUL=3251 GREG=9/8/3 TIME= 8.. AUT<br />
<strong>CA</strong>CM54I FOR DATE: JUL=3251 GREG=9/8/3 TIME= 8..<br />
<strong>CA</strong>CM54I TODAY'S DATE: JUL=325 GREG=9/5/3 TIME= 9.38.41<br />
<br />
7/9/3 9:58:2 SHUT<br />
<strong>CA</strong>CM26I SCHEDULER MONITOR IS IN THE SHUTDOWN PERIOD<br />
<br />
7/9/3 1:7:59 DEFINE USERID NAME=MASTER,DESC='MASTER ID',READPASS=, X<br />
WRITPASS=,CONNECT=(4,39),TYPE=M<br />
<strong>CA</strong>CU15E DEFINE USERID MASTER DUPLI<strong>CA</strong>TE RECORD<br />
<br />
JCL that produces Advantage <strong>CA</strong>-Earl reports requires the inclusion of certain<br />
work files. A generic version of these work files was cataloged into the<br />
<strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> library during installation as <strong>CA</strong>WRKLAB.Z. Tailor<br />
these files to your installation's needs and ensure that they are accessible<br />
be<strong>for</strong>e running the JCL that produces the reports. To produce this report,<br />
submit the following JCL with your job statement:<br />
Chapter 5. Reports 5-231
5.18 Batch Reporting <strong>for</strong> <strong>CA</strong>IAUDIT<br />
// JOB <strong>CA</strong>AUE9<br />
: :<br />
: :<br />
work files<br />
: :<br />
: :<br />
// EXEC EARL,SIZE=3K<br />
OPTION SORT=SRAM<br />
OPTION PRINTER=132<br />
OPTION CPAGE=56<br />
COPY <strong>CA</strong>AUEF<br />
COPY <strong>CA</strong>AUDCOD<br />
COPY <strong>CA</strong>AUE9<br />
/<br />
The control statements that print this report are contained in the <strong>CA</strong>AUE09<br />
source member (shown following). You may modify these statements to<br />
produce your own reports. Printable fields are listed in the appendix<br />
"Advantage <strong>CA</strong>-Earl Reports." (If you modify any of the source members<br />
provided, be sure to copy them with a different name so a reinstallation of the<br />
product will not replace the modified members.)<br />
! SCHEDULER RECORD LISTING<br />
REPORT '<strong>CA</strong> AUDIT RECORD LISTING'<br />
TITLE'PRODUCT: SCHEDULER'<br />
TITLE ' '<br />
SELECT 'A' <strong>CA</strong>AUDPRD = '<strong>CA</strong>SH' AND <strong>CA</strong>AUDPE1 = 'C' AND<br />
(<strong>CA</strong>AUDCFL2 = '' OR <strong>CA</strong>AUDCFL2 = '1')<br />
SELECT 'B' <strong>CA</strong>AUDPRD = '<strong>CA</strong>SH' AND <strong>CA</strong>AUDPE1 = 'C' AND<br />
(<strong>CA</strong>AUDCFL2 = '2' OR <strong>CA</strong>AUDCFL2 = '4')<br />
SELECT 'C' <strong>CA</strong>AUDPRD = '<strong>CA</strong>SH' AND <strong>CA</strong>AUDPE1 = 'R'<br />
IFTAG A;PRINT ''<br />
''<br />
''<br />
IFTAG A;PRINT ' '<br />
IFTAG A;PRINT <strong>CA</strong>AUDDTE <strong>CA</strong>AUDTME <strong>CA</strong>USHDAT<br />
IFTAG B;PRINT @<strong>CA</strong>USHDAT <strong>CA</strong>USHDAT<br />
IFTAG C;PRINT @<strong>CA</strong>USHDAT <strong>CA</strong>USHRSP<br />
The preceding PRINT statement produces a report with the following fields:<br />
Field On Report<br />
DATE<br />
TIME<br />
TEXT<br />
Meaning<br />
Date when event occurred<br />
Time the event occurred<br />
Command and response to the command<br />
5-232 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
Appendix A. Criteria Vocabulary<br />
This appendix describes the following topics:<br />
■<br />
■<br />
■<br />
■<br />
Reserved Words<br />
Gregorian Calendar Conditions<br />
Workday Conditions<br />
Accounting Conditions<br />
Appendix A. Criteria Vocabulary A-1
A.1 Reserved Words<br />
A.1 Reserved Words<br />
To Show That<br />
Criteria consists of two or more selection<br />
reasons, any one of which will cause a job or<br />
schedule to be selected. (See the <strong>Unicenter</strong><br />
<strong>CA</strong>-<strong>Scheduler</strong> User <strong>Guide</strong> <strong>for</strong> details on the<br />
specific uses of this keyword.)<br />
A selection reason consists of two or more<br />
conditions, all of which must be met <strong>for</strong> a job<br />
or schedule to be selected<br />
Two or more conditions count as one reason<br />
All conditions must be satisfied except this<br />
one negate the condition)<br />
Specify<br />
OR between reasons<br />
AND between conditions<br />
( ) around the conditions<br />
NOT be<strong>for</strong>e the exception<br />
To Show That A Predecessor Condition Causes Its<br />
Successor To Be Selected And Is The<br />
Start of a<br />
schedule<br />
job<br />
End of a<br />
schedule<br />
job<br />
Precede It With<br />
START SCD<br />
START<br />
SCD<br />
To show that the predecessor is a schedule that completed on a previous day<br />
and thus has no effect on the selection of its successor, precede it with PRED<br />
SCD.<br />
To show that the predecessor is a job that completed on a previous day and<br />
thus has no effect on the selection of its successor, precede it with PRED.<br />
Use PRED only to identify predecessors that are NOT selected on the same<br />
day as their successors. (For example, if the predecessor is selected on a<br />
Monday and the successor is selected on a Friday. In this case, if both the<br />
PRED predecessor and the successor are selected together, the successor will<br />
wait <strong>for</strong> the PRED predecessor event to occur within this production day.)<br />
In most cases, predecessors and successors are selected together. A job that is<br />
selected with its successor does not need any reserved word to identify it as a<br />
predecessor. The only reserved words required <strong>for</strong> predecessors and successors<br />
selected together are SCD and START, as shown in the chart at the top of the<br />
page.<br />
A-2 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
A.1 Reserved Words<br />
To Show That The Predecessor Is The<br />
End of a nonscheduled DOS job<br />
End on a previous day of a nonscheduled DOS job<br />
Close of a<br />
output data set<br />
output generation data group<br />
Close on a previous day of a<br />
output data set<br />
output generation data group<br />
GDG<br />
User-defined event that is satisfied when an operator<br />
or authorized user supplies a value on a SET<br />
GBLXnn= command that matches the value specified<br />
by the GBLxnn=value on the CRITERIA keyword<br />
(where nn is a number from 1 to 16.)<br />
<strong>Job</strong> running on another node of the NJE network<br />
Precede It With<br />
DOS<br />
PRED DOS<br />
DSN<br />
GDG<br />
PRED DSN<br />
PRED GDG<br />
GBLxnn=<br />
NJE<br />
Appendix A. Criteria Vocabulary A-3
A.2 Gregorian Calendar Conditions<br />
A.2 Gregorian Calendar Conditions<br />
These conditions are based on the standard Gregorian calendar and not on<br />
workdays or accounting days; there<strong>for</strong>e, you can use these conditions in<br />
criteria statements whether you have defined a datetable. To see what<br />
Gregorian conditions are satisfied on any given day, consult the Date<br />
Translation Table.<br />
If You Specify<br />
REQUESTED<br />
DAILY<br />
WEEK-DAY<br />
WEEK-END<br />
SUN<br />
MON<br />
TUE<br />
WED<br />
THU<br />
FRI<br />
SAT<br />
MWF<br />
TT<br />
JAN<br />
FEB<br />
MAR<br />
APR<br />
MAY<br />
JUN<br />
JUL<br />
AUG<br />
SEP<br />
OCT<br />
NOV<br />
DEC<br />
Schedules And <strong>Job</strong>s Will Be Selected On<br />
Request (They are actually selected every day but<br />
must be activated by the REQUEST or SREQ<br />
command to be moved to the active queue <strong>for</strong><br />
processing. Note, when using the REQUEST/SREQ<br />
command with other criteria, that criteria are<br />
evaluated from left to right. There<strong>for</strong>e, if you list<br />
REQUEST/SREQ be<strong>for</strong>e another condition, like JOBA,<br />
the schedule or job will be selected every day but<br />
must be activated by the REQUEST/SREQ<br />
command.)<br />
Monday through Friday<br />
Every day, including weekends and holidays<br />
Saturday and Sunday<br />
Sunday<br />
Monday<br />
Tuesday<br />
Wednesday<br />
Thursday<br />
Friday<br />
Saturday<br />
Monday, Wednesday, and Friday<br />
Tuesday and Thursday<br />
January<br />
February<br />
March<br />
April<br />
May<br />
June<br />
July<br />
August<br />
September<br />
October<br />
November<br />
December<br />
A-4 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
A.2 Gregorian Calendar Conditions<br />
If You Specify<br />
1ST<br />
.<br />
.<br />
31ST<br />
SUN1<br />
SUN2<br />
SUN3<br />
SUN4<br />
SUN5<br />
.<br />
.<br />
SAT5<br />
SUN-1<br />
SUN-2<br />
SUN-3<br />
SUN-4<br />
SUN-5<br />
.<br />
.<br />
SAT-5<br />
1ST-WEEK<br />
2ND-WEEK<br />
3RD-WEEK<br />
4TH-WEEK<br />
5TH-WEEK<br />
6TH-WEEK<br />
WOY1<br />
.<br />
.<br />
WOY53<br />
WOY-1<br />
.<br />
.<br />
WOY-53<br />
DAY1OF2<br />
DAY2OF2<br />
DAY1OF3<br />
DAY2OF3<br />
DAY3OF3<br />
.<br />
.<br />
DAY6OF6<br />
Schedules And <strong>Job</strong>s Will Be Selected On<br />
1st day of the month<br />
through the<br />
31st day of the month<br />
1st Sunday of the month<br />
2nd Sunday of the month<br />
3rd Sunday of the month<br />
4th Sunday of the month<br />
5th Sunday of the month<br />
5th Saturday of the month<br />
Last Sunday of the month<br />
Next to last Sunday of the month<br />
Second to last Sunday of the month<br />
Third to last Sunday of the month<br />
Fourth to last Sunday of the month<br />
.<br />
.<br />
Fourth to last Saturday of the month<br />
First week of the month through the sixth week of<br />
the month. (The first week includes those days that<br />
precede and include the first Saturday; the second<br />
week includes those days that follow the first<br />
Saturday and precede and include the second<br />
Saturday; and so on.)<br />
First week of the year through the 53rd week of the<br />
year.<br />
Last week of the year through the 52nd to last week<br />
of the year.<br />
According to a cycle lasting from one to six days. The<br />
base date <strong>for</strong> all cycles is Jan 1, 1900. To determine<br />
where a specific date falls within each cycle, see the<br />
Date Translation Table that is generated as part of<br />
each simulation run. This will tell you, <strong>for</strong> example,<br />
that Sept 17, 1994 is the first day in a three-day cycle<br />
and the fourth day in a five-day cycle.<br />
Appendix A. Criteria Vocabulary A-5
A.2 Gregorian Calendar Conditions<br />
If You Specify<br />
WEEK1OF2<br />
WEEK2OF2<br />
WEEK1OF3<br />
WEEK2OF3<br />
WEEK3OF3<br />
.<br />
.<br />
WEEK6OF6<br />
DOM-1<br />
.<br />
.<br />
DOM-31<br />
Y1994<br />
.<br />
.<br />
Y2000<br />
LEAP-YEAR<br />
Schedules And <strong>Job</strong>s Will Be Selected On<br />
According to a cycle lasting from one to six weeks.<br />
The base date <strong>for</strong> all cycles is Jan 1, 1900. To<br />
determine where a specific day falls within each<br />
cycle, see the Date Translation Table that is generated<br />
as part of each simulation run. This will tell you, <strong>for</strong><br />
example, that Sept 17, 1994 falls in the first week in a<br />
three-week cycle and in the last week in a two-week<br />
cycle.<br />
Last day of the month through the 30th to last day of<br />
the month.<br />
Year 1994 through year 2000.<br />
Leap year.<br />
A-6 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
A.3 Workday Conditions<br />
A.3 Workday Conditions<br />
To use these workday conditions, you must use the Datetable Definition panel<br />
to define workdays and holidays <strong>for</strong> three years: last year, this year, and next<br />
year. Then you can consult the Date Translation Table to see what workday<br />
conditions are satisfied on any given day. The following criteria keywords can<br />
only be used if the schedule or job is selected by a datetable.<br />
If You Specify<br />
WDAY<br />
HDAY<br />
WDOW1<br />
.<br />
.<br />
WDOW7<br />
WDOW-1<br />
.<br />
.<br />
WDOW-7<br />
WDOM1<br />
.<br />
.<br />
WDOM31<br />
WDOM1<br />
.<br />
.<br />
WDOM31<br />
WWOM1<br />
.<br />
.<br />
WWOM6<br />
WWOM-1<br />
.<br />
.<br />
WWOM-6<br />
WWOY1<br />
.<br />
.<br />
WWOY53<br />
Schedules And <strong>Job</strong>s Will Be Selected On<br />
All workdays (days shown in high intensity on the<br />
datetable)<br />
All holidays (days shown in low intensity on the<br />
datetable)<br />
First workday of the week through the seventh workday<br />
of the week. (Any day shown in high intensity on the<br />
datetable is counted as a workday.)<br />
Last workday of the week through the 6th to last<br />
workday of the week. (Any day shown in high intensity<br />
on the datetable is counted as a workday.)<br />
First workday of the month through the 31st workday of<br />
the month. (Any day shown in high intensity on the<br />
datetable is counted as a workday.)<br />
Last workday of the month through the 30th to last<br />
workday of the month. (Any day shown in high<br />
intensity on the datetable is counted as a workday.)<br />
First work week of the month through the 6th work<br />
week of the month. (Any week with at least one<br />
workday is counted as a work week.)<br />
Last work week of the month through the 5th to last<br />
work week of the month. (Any week with at least one<br />
workday is counted as a work week.)<br />
First work week of the year through the 53rd work week<br />
of the year. (Any week with at least one workday is<br />
counted as a work week.)<br />
Appendix A. Criteria Vocabulary A-7
A.3 Workday Conditions<br />
If You Specify<br />
WWOY-1<br />
.<br />
.<br />
WWOY-53<br />
RD01 = -nn<br />
.<br />
.<br />
RD31 = +nn<br />
HDAY1<br />
.<br />
.<br />
HDAY31<br />
HDAY-1<br />
.<br />
.<br />
HDAY-7<br />
Schedules And <strong>Job</strong>s Will Be Selected On<br />
Last work week of the year through the 52nd to last<br />
work week of the year. (Any week with at least one<br />
workday is counted as a work week.)<br />
So many workdays be<strong>for</strong>e (-nn) or after (+nn) the first<br />
day of the month (RD01) or the second day of the month<br />
(RD02) or the third day of the RD31 = +nn month<br />
(RD03) and so on, up to the thirty-first day of the month<br />
(RD31). For example, to select a job on the fifth<br />
workday after the 14th of the month, specify RD14 = +5.<br />
To select a job on the third workday be<strong>for</strong>e the 25th of<br />
the month, specify RD25 = -3. (Note that nn may range<br />
from -31 to +31, a blank must precede and follow the<br />
equal sign, and a leading zero is not required with a<br />
one-digit number.)<br />
If the current date plus 1 day is a holiday<br />
If the current date plus 31 days is a holiday<br />
If the current date minus 1 day was a holiday<br />
If the current date minus 7 days was a holiday<br />
A-8 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
A.4 Accounting Conditions<br />
A.4 Accounting Conditions<br />
To use these accounting conditions, you must use the Datetable Definition<br />
panel to define which days are accounting days, when each period ends, and<br />
when the accounting year ends. (Note that periods can be accounting periods,<br />
production periods, sales cycles, or any other unit of time.) You must do this<br />
<strong>for</strong> three years: last year, this year, and next year. Then you can consult the<br />
Date Translation Table to see which accounting conditions are satisfied on any<br />
given day.<br />
If you have defined a prefix on the Datetable Definition panel, substitute that<br />
prefix <strong>for</strong> the x in the words following (<strong>for</strong> example, BDAY or CDOM or<br />
DMOY or GWOM). If you have not defined a prefix, substitute A <strong>for</strong> the x:<br />
ADAY, ADOM, AMOY, or AWOM). If you use ADAY in a criteria statement,<br />
accounting conditions will be taken from the A version of the datetable (the<br />
default version). If you use BDAY in a criteria statement, accounting<br />
conditions will be taken from the B version of the datetable. Workday and<br />
holiday conditions are always taken from the A version. You must have<br />
defined an 'A' datetable prefix prior to defining any other prefix <strong>for</strong> a<br />
datetable.<br />
If You Specify<br />
xDAY<br />
xDOM1<br />
.<br />
.<br />
xDOM40<br />
xDOM-1<br />
.<br />
.<br />
xDOM-40<br />
Schedules And <strong>Job</strong>s Will Be Selected On<br />
All accounting days (days designated on the datetable) by<br />
A or another prefix).<br />
First accounting day of the period through the 40th<br />
accounting day of the period. Any day designated by A<br />
(or another prefix) on the datetable is counted as an<br />
accounting day. Note that to use these criteria, you must<br />
define at least two accounting periods on the datetable.<br />
To do this, go through the datetable and designate the<br />
end of each period by typing a P on any date. (The end of<br />
the period defaults to the last day of each month.)<br />
Last accounting day of the period through the 39th to last<br />
accounting day of the period. Any day designated by A<br />
(or another prefix) on the datetable is counted as an<br />
accounting day Note that to use these criteria, you must<br />
define at least two periods on the datetable. To do this, go<br />
through the datetable and designate the end of each<br />
period by typing a P on any date.<br />
Appendix A. Criteria Vocabulary A-9
A.4 Accounting Conditions<br />
If You Specify<br />
xMOY1<br />
.<br />
.<br />
xMOY53<br />
xMOY-1<br />
.<br />
.<br />
xMOY-53<br />
xWOM1<br />
.<br />
.<br />
xWOM10<br />
xWOM-1<br />
.<br />
.<br />
xWOM-10<br />
Schedules And <strong>Job</strong>s Will Be Selected On<br />
First period of the accounting year through the 53rd<br />
period of the accounting year. Note that to use these<br />
criteria, you must designate the ends of two accounting<br />
years. To do this, define datetables <strong>for</strong> two years and<br />
designate the end of each accounting year by typing an E<br />
on any date. (The end of the accounting year defaults to<br />
the last day of each year.)<br />
Last period of the accounting year through the 52nd to<br />
last period of the accounting year. Note that to use these<br />
criteria, you must designate the ends of two accounting<br />
years. To do this, define datetables <strong>for</strong> two years and<br />
designate the end of each accounting year by typing an E<br />
on any date. The end of the accounting year defaults to<br />
the last day of each year.)<br />
First accounting week of the period through the 10th<br />
accounting week of the period. (Any week with at least<br />
one accounting day counts as an accounting week.) Note<br />
that to use these criteria, you must define at least two<br />
periods on the datetable. To do this, go through the<br />
datetable and designate the end of each period by typing<br />
a P on any date. (The end of the period defaults to the<br />
last day of each month.)<br />
Last accounting week of the period through the 9th to last<br />
accounting week week of the period. (Any week with at<br />
least one accounting days count as an accounting week.)<br />
Note that in order to use these criteria, you must define at<br />
least two periods on the datetable. To do this, go<br />
through the datetable and designate the end of each<br />
period by typing a P on any date. (The end of the period<br />
defaults to the last day of each month.)<br />
A-10 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
Appendix B. Batch Command Examples<br />
This appendix includes Batch Command examples that illustrate the batch<br />
commands described in the "Online Panels and Batch Maintenance" chapter.<br />
For more in<strong>for</strong>mation on these batch commands, refer to the corresponding<br />
section of that chapter.<br />
Appendix B. Batch Command Examples B-1
B.1 Stations<br />
B.1 Stations<br />
Following are examples of Stations batch commands.<br />
B.1.1 Example 1: Define STation<br />
// JOB DEFINE STATION RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DEFINE STATION ID=2,<br />
NAME=entry,<br />
DESC='data entry station',<br />
/<br />
/&<br />
B.1.2 Example 2: ALter STation<br />
TITLE='Data Entry Schedule'<br />
unique station ID<br />
station name<br />
description<br />
report title<br />
The preceding example adds a data entry workstation to the database. Since<br />
data entry tasks must be per<strong>for</strong>med be<strong>for</strong>e jobs are processed at the CPU, the<br />
data entry station is assigned a number lower than 40, which is the number of<br />
the CPU station. A job that is scheduled at a pre-CPU station (numbers 01<br />
through 39) is automatically considered to be a predecessor to the same job at<br />
the CPU. This means that the job must have ended (using the COMPLETE<br />
online command) at the pre-CPU station be<strong>for</strong>e it is available <strong>for</strong> submission at<br />
the CPU. Thus, by defining job base records <strong>for</strong> a job at both stations 20 and<br />
40, you ensure that the data entry task is completed be<strong>for</strong>e the job runs at the<br />
CPU because <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> automatically en<strong>for</strong>ces the processing<br />
sequence between pre-CPU stations and the CPU. (The same sequence<br />
en<strong>for</strong>cement is provided between the CPU and stations assigned a number<br />
higher than 40 to ensure than a job ends successfully at the CPU be<strong>for</strong>e it can<br />
be started at a post-CPU station.) The title 'Data Entry Schedule' will appear<br />
on any simulation reports that are produced to show which jobs will be<br />
scheduled <strong>for</strong> processing at this station on any given day.<br />
// JOB ALTER STATION RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
ALTER STATION ID=2,<br />
/<br />
/&<br />
station ID from define command<br />
TITLE='pre-cpu station (data entry)'<br />
new title<br />
The preceding example changes the title that will appear on all reports<br />
produced <strong>for</strong> this workstation.<br />
B-2 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
B.1 Stations<br />
B.1.3 Example 3: DELete STation<br />
// JOB DELETE STATION RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DELETE STATION ID=2<br />
/<br />
/&<br />
station ID from define command<br />
The preceding example removes station 20 from the database. When a station<br />
is deleted, you must check all userid records and job in<strong>for</strong>mation records in<br />
the database to see if they list this station ID on the CONNECT or ROUT<br />
keyword. If so, you must use the ALTER command to remove this ID from the<br />
list of stations. If you do not do this, your userid and job in<strong>for</strong>mation records<br />
will refer to an undefined station. (The ANALYZE command can help you<br />
identify these undefined references.)<br />
Appendix B. Batch Command Examples B-3
B.2 Userids<br />
B.2 Userids<br />
B.2.1 Example 1: Define USerid<br />
Following are examples of Userids batch commands.<br />
// JOB DEFINE USERID RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DEFINE USERID NAME=acctg,<br />
logon ID<br />
DESC='accounting dept logon id', description<br />
READPASS=money,<br />
read password<br />
WRITPASS=taxes,<br />
write password<br />
/<br />
/&<br />
B.2.2 Example 2: ALter USerid<br />
CONNECT=(4,2,39)<br />
connect to these stations<br />
The preceding example defines a userid <strong>for</strong> the accounting department. No<br />
TYPE is specified; there<strong>for</strong>e, this userid has a general authority level. This<br />
means that the userid acctg can only access stations listed after CONNECT,<br />
and can only control schedules that authorize it on their schedule base records.<br />
The users in this department must give the password MONEY to log on to<br />
<strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> to display schedules. They must also give the<br />
password TAXES to maintain or control schedules that specify ACCTG as an<br />
authorized USERID. When they log on, they may specify that they want to be<br />
connected to station 40, 20 or 39. If they do not specify, they will automatically<br />
be connected to the first station listed, which in this case is the CPU station. If<br />
they later need to be connected to station 20 or 39, they can type in the station<br />
ID preceded by a slash in the command input area of any panel.<br />
// JOB ALTER USERID RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
ALTER USERID NAME=acctg,<br />
/<br />
/&<br />
CONNECT=(4,2,39,7)<br />
userid from define command<br />
add a station<br />
The preceding example adds station 70 to the list of stations that the ACCTG<br />
userid can connect to. Note that CONNECT on the ALTER USERID command<br />
overlays CONNECT on the DEFINE USERID command. There<strong>for</strong>e, the three<br />
stations originally defined <strong>for</strong> this userid must be listed here along with the<br />
additional station to be retained in the database. Now when users log on with<br />
the ACCTG userid, they can connect to station 70 as well as to stations 20, 39,<br />
and 40.<br />
B-4 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
B.2 Userids<br />
B.2.3 Example 3: DELete USerid<br />
// JOB DELETE USERID RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DELETE USERID NAME=acctg,<br />
/<br />
/&<br />
WRITPASS=writpass<br />
userid from define command<br />
userid's write password<br />
The preceding example removes the ACCTG userid from the database. When<br />
a userid is deleted, you must check all keywords on the schedule message and<br />
job message records and the USERID keyword on the schedule base record to<br />
see if they list this userid. If so, you must use the ALTER command to remove<br />
this userid from the list. If you do not do this, these records will refer to an<br />
undefined userid. (The ANALYZE command can help you identify undefined<br />
references.)<br />
Appendix B. Batch Command Examples B-5
B.3 Schedules<br />
B.3 Schedules<br />
B.3.1 Example 1: Define SBR<br />
Following are examples of Schedules batch commands.<br />
// JOB DEFINE SCHEDULE BASE RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DEFINE SBR NAME=custmast,<br />
AUTOSEL=yes,<br />
USERIDS=(acctg,sales),<br />
SPRTY=25,<br />
SYSID=2,<br />
CLASS=s,<br />
PRTY=1,<br />
ERLYTIME=1,<br />
DEADLINE=17,<br />
/<br />
/&<br />
MAXTIME=4<br />
unique schedule name<br />
automatic selection at AUTOS<strong>CA</strong>N<br />
authorized users<br />
schedule priority<br />
controlling CPU<br />
class default<br />
priority default<br />
earliest start time<br />
deadline<br />
maximum processing time<br />
The preceding example defines a schedule named CUSTMAST that will be<br />
automatically selected on the days specified on its criteria record. If it is not<br />
processed on those days, it will be carried over to the next day as backlog.<br />
The schedule can be controlled by users logging on with the ACCTG userid or<br />
the SALES userid. This means that these users can issue online commands to<br />
run, <strong>for</strong>ce, cancel, hold or release this schedule and the jobs in this schedule.<br />
The schedule priority of 25 is high, so this schedule will be started be<strong>for</strong>e<br />
many other schedules. All of the jobs in this schedule will be controlled by<br />
CPU 2 with a class of S and a priority of 1, unless CLASS or PRTY are<br />
overridden by different values at the job level.<br />
The schedule cannot start until 10:00 a.m. and must end by 5:00 p.m. If it does<br />
not complete by its deadline, a late message is issued to the userid specified on<br />
the MSG installation option on the <strong>CA</strong>IJGEN macro. (If you want this late<br />
message sent to users other than the one specified on the MSG installation<br />
option, use the LATEMSG keyword on the schedule message record to specify<br />
different users.) The schedule is also monitored in terms of its elapsed time; if<br />
it takes longer to process than four hours, a late message is also issued.<br />
No message is sent when the schedule starts unless the STARTMSG keyword<br />
is specified on a schedule message record.<br />
B-6 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
B.3 Schedules<br />
B.3.2 Example 2: Define SBR<br />
// JOB DEFINE SCHEDULE BASE RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DEFINE SBR NAME=invntory,<br />
PROTOTYP=custmast,<br />
USERIDS=(dept1,boss3),<br />
/<br />
/&<br />
B.3.2.1 Example 3: ALter SBR<br />
DEADLINE=18<br />
unique schedule name<br />
model record<br />
authorized users<br />
deadline<br />
The preceding example defines a schedule named INVNTORY. It references<br />
CUSTMAST as its prototype so all of the in<strong>for</strong>mation in the CUSTMAST<br />
schedule base record is copied to the INVNTORY schedule base record. Any<br />
keywords that need to be changed <strong>for</strong> INVNTORY can be included on this<br />
command. Most of the values defined <strong>for</strong> CUSTMAST are also valid <strong>for</strong><br />
INVNTORY, except that different users are authorized to control this schedule<br />
and the deadline is changed to 6:00 p.m.<br />
// JOB ALTER SCHEDULE BASE RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
ALTER SBR NAME=custmast,<br />
USERIDS=acctg,<br />
SPRTY=5,<br />
CLASS=x,<br />
DEADLINE=18,<br />
/<br />
/&<br />
MAXTIME=43<br />
schedule name from define command<br />
delete one authorized user<br />
change schedule priority<br />
change class default<br />
change deadline<br />
change maximum processing time<br />
The preceding example changes some of the values defined <strong>for</strong> the<br />
CUSTMAST schedule. Originally, both the ACCTG and SALES userids were<br />
authorized to control this schedule. Then it is decided to restrict this<br />
authorization to ACCTG only. To remove SALES as an authorized userid,<br />
specify only ACCTG on the USERIDS keyword when we submit the ALTER<br />
SBR command. This new value will overlay USERIDS=(ACCTG,SALES) in the<br />
database so that from now on the only authorized userid listed in the database<br />
(<strong>for</strong> schedule CUSTMAST) is ACCTG.<br />
It is also decided to lower this schedule's relative priority from 25 to 50. At the<br />
same time you can extend its deadline, lengthen its maximum processing time,<br />
and change the class that will be assigned to all of the jobs in the schedule.<br />
Note that only the values specified here are changed in the CUSTMAST<br />
schedule base record; the rest of the values that were defined <strong>for</strong> this record<br />
remain the same.<br />
Appendix B. Batch Command Examples B-7
B.3 Schedules<br />
B.3.2.2 Example 4: DELete SBR<br />
// JOB DELETE SCHEDULE BASE RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DELETE SBR NAME=custmast<br />
/<br />
/&<br />
schedule name<br />
The preceding example deletes the CUSTMAST schedule base record from the<br />
database.<br />
B.3.2.3 Example 5: DELete SCHEDULE<br />
B.3.3 Define Criteria<br />
B.3.3.1 Example 1: Define SCR<br />
// JOB DELETE SCHEDULE<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DELETE SCHEDULE NAME=custmast<br />
/<br />
/&<br />
schedule name<br />
The preceding example removes the CUSTMAST schedule from the database.<br />
It deletes the schedule base record and all other schedule records that have<br />
been defined <strong>for</strong> CUSTMAST. Any jobs that have been assigned to this<br />
schedule remain in the database, but they can never be selected since they are<br />
no longer part of a schedule. There<strong>for</strong>e, you must either delete all the jobs<br />
within this schedule, or define a schedule with the same name.<br />
Following are Define Criteria examples.<br />
// JOB DEFINE SCHEDULE CRITERIA RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DEFINE SCR NAME=custmast,<br />
/<br />
/&<br />
<strong>CA</strong>LENDAR=tuesdays,<br />
CRITERIA='custup1 or<br />
pred joba or<br />
gblc1=tp1here or<br />
dsn ''acc.sales.totals''<br />
schedule name from base record<br />
calendar to be referenced<br />
predecessor conditions<br />
This sample criteria record directs <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> to select the<br />
CUSTMAST schedule every Tuesday. (The TUESDAYS calendar was defined<br />
online, and Tuesday was specified as the day to process any schedules and<br />
jobs that reference this calendar.) If Tuesday is a holiday, the schedule will be<br />
selected on Monday since PW on the prototype calendar directs <strong>Unicenter</strong><br />
<strong>CA</strong>-<strong>Scheduler</strong> to select schedules on the previous workday in case of a<br />
holiday.<br />
The CRITERIA keyword defines four predecessor conditions that must be<br />
satisfied be<strong>for</strong>e this schedule starts: the CUSTUP1 job must complete if it is<br />
also selected today; JOBA, which was selected on a previous day, must have<br />
B-8 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
B.3 Schedules<br />
B.3.3.2 Example 2: Define SCR<br />
B.3.3.3 Example 3: ALter SCR<br />
been completed; the ACC.SALES.TOTALS data set must close; and the global<br />
variable TP1HERE must be supplied. This global variable is defined so that the<br />
schedule cannot start until a tape is delivered from another site. The variable<br />
can be supplied by the SET GBLC1=TP1HERE online command issued by the<br />
operator.<br />
In summary, this schedule will be selected every Tuesday according to the<br />
calendar workdays, and all the jobs in this schedule will run when any of the<br />
four predecessor conditions have been satisfied (unless the individual job<br />
criteria records specify different workdays or predecessors). Note that a<br />
criteria record like this must be defined <strong>for</strong> every schedule unless you want it<br />
selected <strong>for</strong> processing every workday with no predecessors.<br />
// JOB DEFINE SCHEDULE CRITERIA RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DEFINE SCR NAME=invntory,<br />
CRITERIA='(amoy3 and awom-1 and wdow-1 and scd qrtrly) or<br />
(amoy6 and awom-1 and wdow-1 and scd qrtrly) or<br />
(amoy9 and awom-1 and wdow-1 and scd qrtrly) or<br />
(amoy12 and awom-1 and wdow-1 and scd qrtrly)'<br />
/<br />
/&<br />
This sample criteria record directs <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> to select the<br />
INVNTORY schedule on the last workday of the last week of the accounting<br />
month that ends every quarter. (Workdays and accounting periods referenced<br />
on the CRITERIA keyword are defined to <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> on the date<br />
table specified on the <strong>CA</strong>IJGEN macro or on an alternate date table specified<br />
on the DATETABL keyword in the schedule base record.) It also establishes<br />
the QRTRLY schedule as the predecessor to the INVNTORY schedule so that<br />
the jobs in the INVNTORY schedule cannot run until the QRTRLY schedule<br />
jobs have ended. Since these criteria are expressed as four different reasons,<br />
you can define a reason code record <strong>for</strong> this schedule and assign different<br />
processing times to the schedule when it is selected <strong>for</strong> different reasons.<br />
// JOB ALTER SCHEDULE CRITERIA RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
ALTER SCR NAME=custmast,<br />
/<br />
/&<br />
CRITERIA='custup1 or<br />
pred joba or<br />
glbl1=tp1here or<br />
dsn ''acc.sales.totals''<br />
or joba-2 7 custlist'<br />
schedule name from define command<br />
old and new predecessors<br />
The preceding example adds a fifth predecessor condition to the four that were<br />
originally defined <strong>for</strong> the CUSTMAST schedule. Since the CRITERIA keyword<br />
submitted on an ALTER SCR command overlays the CRITERIA keyword<br />
Appendix B. Batch Command Examples B-9
B.3 Schedules<br />
B.3.3.4 Example 4: DELete SCR<br />
B.3.4 Reasons Definition<br />
B.3.4.1 Example 1: Define SRC<br />
submitted on the DEFINE SCR command, you must repeat the four<br />
predecessors previously defined to keep them in the database. If only the new<br />
predecessor is specified here, it will replace the first four instead of joining<br />
them. There<strong>for</strong>e, the CRITERIA keyword above lists the four predecessors the<br />
same way they were listed on the DEFINE command and adds the new one,<br />
which is the completion of a job at the report distribution station, which we<br />
are assuming is station 70. Since this job runs twice a day, the -2 qualifier is<br />
added to the jobname to specify that the predecessor is the second occurrence<br />
of JOBA. Since JOBA is assigned to two different schedules, the schedule<br />
name is also given here to ensure that CUSTMAST waits <strong>for</strong> the right job to<br />
end.<br />
// JOB DELETE SCHEDULE CRITERIA RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DELETE SCR NAME=custmast<br />
schedule name<br />
/<br />
/&<br />
The preceding example deletes the CUSTMAST schedule criteria record.<br />
Without a criteria record, the schedule is automatically selected <strong>for</strong> processing<br />
every workday, which is the default selection criteria <strong>for</strong> schedules without<br />
criteria records.<br />
Following are Reasons Definition (<strong>Job</strong>s) examples.<br />
// JOB DEFINE SCHEDULE REASON CODE RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DEFINE SRC NAME=invntory,<br />
schedule name from base record<br />
MAX1=1,<br />
first reason's maximum run time<br />
MAX2=2,<br />
second reason's maximum run time<br />
MAX3=3,<br />
third reason's maximum run time<br />
MAX4=4,<br />
fourth reason's maximum run time<br />
DEAD1=18,<br />
first reason's deadline<br />
DEAD2=2,<br />
second reason's deadline<br />
DEAD3=23,<br />
third reason's deadline<br />
DEAD4=11<br />
fourth reason's deadline<br />
/<br />
/&<br />
The preceding example illustrates how you can define a schedule reason code<br />
record <strong>for</strong> schedules that are selected <strong>for</strong> more than one reason. The<br />
CRITERIA keyword on the schedule criteria record <strong>for</strong> the INVNTORY<br />
schedule listed four reasons <strong>for</strong> this schedule to be selected. Since these<br />
reasons occur later and later in the accounting year, it can be assumed that it<br />
will take longer and longer to process this schedule each time it is selected.<br />
There<strong>for</strong>e, you can allow an hour to process the schedule at the end of the first<br />
quarter and expect it to be done by 6:00 p.m.; you can allow two hours to<br />
B-10 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
B.3 Schedules<br />
B.3.4.2 Example 2: ALter SRC<br />
B.3.4.3 Example 3: DELete SRC<br />
process the schedule at the end of the second quarter and expect it to be done<br />
by 8:00 p.m.; you can allow three hours to process the schedule at the end of<br />
the third quarter and expect it to be done by 11:00 p.m. at night. Note that the<br />
deadline <strong>for</strong> the last quarter is set at 1:00 a.m. This is done by adding one day<br />
to the time so that the deadline extends past midnight on the day the schedule<br />
is selected.<br />
// JOB ALTER SCHEDULE REASON CODE RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
ALTER SRC NAME=invntory, schedule name from define command<br />
MAX4=5,<br />
change fourth reason's maximum run time<br />
DEAD4=12<br />
change fourth reason's deadline<br />
/<br />
/&<br />
The preceding example changes the values defined <strong>for</strong> the INVNTORY<br />
schedule when it is selected <strong>for</strong> the fourth reason only. Remember that the<br />
INVNTORY schedule is selected four times a year, at the end of each<br />
accounting quarter, and that the original reason code record defined <strong>for</strong> this<br />
schedule increased its processing time as the year went on. At the end of the<br />
year, you find out that the schedule takes an hour longer to process than the<br />
four hours originally allowed. There<strong>for</strong>e, this command increases the<br />
maximum run time and deadline <strong>for</strong> this schedule when it is selected <strong>for</strong> the<br />
fourth reason only. Times defined <strong>for</strong> the other three reasons remain<br />
unchanged. Note that a one is added to the 2:00 a.m. deadline to set the<br />
deadline at 2:00 a.m. the next day.<br />
// JOB DELETE SCHEDULE REASON CODE RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DELETE SRC NAME=invntory<br />
schedule name<br />
/<br />
/&<br />
The preceding example deletes the schedule reason code record that was<br />
defined and altered <strong>for</strong> the INVNTORY schedule. Deleting this record means<br />
that the MAX and DEAD times listed on the DEFINE SRC and ALTER SRC<br />
commands <strong>for</strong> this schedule are no longer in effect. If MAXTIME or<br />
DEADLINE was defined on the INVNTORY schedule base record, these times<br />
will now be assigned to the schedule when it is selected <strong>for</strong> each of its four<br />
reason codes. If MAXTIME and DEADLINE were not defined on the schedule<br />
base record, the schedule will still be selected <strong>for</strong> the same four reasons but<br />
will be processed without a deadline or maximum processing time.<br />
Appendix B. Batch Command Examples B-11
B.3 Schedules<br />
B.3.5 Message Definition<br />
B.3.5.1 Example 1: Define SMR<br />
Following are Message Definition examples.<br />
// JOB DEFINE SCHEDULE MESSAGE RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DEFINE SMR NAME=custmast,<br />
STARTMSG=(acctg,sales),<br />
/<br />
/&<br />
B.3.5.2 Example 2: ALter SMR<br />
ENDMSG=(acctg,sales)<br />
schedule name from base record<br />
message when schedule starts<br />
message when schedule ends<br />
The preceding example defines a message record <strong>for</strong> the CUSTMAST schedule.<br />
Messages will be sent to both the ACCTG and SALES userids when this<br />
schedule starts and ends, regardless of which station it starts and ends at. If<br />
this schedule misses its deadline or exceeds its MAXTIME (both defined on the<br />
base record), late messages will be sent to the operator as specified on the<br />
MSG installation option. Note that it is not necessary to specify LATEMSG on<br />
this message record as long as the userid specified on the MSG installation<br />
option is acceptable <strong>for</strong> this schedule.<br />
// JOB ALTER SCHEDULE MESSAGE RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
ALTER SMR NAME=custmast,<br />
/<br />
/&<br />
B.3.5.3 Example 3: DELete SMR<br />
LATEMSG=acctg<br />
schedule name from define command<br />
add userid <strong>for</strong> late messages<br />
The preceding example adds LATEMSG to the CUSTMAST schedule message<br />
record. When the message record was originally defined <strong>for</strong> this schedule,<br />
userids were designated to receive start and end messages. LATEMSG was not<br />
coded because late messages are automatically sent to the userid specified on<br />
the MSG installation option, which is assumed to be OPERATOR. Now you<br />
decide that you want late messages sent to the ACCTG userid instead of to the<br />
operator. There<strong>for</strong>e, you use this command to add LATEMSG to the message<br />
record. Note that the values defined <strong>for</strong> STARTMSG and ENDMSG will not be<br />
overlaid or affected by this ALTER SMR command.<br />
// JOB DELETE SCHEDULE MESSAGE RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DELETE SMR NAME=custmast<br />
/<br />
/&<br />
schedule name<br />
The preceding example deletes the schedule message record that was defined<br />
and altered <strong>for</strong> the CUSTMAST schedule. Deleting this record means that start,<br />
end, late and miscellaneous messages will no longer be sent to the userids<br />
B-12 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
B.3 Schedules<br />
B.3.6 Info Definition<br />
B.3.6.1 Example 1: Define SIR<br />
listed on the DEFINE SMR and ALTER SMR commands <strong>for</strong> this schedule.<br />
However, in the absence of this message record, late messages and<br />
miscellaneous messages will go to the userid defined on the MSG installation<br />
option as the default message receiver <strong>for</strong> late and miscellaneous messages.<br />
Messages about individual jobs in this schedule will still go to the userids<br />
specified on the job message records.<br />
Following are Info Definition examples.<br />
// JOB DEFINE SCHEDULE INFORMATION RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DEFINE SIR NAME=custmast,<br />
COMMENT='check output',<br />
DEL1=reporta,<br />
DEL2=reportb,<br />
DEL3=reportc,<br />
DESC='customer master file',<br />
DEST1=jones,<br />
DEST2=smith,<br />
DEST3=clark,<br />
FORM=123456,<br />
NOTIFY=accounting,<br />
QUANTITY=3,<br />
/<br />
/&<br />
B.3.6.2 Example 2: ALter SIR<br />
RESP=johnsmith<br />
schedule name from base record<br />
comment<br />
deliverable<br />
deliverable<br />
deliverable<br />
description<br />
destination<br />
destination<br />
destination<br />
<strong>for</strong>m number<br />
department to notify<br />
amount of output<br />
person reponsible<br />
The preceding example defines an in<strong>for</strong>mation record <strong>for</strong> the CUSTMAST<br />
schedule.<br />
// JOB ALTER SCHEDULE INFORMATION RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
ALTER SIR NAME=custmast,<br />
schedule name from define command<br />
DEL4=reportd,<br />
add fourth deliverable<br />
DEST4=wilson,<br />
add fourth destination<br />
FORM=null,<br />
delete <strong>for</strong>m number<br />
QUANTITY=4<br />
change amount of output<br />
/<br />
/&<br />
The preceding example changes some of the values that were defined <strong>for</strong> the<br />
CUSTMAST schedule in<strong>for</strong>mation record. The output quantity is changed from<br />
three reports to four, and delivery in<strong>for</strong>mation is added <strong>for</strong> the fourth report.<br />
Note that both DEL and DEST are coded with a suffix from one to eight so<br />
that you can define up to eight different deliverables and destinations. It is<br />
there<strong>for</strong>e possible to add a fourth deliverable using the keyword DEL4 without<br />
overlaying the values already defined <strong>for</strong> DEL1, DEL2, and DEL3; they will<br />
remain in the database as originally defined and do not have to be repeated<br />
Appendix B. Batch Command Examples B-13
B.3 Schedules<br />
B.3.6.3 Example 3: DELete SIR<br />
here. In the same way, we can add DEST4 without repeating DEST1, DEST2,<br />
and DEST3.<br />
It is decided to delete the <strong>for</strong>m number originally defined <strong>for</strong> this schedule. To<br />
delete a keyword from a record without deleting the whole record, you submit<br />
the keyword with the value NULL. The null value overlays the 123456 value<br />
specified <strong>for</strong> FORM and has the effect of deleting the <strong>for</strong>m number from the<br />
in<strong>for</strong>mation record.<br />
// JOB DELETE SCHEDULE INFORMATION RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DELETE SIR NAME=payschd<br />
/<br />
/&<br />
The preceding example deletes the schedule in<strong>for</strong>mation record <strong>for</strong> the<br />
PAYSCHD schedule. Deleting the in<strong>for</strong>mation record does not affect the<br />
schedule's selection or processing.<br />
B-14 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
B.4 <strong>Job</strong>s<br />
B.4 <strong>Job</strong>s<br />
B.4.1 Define JBR<br />
B.4.1.1 Example 1:<br />
This topic discusses the various <strong>Job</strong> Definition batch jobs and gives examples<br />
<strong>for</strong> each of the definitions.<br />
Following are examples of the Define JBR.<br />
// JOB DEFINE JOB BASE RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DEFINE JBR NAME=cust1,<br />
JNO=2,<br />
SCHEDULE=custmast,<br />
ERLYTIME=11,<br />
MAXTIME=59,<br />
JPRTY=5,<br />
LIBT=driver,<br />
LIBM=jcl1,<br />
ABEND=abndschd,<br />
STAGE=yes,<br />
MEMO='is tape mounted?',<br />
/<br />
/&<br />
INTERUPT=yes<br />
jobname<br />
second occurrence within schedule<br />
schedule name<br />
early start time<br />
maximum execution time<br />
priority within schedule<br />
library<br />
member name<br />
abend action<br />
staging required<br />
request operator reply<br />
post job as INTERRUPTED<br />
The preceding example defines a job that must be run twice as part of the<br />
CUSTMAST schedule. The first occurrence was defined in a separate job base<br />
record with JNO=01. (If no JNO is specified, 01 is assumed.) Since no station<br />
ID is specified, the CPU is assumed so this job will be scheduled twice at the<br />
CPU whenever it is selected <strong>for</strong> processing.<br />
This occurrence of the job will have the same CLASS, PRTY, and SYSID values<br />
as the rest of the CUSTMAST schedule. ERLYTIME <strong>for</strong> this job is defined as<br />
11:00 a.m. and a maximum execution time of 59 minutes is defined. (Note that<br />
an individual job can start later than the rest of the schedule, but not earlier.)<br />
This job will have a priority of 50 relative to the other jobs in this schedule.<br />
Since this is a computer job, in<strong>for</strong>mation that identifies the alternative schedule<br />
is provided in the JCL and an alternative schedule, ABNDSCHD, is specified<br />
to run if this job abends. This job requires JCL changes so the JCL is<br />
submitted to the staging library when the job is selected; this is indicated by<br />
the STAGE=yes specification. This job also requires that a tape be mounted so<br />
the MEMO keyword is used to issue a message to the operator when the job is<br />
initiated. The operator must reply OK or TERM. If he replies OK, the job can<br />
run; if he replies TERM, the job is flushed.<br />
The INTERUPT keyword is used so that the job's status will be shown as<br />
INTERRUPTED instead of COMPLETED when the job ends successfully. This<br />
Appendix B. Batch Command Examples B-15
B.4 <strong>Job</strong>s<br />
B.4.1.2 Example 2: Define JBR<br />
interruption allows the operator to check the output and manually end the job<br />
if the output is satisfactory or rerun the job if the output is unsatisfactory.<br />
Successors to the job cannot run until the operator issues the COMPLETE<br />
command that changes the job's status to COMPLETE. Note that the<br />
INTERMSG keyword is used on a message record <strong>for</strong> this job to notify the<br />
operator when the job is interrupted.<br />
// JOB DEFINE JOB BASE RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DEFINE JBR NAME=cust1,<br />
JNO=2,<br />
SCHEDULE=custmast,<br />
STATION=39,<br />
DISPKEY=setupcu1,<br />
/<br />
/&<br />
DEADLINE=15<br />
jobname<br />
second occurrence within schedule<br />
schedule name<br />
JCL setup station<br />
documentation member name<br />
deadline<br />
The preceding example defines a job base record <strong>for</strong> CUST1 at station 39. This<br />
schedules the job at the JCL setup station whenever it is selected, so JCL<br />
changes can be made be<strong>for</strong>e the job continues on its path to the computer.<br />
(Note that STAGE=Yes is specified on the job base record of the CPU station<br />
so that the JCL is written to the staging library when the job is selected.) Note<br />
that it is the second occurrence of CUST1 that is being scheduled at station 39.<br />
If the first occurrence requires JCL changes, a separate job base record at<br />
station 39 has to be defined <strong>for</strong> it.<br />
Documentation on the setup procedure has been stored in the documentation<br />
library under the member name SETUPCU1. Including DISPKEY on this job's<br />
record will send a message to whoever starts this job at station 39 telling that<br />
person what display key to use to find the setup instructions. This ensures<br />
that the correct JCL changes are made.<br />
A deadline of 10:50 a.m. is assigned to the job at the setup station so that it<br />
will be ready to meet its ERLYTIME of 11:00 a.m. at the CPU. If the job starts<br />
too late to meet its deadline or has not completed by its deadline, a late<br />
message is sent to the userid specified on the MSG keyword on the <strong>CA</strong>IJGEN<br />
macro. (If a job message record is defined <strong>for</strong> this job at this station, the<br />
LATEMSG keyword can be used to specify up to four users who will receive<br />
this message instead of the userid specified on the <strong>CA</strong>IJGEN macro.)<br />
B-16 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
B.4 <strong>Job</strong>s<br />
B.4.1.3 Example 3: Define JBR<br />
// JOB DEFINE JOB BASE RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DEFINE JBR NAME=cust1,<br />
JNO=1,<br />
SCHEDULE=sales,<br />
PROTOTYP=cust1,<br />
PROTOSCD=custmast,<br />
PROTOJNO=2,<br />
DEADLINE=null,<br />
ERLYTIME=8,<br />
JPRTY=9,<br />
DISPKEY=tapes,<br />
/<br />
/&<br />
B.4.1.4 Example 4: ALter JBR<br />
DISPTIME=8<br />
jobname<br />
first occurrence within schedule<br />
schedule name<br />
model jobname<br />
model schedule name<br />
model job number<br />
delete deadline from new record<br />
modified early start time<br />
modified priority<br />
documentation member name<br />
documentation display time<br />
The preceding example defines a job base record <strong>for</strong> CUST1 as part of the<br />
SALES schedule. This means that the CUST1 job will be selected as part of the<br />
CUSTMAST schedule (as previously defined) and also as part of the SALES<br />
schedule. Since CUST1 has the same library in<strong>for</strong>mation regardless of which<br />
schedule it belongs to, the easiest way to create another job base record <strong>for</strong> it is<br />
to copy the record that was previously defined. To do this, specify CUST1 as<br />
the prototype jobname and CUSTMAST as the prototype schedule name. All<br />
of the in<strong>for</strong>mation previously defined is copied to the new record, except<br />
DEADLINE. Any keywords that need to be modified to fit the requirements<br />
of the SALES schedule can be specified here. Note that the prototype job<br />
number must also be specified to copy the second occurrence of CUST1 in the<br />
CUSTMAST schedule. But since it will run only once as part of the SALES<br />
schedule, JNO is changed to 01 on the new record.<br />
In addition to the ERLYTIME and JPRTY keywords that are modified to fit the<br />
requirements of the SALES schedule, DISPKEY AND DISPTIME are added.<br />
These direct <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> to display the documentation stored<br />
under TAPES in the documentation library at 8:00 a.m. The operator can then<br />
follow these instructions when this job is submitted.<br />
// JOB ALTER JOB BASE RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
ALTER JBR NAME=cust1,<br />
JNO=2,<br />
SCHEDULE=custmast,<br />
ERLYTIME=1,<br />
ABEND=CONT,<br />
/<br />
/&<br />
INTERUPT=no<br />
jobname from define command<br />
job number from define command<br />
schedule name from define command<br />
new early start time<br />
change abend action<br />
stop interrupting job<br />
The preceding example changes some of the values defined <strong>for</strong> the CUST1 job<br />
when it is selected <strong>for</strong> the second time as part of the CUSTMAST schedule. To<br />
make sure the right record is changed, you specify both the schedule name<br />
Appendix B. Batch Command Examples B-17
B.4 <strong>Job</strong>s<br />
B.4.1.5 Example 5: DELete JBR<br />
and job number. (You do not have to specify STATIO because the CPU station<br />
is assumed.) The ERLYTIME on this record is changed from 11:00 a.m. to<br />
10:00 a.m., which is the early start time of the rest of the schedule. (A time<br />
earlier than 10:00 a.m. would create a conflict since an individual job cannot<br />
start earlier than its schedule.) The action to be taken if this job abends is<br />
changed to CONT, which tells <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> to continue to post<br />
successors even if this job abends. And, last, INTERUPT is changed from Yes<br />
to No because this job need no longer be interrupted <strong>for</strong> operator intervention<br />
be<strong>for</strong>e it ends successfully. Note that INTERUPT=NO is a default value, which<br />
need not be specified on a define command, but is required on an ALTER<br />
command to overlay INTERUPT=Yes which was originally defined <strong>for</strong> this job.<br />
// JOB DELETE JOB BASE RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DELETE JBR NAME=cust1,<br />
SCHEDULE=custmast,<br />
/<br />
/&<br />
B.4.1.6 Example 6: DELete JOB<br />
STATION=39<br />
jobname<br />
schedule name<br />
station number<br />
The preceding example deletes the job base record that schedules the first<br />
occurrence of the CUST1 job at the JCL setup station when it is selected as part<br />
of the CUSTMAST schedule. Note that this command does not affect the job at<br />
the CPU. It will still be scheduled at the CPU when CUSTMAST is selected,<br />
but it will no longer be scheduled <strong>for</strong> JCL setup. There<strong>for</strong>e, the job can be<br />
submitted at the CPU without waiting <strong>for</strong> it to be completed at station 39.<br />
We highly recommend that you always use DELETE <strong>Job</strong> instead of DELETE<br />
JBR. The DELETE JBR does not delete any other associated job records (that is,<br />
job message record); those records need to be deleted specifically.<br />
// JOB DELETE JOB<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DELETE JOB NAME=cust1,<br />
SCHEDULE=custmast,<br />
/<br />
/&<br />
JNO=2<br />
jobname<br />
schedule name<br />
job number<br />
The preceding example deletes all of the job records defined <strong>for</strong> the CUST1 job<br />
when it runs at the CPU <strong>for</strong> the second time as part of the CUSTMAST<br />
schedule. Note that it does not delete job records that have been defined <strong>for</strong><br />
the first occurrence of CUST1, <strong>for</strong> CUST1 at peripheral stations, or <strong>for</strong> CUST1<br />
as part of any schedule other than CUSTMAST.<br />
B-18 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
B.4 <strong>Job</strong>s<br />
B.4.2 Define Criteria<br />
B.4.2.1 Example 1: Define JCR<br />
Following are examples of Define Criteria.<br />
// JOB DEFINE JOB CRITERIA RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DEFINE JCR NAME=custeom,<br />
SCHEDULE=custmast,<br />
<strong>CA</strong>LENDAR=firtue,<br />
/<br />
/&<br />
B.4.2.2 Example 2: Define JCR<br />
CRITERIA='pred eominput'<br />
jobname from base record<br />
schedule name from base record<br />
first Tuesday of month calendar<br />
predecessor from previous day<br />
This sample criteria record controls when the CUSTEOM job is selected and<br />
scheduled at the CPU and any other stations in its path. (Its path is made up<br />
of all of the stations at which it is scheduled <strong>for</strong> processing. See DEFINE JBR.)<br />
This schedule needs to be selected on the middle Tuesday of each month.<br />
There<strong>for</strong>e, its job criteria record references a different calendar, one named<br />
FIRTUE, which defines the first Tuesday of each month as its work days.<br />
(Remember that an individual job can be selected less frequently than the rest<br />
of the schedule, but not more frequently.)<br />
In addition, it needs input from the EOMINPUT job, so EOMINPUT is defined<br />
as a predecessor to CUSTEOM. The EOMINPUT job runs on Monday, so it is<br />
preceded by the reserved word PRED. This tells <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> that<br />
this predecessor is selected on a different day from its successor. When the<br />
EOMINPUT job completes on Monday, this in<strong>for</strong>mation is posted to the<br />
database and stored until it is needed on Tuesday to satisfy the CUSTEOM<br />
predecessor condition. Then this in<strong>for</strong>mation is cleared from the database.<br />
Note that if no job criteria record were defined <strong>for</strong> this job, it would be run<br />
every day with the rest of the CUSTMAST schedule.<br />
// JOB DEFINE JOB CRITERIA RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DEFINE JCR NAME=joba,<br />
SCHEDULE=everyday,<br />
CRITERIA=mon,<br />
/<br />
/&<br />
STATION=39<br />
jobname from base record<br />
schedule name from base record<br />
select on Monday<br />
only at one station<br />
This sample criteria record controls the selection of a job that requires JCL<br />
setup only when it runs on Monday. It is assumed that this job is part of a<br />
schedule that has no schedule criteria record and there<strong>for</strong>e is selected every<br />
workday by default. It is further assumed that each of the jobs in the schedule<br />
has been defined in a job base record and an additional job base record was<br />
defined <strong>for</strong> JOBA at station 39. Without this job criteria record, JOBA will be<br />
Appendix B. Batch Command Examples B-19
B.4 <strong>Job</strong>s<br />
B.4.2.3 Example 3: Define JCR<br />
scheduled <strong>for</strong> processing at station 39 every workday when it is selected as<br />
part of its schedule. Since JCL setup is required only on Monday, this job<br />
criteria record tells <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> to schedule JOBA at station 39<br />
only on Monday even though it is scheduled at the CPU every day of the<br />
week.<br />
// JOB DEFINE JOB CRITERIA RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DEFINE JCR NAME=custeow,<br />
SCHEDULE=custmast,<br />
/<br />
/&<br />
B.4.2.4 Example 4: ALter JCR<br />
CRITERIA='start scd sales'<br />
jobname from base record<br />
sched name from base record<br />
additional predecessor<br />
This sample criteria record adds a predecessor condition to a job called<br />
CUSTEOW, which is selected every Tuesday as part of the CUSTMAST<br />
schedule. Note that the CUSTMAST schedule cannot start until any of the four<br />
predecessors defined on its schedule criteria record are satisfied. In addition,<br />
this particular job cannot start until the SALES schedule starts. This additional<br />
predecessor is described by the use of the reserved words SCD and START,<br />
which indicate to <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> that this predecessor is a schedule<br />
rather than a job and that the schedule must start rather than end be<strong>for</strong>e its<br />
successor can run.<br />
// JOB ALTER JOB CRITERIA RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
ALTER JCR NAME=custeom, jobname from define command<br />
SCHEDULE=custmast, schedule name from define command<br />
CRITERIA='start jobx custlist or<br />
pred scd abc or<br />
pred dos jd1' new predecessors<br />
/<br />
/&<br />
The preceding example changes the criteria defined <strong>for</strong> the CUSTEOM job<br />
when it is selected as part of the CUSTMAST schedule. The criteria that was<br />
previously defined <strong>for</strong> this job, the completion of the EOMINPUT job, is no<br />
longer valid, so that jobname is not repeated on this command. Instead, three<br />
new predecessor conditions are substituted: the start of JOBX when it runs as<br />
part of the CUSTLIST schedule, the end of the ABC schedule, and the end of a<br />
DOS job that is not defined in the <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> database. Note that<br />
the ABC schedule and the DOS job are preceded by the PRED reserved word,<br />
which means that they are only predecessors to CUSTEOM; they do not<br />
control its selection. In fact, they were probably selected and processed on a<br />
previous day.<br />
Since there is no change to the calendar defined <strong>for</strong> this job, <strong>CA</strong>LENDAR is<br />
not coded here.<br />
B-20 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
B.4 <strong>Job</strong>s<br />
B.4.2.5 Example 5: DELete JCR<br />
// JOB DELETE JOB CRITERIA RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DELETE JCR NAME=custeom,<br />
/<br />
/&<br />
SCHEDULE=custmast<br />
B.4.3 Reasons Definition (<strong>Job</strong>s)<br />
B.4.3.1 Example 1: Define JRC<br />
jobname<br />
schedule name<br />
The preceding example deletes the job criteria record that was defined and<br />
altered <strong>for</strong> the CUSTEOM job when it is selected as part of the CUSTMAST<br />
schedule. Note that this command does not delete the entire CUSTEOM job.<br />
Deleting the job criteria record only means that this job will be selected along<br />
with the rest of the CUSTMAST schedule as defined on the schedule criteria<br />
record.<br />
Following are examples of Reasons Definition (<strong>Job</strong>s).<br />
// JOB DEFINE JOB REASON CODE RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DEFINE JRC NAME=endoqrtr,<br />
SCHEDULE=invntory,<br />
ERLY1=8,<br />
ERLY2=18,<br />
ERLY3=28,<br />
/<br />
/&<br />
ERLY4=38<br />
jobname from base record<br />
schedule name from base record<br />
first reason's early start time<br />
second reason's early start time<br />
third reason's early start time<br />
fourth reason's early start time<br />
The preceding example defines a job reason code record <strong>for</strong> the job<br />
ENDOQRTR, which is part of the INVNTORY schedule. As part of the<br />
INVNTORY schedule, it will be selected <strong>for</strong> processing four times a year, so a<br />
different early start time can be defined <strong>for</strong> the job each time it is selected.<br />
When it is selected <strong>for</strong> the first reason, it can start as early as 8:00 a.m. When<br />
it is selected <strong>for</strong> the second reason, it cannot start until 8:00 a.m. one day after<br />
it is selected. When it is selected <strong>for</strong> the third reason, it cannot start until 8:00<br />
a.m. two autoscan days after it is selected. And when it is selected <strong>for</strong> the<br />
fourth reason, it cannot start until 8:00 a.m. three autoscan days after it is<br />
selected.<br />
Appendix B. Batch Command Examples B-21
B.4 <strong>Job</strong>s<br />
B.4.3.2 Example 2: ALter JRC<br />
B.4.3.3 Example 3: DELete JRC<br />
// JOB ALTER JOB REASON CODE RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
ALTER JRC NAME=endoqrtr, jobname from define command<br />
SCHEDULE=invntory, schedule name from define command<br />
ERLY1=9,<br />
change first reason's early start time<br />
ERLY2=19,<br />
change second reason's early start time<br />
ERLY3=29,<br />
change third reason's early start time<br />
ERLY4=39<br />
change fourth reason's early start time<br />
/<br />
/&<br />
The preceding example changes the early start times defined <strong>for</strong> the<br />
ENDOQRTR job that is selected <strong>for</strong> processing four times a year as part of the<br />
INVNTORY schedule. The four early start times are changed from 8:00 to 9:00<br />
a.m. The job is still scheduled not to start until one autoscan day after<br />
selection when it is selected <strong>for</strong> the second reason, two autoscan days after<br />
selection when it is selected <strong>for</strong> the third reason, and three autoscan days after<br />
selection when it is selected <strong>for</strong> the fourth reason.<br />
// JOB DELETE JOB REASON CODE RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DELETE JRC NAME=endoqrtr,<br />
/<br />
/&<br />
B.4.4 Message Definition<br />
B.4.4.1 Example 1: Define JMR<br />
SCHEDULE=invntory<br />
jobname<br />
schedule name<br />
The preceding example deletes the reason code record that was defined and<br />
altered <strong>for</strong> the ENDOQRTR job when it is selected as part of the INVNTORY<br />
schedule. When this reason code record is deleted, the early start time <strong>for</strong> this<br />
job is taken from ERLYTIME on the job base record, if one was defined, or<br />
ERLYTIME on the schedule base record. If no ERLYTIME has been defined <strong>for</strong><br />
either the job or the schedule, the job becomes available <strong>for</strong> processing as soon<br />
as the database is scanned at AUTOTIM, unless it is waiting <strong>for</strong> predecessors<br />
or resources.<br />
Following are examples of Message Definition.<br />
B-22 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
B.4 <strong>Job</strong>s<br />
B.4.4.2 Example 2: ALter JMR<br />
// JOB DEFINE JOB MESSAGE RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DEFINE JMR NAME=cust1,<br />
jobname from base record<br />
JNO=2,<br />
job number from base record<br />
SCHEDULE=custmast, schedule name from base record<br />
ABENDMSG=operator, send message if job abends<br />
INTERMSG=operator, send message when job is INTERRUPTED<br />
LATEMSG=acctg send message if job exceeds MAXTIME<br />
/<br />
/&<br />
This sample job message record notifies the operator when this job abends or<br />
ends. (Note that it will be posted as INTERRUPTED instead of COMPLETED if<br />
it ends successfully.) The interrupt message notifies the operator that this job<br />
requires manual intervention and must be manually completed so that its<br />
successors can be processed.<br />
A late message will be sent to the ACCTG userid if this job misses its<br />
MUSTTIME or deadline or exceeds its MAXTIME. Since only one of these<br />
values was assigned to the job on the job base record, a late message will only<br />
be issued if the job exceeds its maximum execution time of 59 minutes. If this<br />
happens, ACCTG can cancel the job since it is one of the userids authorized on<br />
the CUSTMAST schedule base record to control the jobs in this schedule.<br />
Note that late messages would be sent to the userid specified on the <strong>CA</strong>IJGEN<br />
macro MSG option even if LATEMSG was not coded here.<br />
// JOB ALTER JOB MESSAGE RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
ALTER JMR NAME=cust1,<br />
jobname from define command<br />
JNO=2,<br />
job number from define command<br />
SCHEDULE=custmast, schedule name from define command<br />
INTERMSG=null, delete interrupt message<br />
ENDMSG=acctg add end message<br />
/<br />
/&<br />
The preceding example changes the message record values defined <strong>for</strong> this job<br />
when it runs <strong>for</strong> the second time as part of the CUSTMAST schedule. Since the<br />
job base record was altered so that this job is no longer interrupted <strong>for</strong> manual<br />
intervention, the operator need no longer receive an interrupt message.<br />
Instead of deleting the whole job message record, it is possible to delete just<br />
the INTERMSG keyword by changing its value to NULL. This will overlay the<br />
INTERMSG=OPERATOR value in the job message record and have the effect<br />
of stopping the interrupt message.<br />
Since this job will now be posted as COMPLETE as soon as it ends<br />
successfully, this command adds the ENDMSG keyword to the job message<br />
record to notify ACCTG that the job has ended successfully. Note that<br />
ENDMSG was coded <strong>for</strong> the CUSTMAST schedule message record, but end<br />
Appendix B. Batch Command Examples B-23
B.4 <strong>Job</strong>s<br />
B.4.4.3 Example 3: DELete JMR<br />
messages are only sent <strong>for</strong> individual jobs if ENDMSG is also coded on the job<br />
message record.<br />
// JOB DELETE JOB MESSAGE RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DELETE JMR NAME=cust1,<br />
SCHEDULE=custmast,<br />
/<br />
/&<br />
B.4.5 Info Definition<br />
B.4.5.1 Example 1: Define JIR<br />
JNO=2<br />
jobname<br />
schedule name<br />
job number<br />
The preceding example deletes the message record that was defined and<br />
altered <strong>for</strong> this job when it runs <strong>for</strong> the second time as part of the CUSTMAST<br />
schedule. Messages will no longer be sent when this job ends, abends, is late,<br />
or fails. After this record has been deleted, late messages will still be sent to<br />
the MSG userid specified in the <strong>CA</strong>IJGEN installation macro.<br />
Following are examples of Info Definition.<br />
// JOB DEFINE JOB INFORMATION RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DEFINE JIR NAME=cust1,<br />
jobname from base record<br />
JNO=2,<br />
job number from base record<br />
SCHEDULE=custmast,<br />
schedule name from base record<br />
COMMENT='change JCL if job fails', comment<br />
DESC='edit job',<br />
description<br />
/<br />
/&<br />
B.4.5.2 Example 2: ALter JIR<br />
RESP=maryjones<br />
person reponsible<br />
This sample job in<strong>for</strong>mation record provides in<strong>for</strong>mation on the CUST1 job<br />
when it runs as part of the CUSTMAST schedule <strong>for</strong> the second time. This<br />
in<strong>for</strong>mation is in addition to the in<strong>for</strong>mation already provided on the schedule<br />
in<strong>for</strong>mation record <strong>for</strong> all of the jobs in the CUSTMAST schedule. In this<br />
example, the COMMENT, DESCRIPTION, and RESPONSIBLE fields have been<br />
changed to provide in<strong>for</strong>mation that applies specifically to this one job.<br />
// JOB ALTER JOB INFORMATION RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
ALTER JIR NAME=cust1,<br />
JNO=2,<br />
SCHEDULE=custmast,<br />
/<br />
/&<br />
RESP=tomsmith<br />
jobname from define command<br />
job number from define command<br />
schedule name from define command<br />
change value<br />
B-24 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
B.4 <strong>Job</strong>s<br />
B.4.5.3 Example 3: DELete JIR<br />
The preceding example changes the person responsible <strong>for</strong> this job from Mary<br />
Jones to Tom Smith.<br />
// JOB DELETE JOB INFORMATION RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DELETE JIR NAME=cust1,<br />
SCHEDULE=custmast,<br />
/<br />
/&<br />
B.4.6 Resource Definition<br />
B.4.6.1 Example 1: Define JRR<br />
STATION=39<br />
jobname<br />
schedule name<br />
station ID<br />
The preceding example deletes the job in<strong>for</strong>mation record that was defined <strong>for</strong><br />
the CUST1 job when it is selected as part of the CUSTMAST schedule and<br />
processed at station 39. This command does not affect the selection of this job<br />
or its processing at station 39; it only deletes the job in<strong>for</strong>mation record.<br />
Following are Resource Definition examples.<br />
// JOB DEFINE JOB RESOURCE RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DEFINE JRR NAME=cust1,<br />
SCHEDULE=sales,<br />
SEP=(joba,jobb,jobc),<br />
VOLSER=work1,<br />
/<br />
/&<br />
RDT=3<br />
jobname from base record<br />
schedule name from base record<br />
wait until these jobs end<br />
wait until this volume is mounted<br />
routing delay time<br />
This sample job resource record directs <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> to run CUST1<br />
separately from JOBA, JOBB, and JOBC. (Note that SEP=CUST1 must also be<br />
specified on each of their job records.) If CUST1 becomes available <strong>for</strong><br />
processing while any of these jobs is running, <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> will<br />
wait to submit it until that job ends.<br />
This resource record also directs <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> to wait until DASD<br />
pack WORK01 is mounted be<strong>for</strong>e submitting CUST1.<br />
A routing delay time is also assigned to the job at this station. This allows the<br />
job a half hour to get to the CPU station from the previous station on its path,<br />
which you can assume is the data entry station. This delay time is taken into<br />
account on the simulation reports that map out when each job can be<br />
processed at each station.<br />
Appendix B. Batch Command Examples B-25
B.4 <strong>Job</strong>s<br />
B.4.6.2 Example 2: ALter JRR<br />
// JOB ALTER JOB RESOURCE RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
ALTER JRR NAME=cust1,<br />
JNO=2,<br />
SCHEDULE=custmast,<br />
/<br />
/&<br />
B.4.6.3 Example 3: DELete JRR<br />
SEP=joba<br />
jobname from define command<br />
job number from define command<br />
schedule name from define command<br />
change jobs that must run separately<br />
The preceding example changes the value defined <strong>for</strong> the SEP keyword in the<br />
job resource record. The jobname, schedule name, and job number are coded<br />
exactly as they were when the job resource record was defined. The<br />
requirements <strong>for</strong> running this job have changed so that it only has to be run<br />
separately from one of the three jobs previously listed on the SEP keyword.<br />
There<strong>for</strong>e, the SEP command is coded here with only one jobname. The other<br />
keywords defined on the job resource record remain as defined.<br />
// JOB DELETE JOB REASON CODE RECORD<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DELETE JRR NAME=cust1,<br />
SCHEDULE=custmast,<br />
/<br />
/&<br />
JNO=2<br />
jobname<br />
schedule name<br />
job number<br />
The preceding example deletes the job resource record <strong>for</strong> the CUST1 job when<br />
it runs <strong>for</strong> the second time as part of the CUSTMAST schedule. This means<br />
that CUST1-2 will no longer have to wait <strong>for</strong> a volume to be mounted or <strong>for</strong><br />
other jobs to end. Also, any statistics defined in the job resource record will no<br />
longer have an effect on a simulation run. The other job records <strong>for</strong> CUST1<br />
remain in the database as defined.<br />
B-26 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
B.4 <strong>Job</strong>s<br />
B.4.7 Defining Resources<br />
Following are Defining Resources examples.<br />
B.4.7.1 Example 1: Define RESource<br />
// JOB DEFINE RESOURCES FOR ONE SUBSTATION<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DEFINE RESOURCE SYSID=1, CPU 1<br />
STATION=4,<br />
station number<br />
DASD1=(339,1),<br />
number of 339s<br />
DASD2=(338,12),<br />
number of 338s<br />
TAPE1=(342,2),<br />
number of 342s<br />
TAPE2=(348,16),<br />
number of 348s<br />
UR1=(254,11),<br />
number of 254s<br />
PART1=(abc,bg),<br />
first partition's classes,header<br />
PART2=(bcd,f2),<br />
second partition's classes,header<br />
PART3=(cd,f3),<br />
third partition's classes,header<br />
PST=8,<br />
production start time<br />
PET=17,<br />
production end time<br />
AVGTIME=2,<br />
default process time<br />
RDT=15,<br />
default routing delay time<br />
/<br />
/&<br />
DEFCLASS=A<br />
default job class<br />
The preceding example describes the DASD, tape and unit record devices that<br />
can be used exclusively by one of the CPUs. It also specifies which class of<br />
jobs can be run in each of the partitions: classes A, B, or C jobs can run in BG;<br />
classes B, C, or D can run in F2, and so <strong>for</strong>th. The names of each of the<br />
partitions are used as headers across the top of the simulation reports <strong>for</strong> this<br />
CPU and the specific jobs that will run in each partition are listed under that<br />
header.<br />
The preceding example also defines the production start and end time <strong>for</strong> this<br />
CPU: processing will begin every day at 8:00 a.m. and last until 5:00 p.m.<br />
There<strong>for</strong>e, <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> will not simulate any processing at this<br />
CPU be<strong>for</strong>e 8:00 a.m. or after 5:00 p.m. The last three keywords assign a<br />
default process time, routing delay time, and class to all jobs that do not have<br />
these values, either on their job base records or as part of a schedule. <strong>Job</strong>s<br />
with no AVGTIME will be assigned the default average process time of two<br />
hours. <strong>Job</strong>s with no RDT will be assigned the default routing delay time from<br />
the previous station of 15 minutes. <strong>Job</strong>s with no CLASS will be treated as class<br />
A jobs.<br />
Appendix B. Batch Command Examples B-27
B.4 <strong>Job</strong>s<br />
B.4.7.2 Example 2: Define RESource<br />
// JOB DEFINE RESOURCES FOR ONE STATION<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DEFINE RESOURCE STATION=2,<br />
data entry station<br />
UNIT1=(abc,tom),<br />
first device's classes, header<br />
UNIT2=(bcd,mary),<br />
second device's classes, header<br />
UNIT3=(cd,joe),<br />
third device's classes, header<br />
UNIT4=(a,sue),<br />
fourth device's classes, header<br />
UNIT5=(ab,jim)<br />
fifth device's classes, header<br />
/<br />
/&<br />
The preceding example defines the five keypunch units at the data entry<br />
station. A unit, in this example, consists of a keypunch device and its operator.<br />
The UNIT keyword assigns different classes of jobs to each unit: the first<br />
keypunch operator can process class A, B, and C jobs, the second operator can<br />
process class B, C, and D jobs, and so <strong>for</strong>th. Note that instead of naming the<br />
devices, you use the names of the operators as headings on the simulation<br />
reports. Simulation will then assign the appropriate jobs to each operator, and<br />
the reports will map out which jobs are to be processed by each operator<br />
throughout the day.<br />
If operators at your site share devices, you must code the UR keyword so that<br />
<strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> will schedule jobs <strong>for</strong> the actual number of devices<br />
that exist. For example, if the total number of operators (specified with UNIT=)<br />
is different from the total number of physical devices that exist at your site,<br />
you need to code a UR= statement in addition to the UNIT= statements.<br />
Suppose five keypunch operators share four physical keypunch devices. After<br />
you specify a UNIT= statement <strong>for</strong> each of the operators, code UR=(2540, 4) to<br />
indicate that only four physical devices (type=2540) exist.<br />
B-28 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
B.4 <strong>Job</strong>s<br />
B.4.7.3 Example 3: ALter RESource<br />
// JOB ALTER RESOURCES FOR ONE SUBSTATION<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
ALTER RESOURCE SYSID=1, CPU 1<br />
DASD2=(338,14),<br />
number of 338s<br />
PART1=(a,bg),<br />
first partition's classes,header<br />
PART2=(b,f2),<br />
second partition's classes,header<br />
PART3=(bcd,f3)<br />
third partition's classes,header<br />
PST=7,<br />
production start time<br />
/<br />
/&<br />
PET=19<br />
B.4.7.4 Example 4: DELete RESource<br />
production end time<br />
The preceding example increases the number of 3380 disk devices that can be<br />
used exclusively by CPU 1. It also changes the class of jobs that can be run in<br />
each partition: now only class A jobs can run in BG, only class B jobs can run<br />
in F2, and class B jobs can run in F3 in addition to classes C and D as<br />
originally defined. Even though the only change to the PART03 keyword is the<br />
addition of Class B jobs, classes C and D are repeated here. This is because<br />
PART03 here completely overlays PART03 on the DEFINE RESOURCE<br />
command; there<strong>for</strong>e, the two original classes must be repeated to retain them<br />
in the database. The preceding example also changes the production start and<br />
end time <strong>for</strong> this CPU so that processing can now be simulated from 7:00 a.m.<br />
to 7:00 p.m.<br />
// JOB DELETE RESOURCES FOR ONE SUBSTATION<br />
// EXEC <strong>CA</strong>JUTIL,SIZE=24K<br />
DELETE RESOURCE STATION=4,<br />
SYSID=1<br />
/<br />
/&<br />
The preceding example deletes the resource record that was defined <strong>for</strong> CPU 1.<br />
If resource records were defined <strong>for</strong> other SYSIDs, they are not affected by this<br />
DELETE command.<br />
Appendix B. Batch Command Examples B-29
Appendix C. Editor Commands<br />
This appendix gives the following detailed instructions on how to use the<br />
various editor commands associated with <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong>:<br />
■<br />
■<br />
■<br />
■<br />
■<br />
Line Protection and Highlighting<br />
Input Area Commands<br />
Prefix Area Commands<br />
Staging Editor Commands<br />
PF Key Settings<br />
Appendix C. Editor Commands C-1
C.1 Line Protection and Highlighting<br />
C.1 Line Protection and Highlighting<br />
Use these letters to protect and highlight lines in<br />
■<br />
■<br />
■<br />
Staged JCL<br />
<strong>Unicenter</strong> <strong>CA</strong>-Driver procedures.<br />
Members of the documentation file<br />
To specify one of these letters in column 73, use the RANGE command (on<br />
page &range) to include column 73 in the range. The lines that require one of<br />
these control characters can also be designated at their original source. For<br />
example, a CMS JCL member needs to have a parameter card protected while<br />
being edited in the staging library. To accomplish this, always edit the CMS<br />
member (using a CMS editor) to place a P in column 73 of the parameter card.<br />
To Type This In Column 73<br />
Protect a line<br />
Highlight a line<br />
Both protect and highlight a line<br />
Protect a line and keep it from displaying<br />
P<br />
H<br />
F<br />
D<br />
Note that these letters can be changed on the installation macro. To see if they<br />
have been changed, check the EDTPCHR, EDTHCHR, and EDTPHCHR<br />
options in the <strong>CA</strong>IJGEN macro. To see if the column number has been<br />
changed, check the EDTATC option. Protect and invisible are not en<strong>for</strong>ced <strong>for</strong><br />
<strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong>'s Manager type userids.<br />
C-2 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
C.2 Input Area Commands<br />
C.2 Input Area Commands<br />
Use these editor commands to:<br />
■<br />
■<br />
■<br />
■<br />
Define or alter criteria records<br />
Define or alter members of the documentation file<br />
Alter staged JCL<br />
Define or alter <strong>Unicenter</strong> <strong>CA</strong>-Driver procedures.<br />
Command abbreviations are shown in upper case. Optional operands are<br />
shown in parentheses. If you do not specify a number where a command calls<br />
<strong>for</strong> a number, 1 is assumed.<br />
To<br />
Leave the panel you are editing<br />
and enter new values in<br />
the database or<br />
staging file<br />
without saving any values<br />
Save new values without leaving the panel (not<br />
applicable to criteria modification)<br />
Repeat the last command you entered =<br />
Execute a command and keep the cursor after ====><br />
Set a key to per<strong>for</strong>m a command, where<br />
key can be PFn, PAn, CLEAR, or ENTER<br />
(Note: See PF key editor defaults.)<br />
Go<br />
to first line of file<br />
to last line of file<br />
backward n panels (toward first line of file)<br />
<strong>for</strong>ward n panels (toward last line of file)<br />
Move the panel display<br />
up n lines (toward first line of file)<br />
down n lines (toward last line of file)<br />
to right or left so that column n is the first<br />
column displayed on the panel<br />
Limit the LO<strong>CA</strong>TE or CHANGE commands to specific<br />
columns: from column c to column d<br />
Type This After<br />
====><br />
FILE<br />
Quit<br />
Save<br />
&command<br />
SET key<br />
command<br />
Top<br />
BOttom<br />
Backward (n)<br />
Forward (n)<br />
Up (n)<br />
Down (n)<br />
Next (n)<br />
COLumn n<br />
Range c d<br />
Appendix C. Editor Commands C-3
C.2 Input Area Commands<br />
To<br />
Find the first occurrence of character string s<br />
anywhere in the file<br />
at the beginning of a line<br />
(embedded blanks are not allowed)<br />
Replace character string s with character string t<br />
anywhere in the file<br />
starting at line l<br />
only from lines l to m<br />
(embedded blanks are not allowed)<br />
Add n blank lines after line l<br />
Delete n lines starting with line l<br />
Copy<br />
line l and insert it after line m<br />
n number of lines, starting with line l, and insert them<br />
after line m<br />
Move<br />
line l after line m<br />
n number of lines, starting with line l, and insert them<br />
after line m<br />
Display<br />
numbers in the line-command area<br />
====== in the line-command area<br />
Type This After<br />
====><br />
Locate s<br />
FInd s<br />
CHange s t<br />
CHange s t l<br />
CHange s t l m<br />
Add l (n)<br />
DElete 1 (n)<br />
Copy 1 m<br />
Copy 1 m n<br />
Move 1 m<br />
Move 1 m n<br />
NUm<br />
NOnum<br />
C-4 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
C.3 Prefix Area Commands<br />
C.3 Prefix Area Commands<br />
You can also add, delete, copy, and move lines by moving the cursor to the<br />
prefix area. This area is located at the far right of the panel, beginning at the<br />
editor-generated line number. To use the following commands, overtype this<br />
line number.<br />
To<br />
Make this the current line /<br />
Add lines<br />
Delete<br />
one or more lines<br />
a block of lines<br />
Copy<br />
one or more lines<br />
a block of lines<br />
Move<br />
one or more lines<br />
a block of lines<br />
Place the moved or copied lines<br />
after this line<br />
be<strong>for</strong>e this line<br />
Duplicate a line n times<br />
Type<br />
A(n) or (n)A<br />
D(n) or (n)D<br />
DD<br />
C(n) or (n)C<br />
CC<br />
M(n) or (n)M<br />
MM<br />
F<br />
P<br />
"(n) or (n)"<br />
Examples of these prefix area commands appear on the following pages.<br />
Appendix C. Editor Commands C-5
C.3 Prefix Area Commands<br />
C.3.1 Examples<br />
C.3.1.1 Changing the Current Line<br />
For the prefix area command examples that follow, the panel width has been<br />
reduced somewhat, to include the arrows <strong>for</strong> illustration.<br />
To make line 6 the current line:<br />
1...+....1....+....2....+....3... ...5....+....6....+....7...<br />
THIS IS LINE 1.<br />
1<br />
THIS IS LINE 2.<br />
2<br />
THIS IS LINE 3.<br />
3<br />
THIS IS LINE 4.<br />
4<br />
THIS IS LINE 5.<br />
5<br />
THIS IS LINE 6. /6
C.3 Prefix Area Commands<br />
C.3.1.2 Adding Lines<br />
To add 3 lines after line 4:<br />
1...+....1....+....2....+....3... ...5....+....6....+....7...<br />
THIS IS LINE 1.<br />
1<br />
THIS IS LINE 2.<br />
2<br />
THIS IS LINE 3.<br />
3<br />
THIS IS LINE 4. a34
C.3 Prefix Area Commands<br />
C.3.1.3 Deleting Lines<br />
To delete 5 lines, starting at line 5:<br />
1...+....1....+....2....+....3... ...5....+....6....+....7...<br />
THIS IS LINE 1.<br />
1<br />
THIS IS LINE 2.<br />
2<br />
THIS IS LINE 3.<br />
3<br />
THIS IS LINE 4.<br />
4<br />
THIS IS LINE 5. 5d5
C.3 Prefix Area Commands<br />
C.3.1.4 Copying Lines<br />
To copy lines 4-6 to an area following line 10:<br />
1...+....1....+....2....+....3... ...5....+....6....+....7...<br />
THIS IS LINE 1.<br />
1<br />
THIS IS LINE 2.<br />
2<br />
THIS IS LINE 3.<br />
3<br />
THIS IS LINE 4. cc4
C.3 Prefix Area Commands<br />
C.3.1.5 Moving Lines<br />
To move the 6 lines starting at line 10 to the area preceding line 1:<br />
1...+....1....+....2....+....3... ...5....+....6....+....7...<br />
THIS IS LINE 1. p1
C.3 Prefix Area Commands<br />
C.3.1.6 Duplicating Lines<br />
To duplicate line 2 twice, and line 10 once:<br />
1...+....1....+....2....+....3... ...5....+....6....+....7...<br />
THIS IS LINE 1.<br />
1<br />
THIS IS LINE 2. 2"2
C.4 Staging Editor Commands<br />
C.4 Staging Editor Commands<br />
C.4.1 Overview<br />
This topic covers the commands used with the Staging Editor and gives<br />
examples of each.<br />
The purposes of these commands are to manipulate staged JCL members and<br />
to check their syntax. The commands in this section are only valid from the<br />
following panels:<br />
■<br />
Display STG Member (SCHD-STGE)<br />
Not every command is valid in each panel. See the detailed descriptions of<br />
each command <strong>for</strong> details.<br />
The functions of the staging editor commands are summarized following:<br />
To<br />
Expand and display <strong>Unicenter</strong> <strong>CA</strong>-Driver procedures<br />
that are embedded in the JCL.<br />
Recall the last version of the JCL as it was prior to a<br />
DEXPAND command. (This is only valid if DEXPAND<br />
was issued without the NOSAVE option.)<br />
Display the current values of the reserved-name variable<br />
parameters that are coded in all <strong>Unicenter</strong> <strong>CA</strong>-Driver<br />
procedures embedded in the JCL. This command brings<br />
you into the Dprompt STG Member (SCHD-DPR) panel.<br />
Temporarily save any overtyped reserved-name variable<br />
parameter values on the Dprompt STG Member<br />
(SCHD-DPR) panel <strong>for</strong> a future DEXPAND command.<br />
This command brings you into the Alter STG Member<br />
panel.<br />
Enter<br />
DEXPAND<br />
RE<strong>CA</strong>LL<br />
DPROMPT<br />
DSET<br />
These commands are explained in detail on the following pages.<br />
C-12 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
C.4 Staging Editor Commands<br />
C.4.2 DEXPAND<br />
DEXPAND<br />
Expand and display all <strong>Unicenter</strong> <strong>CA</strong>-Driver procedures<br />
embedded in the JCL.<br />
C.4.2.1 Option<br />
C.4.2.2 Usage Notes<br />
NOSAVE<br />
Use the NOSAVE option after the DEXPAND command to erase the version of<br />
the JCL that is currently displayed. (The DEXPAND without the NOSAVE<br />
option saves the current version be<strong>for</strong>e expansion so that it can be recalled<br />
with the RE<strong>CA</strong>LL command.) However, the original copy of the JCL in the<br />
staging library is not affected. Only the copy in the editor's working storage is<br />
erased. If you use this option, a subsequent RE<strong>CA</strong>LL command will NOT<br />
recall the version of the JCL that is currently displayed. (To obtain the original<br />
copy after issuing DEXPAND with the NOSAVE option, enter QUIT in the<br />
editor and reselect that member.)<br />
Use the DEXPAND command to expand <strong>Unicenter</strong> <strong>CA</strong>-Driver procedures<br />
embedded in a JCL member. The DRIVER installation option must be set to<br />
YES. When the command is processed, the JCL member is scanned <strong>for</strong><br />
embedded <strong>Unicenter</strong> <strong>CA</strong>-Driver procedure calls. Those procedures are then<br />
expanded and displayed on the panel in place of the procedure call. JCL<br />
statements other than <strong>Unicenter</strong> <strong>CA</strong>-Driver procedure calls remain unchanged.<br />
All <strong>Unicenter</strong> <strong>CA</strong>-Driver procedures embedded in the member are expanded<br />
including nested procedures. All variable parameter substitutions are resolved<br />
including reserved-name variable parameters.<br />
The expansion occurs on a copy of the member residing in the editor's<br />
working storage (NOT the member in the staging library), so that any changes<br />
that were made be<strong>for</strong>e the DEXPAND command will be included. The<br />
previous version of the member prior to expansion is also saved in the editor's<br />
storage and can be recalled again using the RE<strong>CA</strong>LL command (explained<br />
later) unless you use the NOSAVE option. However, the actual member in the<br />
staging library is not altered until a FILE or SAVE command is entered in the<br />
Alter STG Member (SCHD-STGE) or the Dprompt STG Member (SCHD-DPR)<br />
panel. If you enter FILE or SAVE, the expanded member is saved in the<br />
staging library replacing the <strong>for</strong>mer version. A QUIT command after the<br />
DEXPAND command leaves the member in the staging library unchanged.<br />
The expanded member can be changed using the standard editor commands<br />
and expanded again using the DEXPAND command. However, a second<br />
DEXPAND command will erase the version of the member that was saved in<br />
editor storage by the last DEXPAND command (without the NOSAVE option)<br />
unless the NOSAVE option is used after the DEXPAND command. If the<br />
Appendix C. Editor Commands C-13
C.4 Staging Editor Commands<br />
C.4.2.3 Example<br />
NOSAVE option is used, the currently displayed copy of the member in the<br />
editor's storage is NOT saved.<br />
The following panel shows a member containing an unexpanded <strong>Unicenter</strong><br />
<strong>CA</strong>-Driver procedure call.<br />
<br />
<br />
SCHD-STGE ALTER STG MEMBER J=DRV111 JN=1 S=DRV11 <strong>CA</strong>-SCHEDULER<br />
===><br />
RANGE=1-72<br />
1...+....1....+....2....+....3....+....4....+....5....+....6....+....7..<br />
$$ JOB JNM=DRV111,DISP=D,CLASS=A, X 1<br />
$$ PDEST=(,SETUP),LDEST=(,SETUP)<br />
2<br />
<strong>CA</strong>RCTL OFF<br />
3<br />
SCSTART S=DRV11 JNO=1 J=DRV111 4<br />
// PROC DRV111, 5<br />
+ NUMBER=(FISRT,SECOND) 6<br />
SCEND S=DRV11 7<br />
$$ EOJ<br />
8<br />
9<br />
1<br />
11<br />
12<br />
13<br />
14<br />
15<br />
16<br />
17<br />
18<br />
19<br />
1...+....1....+....2....+....3....+....4....+....5....+....6....+....7..<br />
<br />
<br />
When a DEXPAND command is issued, the expanded procedure replaces the<br />
procedure call:<br />
<br />
<br />
SCHD-STGE ALTER STG MEMBER J=DRV111 JN=1 S=DRV11 <strong>CA</strong>-SCHEDULER<br />
===><br />
<strong>CA</strong>CO314I COMMAND COMPLETED<br />
1...+....1....+....2....+....3....+....4....+....5....+....6....+....7..<br />
$$ JOB JNM=DRV111,DISP=D,CLASS=A, X 1<br />
$$ PDEST=(,SETUP),LDEST=(,SETUP)<br />
2<br />
<strong>CA</strong>RCTL OFF<br />
3<br />
SCSTART S=DRV11 JNO=1 J=DRV111 4<br />
<strong>CA</strong>CR37I ........... BEGIN PROC ==> DRV111 EXPANSION DRV1<br />
// JOB DRV111 DRV1<br />
<br />
DRV1<br />
DISPLAY OF <strong>CA</strong>-SCHEDULER RESERVED VARIABLES DRV1<br />
<br />
DRV1<br />
C_AUTDT (AUTOS<strong>CA</strong>N DATE).............==> 3251 DRV1<br />
C_AUTIM (AUTOS<strong>CA</strong>N TIME).............==> 854 DRV1<br />
C_JNAME (JOB NAME)..................==> DRV111 DRV1<br />
C_SNAME (SCHEDULE NAME).............==> DRV11 DRV1<br />
C_JNO (JOB JNO)...................==> 1 DRV1<br />
C_SELRC (SELECTION REASON)..........==> 1 DRV1<br />
C_DTAB (DATE TABLE NAME)...........==> DATETAB DRV1<br />
C_JOBDT (JOBDATE)...................==> 3251 DRV1<br />
C_<strong>CA</strong>L (<strong>CA</strong>LENDAR)..................==> DRV1<br />
C_SYSID (CONTOLLING SYSID)..........==> 1 DRV1<br />
1...+....1....+....2....+....3....+....4....+....5....+....6....+....7..<br />
<br />
<br />
C-14 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
C.4 Staging Editor Commands<br />
<br />
<br />
<br />
<br />
SCHD-STGE ALTER STG MEMBER J=DRV111 JN=1 S=DRV11 <strong>CA</strong>-SCHEDULER<br />
===><br />
RANGE=1-72<br />
1...+....1....+....2....+....3....+....4....+....5....+....6....+....7..<br />
C_CMD (COMMAND)...................==> COMPLETE DRV1<br />
C_RUNCD (RUN COMMAND DATE)..........==> DRV1<br />
C_ABCC (ABEND CODE).................==> X'1' DRV1<br />
C_ABCT (ABEND COUNT)................==> DRV1<br />
C_ABSTP (ABEND STEP)................==> DRV1<br />
C_SPWR# (PREV POWER JOB#)...........==> 7 DRV1<br />
<br />
DRV1<br />
DISPLAY OF <strong>CA</strong>-DRIVER EXPANSION SYSTEM VARIABLES DRV1<br />
<br />
DRV1<br />
C_DATE (GREGORIAN DATE)............==> 9/8/3 DRV1<br />
C_JDATE (JULIAN DATE)...............==> 3251 DRV1<br />
C_TIME (TIME OF THE DAY)......... ==> 12328 DRV1<br />
C_MONTH (MONTH OF THE YEAR).........==> SEPTEMBER DRV1<br />
C_DAY (DAY OF THE WEEK)...........==> FRIDAY DRV1<br />
C_CPUID (CPU NUMBER)................==> 3212 DRV1<br />
C_DYCPU (DYNAM CPU ID)..............==> A DRV1<br />
<br />
DRV1<br />
THIS IS THE FISRT TIME. DRV1<br />
// TLBL F111I,'DRV111' <strong>CA</strong>RMSG=I DRV1<br />
1...+....1....+....2....+....3....+....4....+....5....+....6....+....7..<br />
SCHD-STGE ALTER STG MEMBER J=DRV111 JN=1 S=DRV11 <strong>CA</strong>-SCHEDULER<br />
===><br />
RANGE=1-72<br />
1...+....1....+....2....+....3....+....4....+....5....+....6....+....7..<br />
// TLBL F111O,'DRV111' <strong>CA</strong>RMSG=O(3) DRV1<br />
// DLBL DUMMY,'DRV111.FILE',,SD DRV1<br />
// EXTENT ,POOL1,,,1,1 DRV1<br />
// EXEC DUMMYSD DRV1<br />
/ DRV1<br />
'THIS IS THE SECOND TIME.' DRV1<br />
// TLBL F111I,'DRV111' <strong>CA</strong>RMSG=I DRV1<br />
// TLBL F111O,'DRV111' <strong>CA</strong>RMSG=O(3) DRV1<br />
// DLBL DUMMY,'DRV111.FILE',,SD DRV1<br />
// EXTENT ,POOL1,,,1,2 DRV1<br />
// EXEC DUMMYSD DRV1<br />
/ DRV1<br />
/&<br />
DRV1<br />
/ <strong>CA</strong>CR371I ........... END PROC ==> DRV111 EXPANSION DRV1<br />
SCEND S=DRV11 53<br />
$$ EOJ<br />
54<br />
55<br />
56<br />
57<br />
....+....1....+....2....+....3....+....4....+....5....+....6....+....7..<br />
<br />
<br />
<br />
<br />
If you now entered RE<strong>CA</strong>LL, the original member in its unexpanded <strong>for</strong>m<br />
would be displayed again.<br />
Appendix C. Editor Commands C-15
C.4 Staging Editor Commands<br />
C.4.3 DPROMPT<br />
DPROMPT<br />
Display current values <strong>for</strong> reserved-name variable parameters<br />
coded in all <strong>Unicenter</strong> <strong>CA</strong>-Driver procedures embedded in the<br />
JCL.<br />
C.4.3.1 Usage Notes<br />
C.4.3.2 Example<br />
Use the DPROMPT command to display the current values <strong>for</strong> the<br />
reserved-name variable parameters coded in all <strong>Unicenter</strong> <strong>CA</strong>-Driver<br />
procedures embedded in the JCL. The DRIVER installation option must be set<br />
to YES. When the command is processed, the JCL member is scanned <strong>for</strong><br />
embedded <strong>Unicenter</strong> <strong>CA</strong>-Driver procedure calls. All <strong>Unicenter</strong> <strong>CA</strong>-Driver<br />
procedures embedded in the member are scanned including nested procedures.<br />
These procedures are then scanned <strong>for</strong> reserved-name variable parameters<br />
coded in the procedures. The parameters are resolved to their current values.<br />
The parameters are then displayed next to their current values on the Dprompt<br />
STG Member (SCHD-DPR) panel.<br />
The QUIT command within the Dprompt STG Member panel leaves the<br />
reserved-name variable parameters unchanged and returns you to the previous<br />
panel. If you issued DPROMPT from the Alter STG Member panel (as<br />
opposed to the Display STG Member panel), reserved-name variable<br />
parameters values can be changed by overtyping new values and then entering<br />
DSET.<br />
The following panel shows a member containing a <strong>Unicenter</strong> <strong>CA</strong>-Driver<br />
procedure call.<br />
C-16 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
C.4 Staging Editor Commands<br />
<br />
<br />
SCHD-STGE ALTER STG MEMBER J=DRV111 JN=1 S=DRV11 <strong>CA</strong>-SCHEDULER<br />
===><br />
RANGE=1-72<br />
1...+....1....+....2....+....3....+....4....+....5....+....6....+....7..<br />
$$ JOB JNM=DRV111,DISP=D,CLASS=A, X 1<br />
$$ PDEST=(,SETUP),LDEST=(,SETUP)<br />
2<br />
<strong>CA</strong>RCTL OFF<br />
3<br />
SCSTART S=DRV11 JNO=1 J=DRV111 4<br />
// PROC DRV111, 5<br />
+ NUMBER=(FIRST,SECOND,THIRD) 6<br />
SCEND S=DRV11 7<br />
$$ EOJ<br />
8<br />
9<br />
1<br />
11<br />
12<br />
13<br />
14<br />
15<br />
16<br />
17<br />
18<br />
19<br />
1...+....1....+....2....+....3....+....4....+....5....+....6....+....7..<br />
<br />
<br />
When a DPROMPT command is issued, the current values <strong>for</strong> the<br />
reserved-name variable parameters within that procedure are displayed in the<br />
following panel.<br />
<br />
<br />
SCHD-DPR DPROMPT STG MEMBER J=DRV111 JN=1 S=DRV11 <strong>CA</strong>-SCHEDULER<br />
===><br />
PROC VARIABLE CURRENT VALUE SET<br />
|...+....1....+....2....+....3....+....4....+....5....+<br />
DRV111 &C_AUTDT 3251<br />
DRV111 &C_AUTIM 854<br />
DRV111 &C_JNAME DRV111<br />
DRV111 &C_SNAME DRV11<br />
DRV111 &C_JNO 1<br />
DRV111 &C_SELRC 1<br />
DRV111 &C_DTAB DATETAB<br />
DRV111 &C_JOBDT 3251<br />
DRV111 &C_<strong>CA</strong>L<br />
DRV111 &C_SYSID 1<br />
DRV111 &C_CMD COMPLETE<br />
DRV111 &C_RUNCD <br />
DRV111 &C_ABCC X'1'<br />
DRV111 &C_ABCT <br />
DRV111 &C_ABSTP<br />
DRV111 &C_SPWR# 7<br />
DRV111 &C_DATE 9/8/3<br />
DRV111 &C_JDATE 3251<br />
|...+....1....+....2....+....3....+....4....+....5....+<br />
<br />
<br />
Appendix C. Editor Commands C-17
C.4 Staging Editor Commands<br />
<br />
SCHD-DPR DPROMPT STG MEMBER J=DRV111 JN=1 S=DRV11 <strong>CA</strong>-SCHEDULER<br />
===><br />
<br />
PROC VARIABLE CURRENT VALUE SET<br />
|...+....1....+....2....+....3....+....4....+....5....+<br />
DRV111 &C_TIME 123234<br />
DRV111 &C_MONTH SEPTEMBER<br />
DRV111 &C_DAY FRIDAY<br />
DRV111 &C_CPUID 3212<br />
DRV111 &C_DYCPU A<br />
END OF VARIABLE LIST <br />
<br />
|...+....1....+....2....+....3....+....4....+....5....+<br />
<br />
C-18 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
C.4 Staging Editor Commands<br />
C.4.4 DSET<br />
DSET<br />
Temporarily save overtyped reserved-name variable parameter<br />
values and return to the Alter STG Member (SCHD-STGE) panel.<br />
C.4.4.1 Usage Notes<br />
The DSET command is only valid from the Dprompt STG Member (SCHD-DPR)<br />
panel.<br />
Use the DSET command from the Dprompt STG Member panel to temporarily save<br />
any overtyped reserved-name variable parameter values <strong>for</strong> the next DEXPAND<br />
command and return to the Alter STG Member panel. The next DEXPAND command<br />
will use the changed values <strong>for</strong> those parameters.<br />
Changes to parameters on the Dprompt STG Member panel are only temporary.<br />
However, you may DEXPAND the JCL after the changes and then file the expanded<br />
member. The expanded member will be saved in the staging library with the changed<br />
values resolved <strong>for</strong> those parameters.<br />
<br />
<br />
SCHD-DPR DPROMPT STG MEMBER J=DRV111 JN=1 S=DRV11 <strong>CA</strong>-SCHEDULER<br />
===><br />
PROC VARIABLE CURRENT VALUE SET<br />
|...+....1....+....2....+....3....+....4....+....5....+<br />
DRV111 &C_AUTDT 3251<br />
DRV111 &C_AUTIM 854<br />
DRV111 &C_JNAME DRV111<br />
DRV111 &C_SNAME DRV11<br />
DRV111 &C_JNO 2<br />
DRV111 &C_SELRC 1<br />
DRV111 &C_DTAB DATETAB<br />
DRV111 &C_JOBDT 3251<br />
DRV111 &C_<strong>CA</strong>L<br />
DRV111 &C_SYSID 1<br />
DRV111 &C_CMD COMPLETE<br />
DRV111 &C_RUNCD <br />
DRV111 &C_ABCC X'1'<br />
DRV111 &C_ABCT <br />
DRV111 &C_ABSTP<br />
DRV111 &C_SPWR# 7<br />
DRV111 &C_DATE 9/8/3<br />
DRV111 &C_JDATE 3251<br />
|...+....1....+....2....+....3....+....4....+....5....+<br />
<br />
<br />
Appendix C. Editor Commands C-19
C.4 Staging Editor Commands<br />
<br />
SCHD-DPR DPROMPT STG MEMBER J=DRV111 JN=1 S=DRV11 <strong>CA</strong>-SCHEDULER<br />
===><br />
<br />
PROC VARIABLE CURRENT VALUE SET<br />
|...+....1....+....2....+....3....+....4....+....5....+<br />
DRV111 &C_TIME 123234<br />
DRV111 &C_MONTH SEPTEMBER<br />
DRV111 &C_DAY FRIDAY<br />
DRV111 &C_CPUID 3212<br />
DRV111 &C_DYCPU A<br />
END OF VARIABLE LIST <br />
<br />
|...+....1....+....2....+....3....+....4....+....5....+<br />
<br />
C.4.5 RE<strong>CA</strong>LL<br />
RE<strong>CA</strong>LL<br />
Recall the last version of the JCL that was saved by a command without<br />
the NOSAVE option.<br />
C.4.5.1 Usage Notes<br />
C.4.5.2 Example<br />
Use the RE<strong>CA</strong>LL command to recall a JCL member that was previously saved using<br />
the DEXPAND command without the NOSAVE option. Only one member is saved by<br />
the DEXPAND command. A RE<strong>CA</strong>LL command after multiple DEXPAND<br />
commands recalls only the last member saved by the DEXPAND command.<br />
The panel following shows a member containing a <strong>Unicenter</strong> <strong>CA</strong>-Driver procedure that<br />
was expanded with a DEXPAND command.<br />
C-20 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
C.4 Staging Editor Commands<br />
<br />
<br />
<br />
SCHD-STGE ALTER STG MEMBER J=DRV111 JN=1 S=DRV11 <strong>CA</strong>-SCHEDULER<br />
===><br />
<strong>CA</strong>CO314I COMMAND COMPLETED<br />
1...+....1....+....2....+....3....+....4....+....5....+....6....+....7..<br />
$$ JOB JNM=DRV111,DISP=D,CLASS=A, X 1<br />
$$ PDEST=(,SETUP),LDEST=(,SETUP)<br />
2<br />
<strong>CA</strong>RCTL OFF<br />
3<br />
SCSTART S=DRV11 JNO=1 J=DRV111 4<br />
<strong>CA</strong>CR37I ........... BEGIN PROC ==> DRV111 EXPANSION DRV1<br />
// JOB DRV111 DRV1<br />
<br />
DRV1<br />
DISPLAY OF <strong>CA</strong>-SCHEDULER RESERVED VARIABLES DRV1<br />
<br />
DRV1<br />
C_AUTDT (AUTOS<strong>CA</strong>N DATE).............==> 3251 DRV1<br />
C_AUTIM (AUTOS<strong>CA</strong>N TIME).............==> 854 DRV1<br />
C_JNAME (JOB NAME)..................==> DRV111 DRV1<br />
C_SNAME (SCHEDULE NAME).............==> DRV11 DRV1<br />
C_JNO (JOB JNO)...................==> 1 DRV1<br />
C_SELRC (SELECTION REASON)..........==> 1 DRV1<br />
C_DTAB (DATE TABLE NAME)...........==> DATETAB DRV1<br />
C_JOBDT (JOBDATE)...................==> 3251 DRV1<br />
C_<strong>CA</strong>L (<strong>CA</strong>LENDAR)..................==> DRV1<br />
C_SYSID (CONTOLLING SYSID)..........==> 1 DRV1<br />
1...+....1....+....2....+....3....+....4....+....5....+....6....+....7..<br />
SCHD-STGE ALTER STG MEMBER J=DRV111 JN=1 S=DRV11 <strong>CA</strong>-SCHEDULER<br />
===><br />
RANGE=1-72<br />
1...+....1....+....2....+....3....+....4....+....5....+....6....+....7..<br />
C_CMD (COMMAND)...................==> COMPLETE DRV1<br />
C_RUNCD (RUN COMMAND DATE)..........==> DRV1<br />
C_ABCC (ABEND CODE).................==> X'1' DRV1<br />
C_ABCT (ABEND COUNT)................==> DRV1<br />
C_ABSTP (ABEND STEP)................==> DRV1<br />
C_SPWR# (PREV POWER JOB#)...........==> 7 DRV1<br />
<br />
DRV1<br />
DISPLAY OF <strong>CA</strong>-DRIVER EXPANSION SYSTEM VARIABLES DRV1<br />
<br />
DRV1<br />
C_DATE (GREGORIAN DATE)............==> 9/8/3 DRV1<br />
C_JDATE (JULIAN DATE)...............==> 3251 DRV1<br />
C_TIME (TIME OF THE DAY)......... ==> 12328 DRV1<br />
C_MONTH (MONTH OF THE YEAR).........==> SEPTEMBER DRV1<br />
C_DAY (DAY OF THE WEEK)...........==> FRIDAY DRV1<br />
C_CPUID (CPU NUMBER)................==> 3212 DRV1<br />
C_DYCPU (DYNAM CPU ID)..............==> A DRV1<br />
<br />
DRV1<br />
THIS IS THE FISRT TIME. DRV1<br />
// TLBL F111I,'DRV111' <strong>CA</strong>RMSG=I DRV1<br />
1...+....1....+....2....+....3....+....4....+....5....+....6....+....7..<br />
<br />
<br />
<br />
<br />
<br />
Appendix C. Editor Commands C-21
C.4 Staging Editor Commands<br />
<br />
<br />
SCHD-STGE ALTER STG MEMBER J=DRV111 JN=1 S=DRV11 <strong>CA</strong>-SCHEDULER<br />
===><br />
RANGE=1-72<br />
1...+....1....+....2....+....3....+....4....+....5....+....6....+....7..<br />
// TLBL F111O,'DRV111' <strong>CA</strong>RMSG=O(3) DRV1<br />
// DLBL DUMMY,'DRV111.FILE',,SD DRV1<br />
// EXTENT ,POOL1,,,1,1 DRV1<br />
// EXEC DUMMYSD DRV1<br />
/ DRV1<br />
'THIS IS THE SECOND TIME.' DRV1<br />
// TLBL F111I,'DRV111' <strong>CA</strong>RMSG=I DRV1<br />
// TLBL F111O,'DRV111' <strong>CA</strong>RMSG=O(3) DRV1<br />
// DLBL DUMMY,'DRV111.FILE',,SD DRV1<br />
// EXTENT ,POOL1,,,1,2 DRV1<br />
// EXEC DUMMYSD DRV1<br />
/ DRV1<br />
/&<br />
DRV1<br />
/ <strong>CA</strong>CR371I ........... END PROC ==> DRV111 EXPANSION DRV1<br />
SCEND S=DRV11 53<br />
$$ EOJ<br />
54<br />
55<br />
56<br />
57<br />
....+....1....+....2....+....3....+....4....+....5....+....6....+....7..<br />
<br />
<br />
When a RE<strong>CA</strong>LL command is issued, the original member is displayed in its<br />
unexpanded <strong>for</strong>m.<br />
<br />
<br />
SCHD-STGE ALTER STG MEMBER J=DRV111 JN=1 S=DRV11 <strong>CA</strong>-SCHEDULER<br />
===><br />
RANGE=1-72<br />
1...+....1....+....2....+....3....+....4....+....5....+....6....+....7..<br />
$$ JOB JNM=DRV111,DISP=D,CLASS=A, X 1<br />
$$ PDEST=(,SETUP),LDEST=(,SETUP)<br />
2<br />
<strong>CA</strong>RCTL OFF<br />
3<br />
SCSTART S=DRV11 JNO=1 J=DRV111 4<br />
// PROC DRV111, 5<br />
+ NUMBER=(FISRT,SECOND) 6<br />
SCEND S=DRV11 7<br />
$$ EOJ<br />
8<br />
9<br />
1<br />
11<br />
12<br />
13<br />
14<br />
15<br />
16<br />
17<br />
18<br />
19<br />
1...+....1....+....2....+....3....+....4....+....5....+....6....+....7..<br />
<br />
<br />
C-22 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
C.5 PF Key Settings<br />
C.5 PF Key Settings<br />
The default PF key settings <strong>for</strong> the <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> online editor are as<br />
follows:<br />
PF Keys<br />
Command<br />
Function<br />
PF1/PF13 HELP Invoke the online Help facility.<br />
PF2/PF14<br />
Unassigned<br />
PF3/PF15 Quit Leave the edit panel without saving<br />
changes.<br />
PF4/PF16 Down Move the panel down one line.<br />
PF5/PF17 Up Move the panel up one line.<br />
PF6/PF18<br />
Unassigned<br />
PF7/PF19 Backward Scroll back one panel.<br />
PF8/PF20 Forward Scroll <strong>for</strong>ward one panel.<br />
PF9/PF21<br />
Unassigned<br />
PF10/PF22 Top Go to the top of the file.<br />
PF11/PF23 BOttom Go to the end of the file.<br />
PF12/PF24<br />
Unassigned<br />
If your PF keys are not set to these defaults, see your systems programmer.<br />
Appendix C. Editor Commands C-23
Appendix D. Advantage <strong>CA</strong>-Earl Reports<br />
This appendix describes the following reports pertaining to Advantage <strong>CA</strong>-Earl:<br />
■<br />
■<br />
■<br />
■<br />
■<br />
All Reports<br />
Database Reports<br />
History File Reports<br />
Tracking File Reports<br />
Documentation or Staging Library Reports.<br />
Appendix D. Advantage <strong>CA</strong>-Earl Reports D-1
D.1 All Reports<br />
D.1 All Reports<br />
All Advantage <strong>CA</strong>-Earl source members are in <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> library with a<br />
type of .0.<br />
D.1.1 <strong>CA</strong>JEPM Source Member<br />
The <strong>CA</strong>JEPM source member sets the parameter list that allows <strong>Unicenter</strong><br />
<strong>CA</strong>-<strong>Scheduler</strong> to communicate with Advantage <strong>CA</strong>-Earl. It must be specified on a<br />
COPY statement.<br />
DEF PRMEARL = <strong>CA</strong>J<strong>CA</strong>CC2 1-4 X<br />
DEF PRMMSG = <strong>CA</strong>J<strong>CA</strong>CC2 5-24 X<br />
DEF PRMFUNC = <strong>CA</strong>J<strong>CA</strong>CC2 25-28 X<br />
DEF PRMRTCD = <strong>CA</strong>J<strong>CA</strong>CC2 29-32 X<br />
DEF PRMID = <strong>CA</strong>J<strong>CA</strong>CC2 33-36 X<br />
DEF PRMBUFL = <strong>CA</strong>J<strong>CA</strong>CC2 37-4 X<br />
DEF PRMBUFF = <strong>CA</strong>J<strong>CA</strong>CC2 41-44 X<br />
DEF PRMKEYL = <strong>CA</strong>J<strong>CA</strong>CC2 45-46 B<br />
DEF PRMKEY = <strong>CA</strong>J<strong>CA</strong>CC2 47-66 X<br />
DEF PRMNME = <strong>CA</strong>J<strong>CA</strong>CC2 47-54 X<br />
DEF PRMNUM = <strong>CA</strong>J<strong>CA</strong>CC2 55-56 X<br />
DEF PRMSTA = <strong>CA</strong>J<strong>CA</strong>CC2 57-58 X<br />
DEF PRMSCH = <strong>CA</strong>J<strong>CA</strong>CC2 59-66 X<br />
DEF PRMWRK = <strong>CA</strong>J<strong>CA</strong>CC2 67-8 X<br />
D.1.2 <strong>CA</strong>ISTMD Source Member<br />
The <strong>CA</strong>ISTMD source member converts dates from American to European <strong>for</strong>mat.<br />
Specify it on a COPY statement to print dates as DDMMYY instead of MMDDYY.<br />
D-2 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
D.1 All Reports<br />
<strong>CA</strong>I_DATE_CONVERSION: PROC<br />
!<br />
! <strong>CA</strong>I EARL JULIAN-GREGORIAN DATE CONVERSION ROUTINE<br />
!<br />
! COPY MEMBER : <strong>CA</strong>ISTMD<br />
! CONTAINS : ALL EARL STATEMENTS OTHER THAN DEFINE STATEMENTS<br />
! FOR THE DATE CONVERSION ROUTINE<br />
!<br />
SET <strong>CA</strong>I_OUTDATE = ' '<br />
!<br />
IF <strong>CA</strong>I_DAYS = THEN GOTO <strong>CA</strong>I_NODATE<br />
ENDIF<br />
!<br />
SET <strong>CA</strong>I_R1 = 1<br />
SET <strong>CA</strong>I_NDAYS = <strong>CA</strong>I_DAYS<br />
!<br />
SET <strong>CA</strong>I_DTAB (/2/) = 28<br />
SET C_YEAR (3.) = (<strong>CA</strong>I_YEAR / 4)<br />
SET C_YEAR = C_YEAR 4<br />
IF C_YEAR = <strong>CA</strong>I_YEAR THEN<br />
SET <strong>CA</strong>I_DTAB (/2/) = 29<br />
ENDIF<br />
!<br />
SET <strong>CA</strong>I_OUTDATE = '//'<br />
!<br />
<strong>CA</strong>I_DATE_LOOP:<br />
IF <strong>CA</strong>I_NDAYS < THEN GOTO <strong>CA</strong>I_LOOP_END<br />
ENDIF<br />
IF <strong>CA</strong>I_R1 > 12 THEN GOTO <strong>CA</strong>I_LOOP_END<br />
ENDIF<br />
SET <strong>CA</strong>I_NDAYS = (<strong>CA</strong>I_NDAYS - <strong>CA</strong>I_DTAB(/<strong>CA</strong>I_R1/))<br />
SET <strong>CA</strong>I_MNTH = <strong>CA</strong>I_R1<br />
SET <strong>CA</strong>I_R1 = <strong>CA</strong>I_R1 + 1<br />
GOTO <strong>CA</strong>I_DATE_LOOP<br />
<strong>CA</strong>I_LOOP_END:<br />
!<br />
SET <strong>CA</strong>I_OUTDD = (<strong>CA</strong>I_NDAYS + <strong>CA</strong>I_DTAB(/<strong>CA</strong>I_MNTH/))<br />
SET <strong>CA</strong>I_OUTMM = <strong>CA</strong>I_MNTH<br />
SET <strong>CA</strong>I_OUTYY = <strong>CA</strong>I_YEAR<br />
!<br />
<strong>CA</strong>I_NODATE:<br />
!<br />
ENDPROC<br />
!<br />
Appendix D. Advantage <strong>CA</strong>-Earl Reports D-3
D.2 Database Reports<br />
D.2 Database Reports<br />
D.2.1 <strong>CA</strong>JECRI Source Member<br />
Following are examples of <strong>CA</strong>-Earl database reports.<br />
The <strong>CA</strong>JECRI source member allows you to print criteria from the <strong>Unicenter</strong><br />
<strong>CA</strong>-<strong>Scheduler</strong> database.<br />
! CRITERIA RECORD LAYOUT<br />
! COPY THIS BOOK IN ANY EARL REPORT THAT USES THE CRITERIA RECORD<br />
! FROM THE JOB MASTER DATABASE<br />
! CHANGE THE NEXT LINE IF YOU INCREASE NO OF CRILINXX <br />
DEF RECORDA 1-248 X<br />
DEF CRIRDW<br />
5-6 B<br />
DEF CRIJNAME<br />
13-2 X 'JOB' 'NAME'<br />
DEF CRIJNO<br />
21-22 X 'JOB' 'NUMBER'<br />
DEF CRISTATION 23-24 X 'STATION'<br />
DEF CRISCHNAME 25-32 X 'SCHEDULE' 'NAME'<br />
DEF CRIDATETAB 33-4 X 'DATETABLE'<br />
DEF CRI<strong>CA</strong>L<br />
41-48 X '<strong>CA</strong>LENDAR'<br />
DEF CRILINE1 35-16 X 'CRITERIA'<br />
DEF CRILINE2 17-178 X<br />
DEF CRILINE3 179-25 X<br />
DEF CRILINE4 251-322 X<br />
DEF CRILINE5 323-394 X<br />
DEF CRILINE6 33-466 X<br />
DEF CRILINE7 467-538 X<br />
DEF CRILINE8 539-61 X<br />
DEF CRILINE9 611-682 X<br />
DEF CRILINE1 683-754 X<br />
DEF CRILINE11 755-826 X<br />
DEF CRILINE12 827-898 X<br />
DEF CRILINE13 899-97 X<br />
DEF CRILINE14 971-142 X<br />
DEF CRILINE15 143-1114 X<br />
DEF CRILINE16 1115-1186 X<br />
DEF CRILINE17 1187-1258 X<br />
DEF CRILINE18 1259-133 X<br />
DEF CRILINE19 1331-142 X<br />
DEF CRILINE2 143-1474 X<br />
D-4 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
D.2 Database Reports<br />
D.2.2 <strong>CA</strong>JEGLBL Source Member<br />
The <strong>CA</strong>JEGLBL Source Member is a sample program to per<strong>for</strong>m global changes to<br />
the <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> database. The program produces the command:<br />
! This sample program produces the command:<br />
!<br />
! <br />
! ALTER JBR NAME=JNAME,<br />
! SCHEDULE=SNAME,<br />
! JNO=NN,<br />
! STATION=NN,<br />
! CLASS=A<br />
!<br />
!<br />
! that can be used as input <strong>for</strong> <strong>CA</strong>JUTIL to update<br />
! <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> Master Database.<br />
!<br />
!<br />
!<br />
! Set Advantage <strong>CA</strong>-Earl Options<br />
!<br />
OPTION LIST OFF<br />
! SUPPRESS COMPILATION LISTING<br />
OPTION PRINTER=8<br />
! SET LINE WIDTH TO 8<br />
OPTION PAGE=1<br />
! SUPPRESS PAGE BREAKE<br />
OPTION EXCLUDE<br />
! SUPPRESS PAGE HEADING<br />
OPTION SORT=SRAM<br />
!<br />
! File Definition <strong>for</strong> accessing <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> Master Database<br />
!<br />
<strong>CA</strong>IJMST:FILE <strong>CA</strong>J<strong>CA</strong>CC2 RECORD = 248<br />
!<br />
! Mapping <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Job</strong> Record<br />
!<br />
COPY <strong>CA</strong>JEJM<br />
!<br />
! <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong>/Advantage <strong>CA</strong>-Earl Communication Parmlist<br />
!<br />
COPY <strong>CA</strong>JEPM<br />
!<br />
! LINE to separate commands with ''<br />
!<br />
DEF LINE (X 8) = ' '<br />
!<br />
! LINE1 will hold 'ALTER JBR NAME=JNAME,'<br />
!<br />
DEF LINE1 (X 8) = ' '<br />
DEF L1ALTER = LINE1 1-5 X<br />
DEF L1JBR = LINE1 8-1 X<br />
DEF L1NAMEC = LINE1 13-17 X<br />
DEF L1NAME = LINE1 18-26 X<br />
!<br />
! JNAME Field is redefined as an array to place ','<br />
! at the first blank<br />
Appendix D. Advantage <strong>CA</strong>-Earl Reports D-5
D.2 Database Reports<br />
!<br />
DEF L1NAMEA ARRAY 9 = L1NAME 1 X ! DEFINE 1-BYTE ARRAY<br />
DEF L1REST = LINE1 27-8 X<br />
!<br />
! LINE2 will hold ' SCHEDULE=SNAME,'<br />
!<br />
DEF LINE2 (X 8) = ' '<br />
DEF L2SCDC = LINE2 13-21 X<br />
DEF L2SCD = LINE2 22-3 X<br />
!<br />
! SNAME Field is redefined as an array to place ','<br />
! at the first blank<br />
!<br />
DEF L2SCDA ARRAY 9 = L2SCD 1 X ! DEFINE 1-BYTE ARRAY<br />
DEF L2REST = LINE2 31-8 X<br />
!<br />
! LINE3 WILL HOLD ' JNO=NN,'<br />
!<br />
DEF LINE3 (X 8) = ' '<br />
DEF L3JNOC = LINE3 13-16 X<br />
DEF L3JNO = LINE3 17-18 X<br />
DEF L3JCOMMA = LINE3 19 X<br />
DEF L3REST = LINE3 2-8 X<br />
!<br />
! LINE4 WILL HOLD ' STATION=NN,'<br />
!<br />
DEF LINE4 (X 8) = ' '<br />
DEF L4STNC = LINE4 13-2 X<br />
DEF L4STN = LINE4 21-22 X<br />
DEF L4TCOMMA = LINE4 23 X<br />
DEF L4REST = LINE4 24-8 X<br />
!<br />
! LINE5 WILL HOLD ' SYSID=NULL'<br />
!<br />
DEF LINE5 (X 8) = ' '<br />
DEF L5JCLASSC = LINE5 13-18 X<br />
DEF L5JCLASS = LINE5 19-19 X<br />
DEF L5REST = LINE5 2-8 X<br />
!<br />
! Set Parm list <strong>for</strong> sequential access to job records<br />
!<br />
COPY <strong>CA</strong>JESETM<br />
!<br />
! Read a record and exit at end of file<br />
!<br />
GET <strong>CA</strong>IJMST<br />
GOTO EOJ <strong>CA</strong>IJMST = 'E' OR <strong>CA</strong>IJMST = 'N'<br />
!<br />
D-6 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
D.2 Database Reports<br />
! Set LINE<br />
!<br />
SET LINE = ''<br />
!<br />
! Set LINE1<br />
!<br />
SET L1ALTER = 'ALTER'<br />
SET L1JBR = 'JBR'<br />
SET L1NAMEC = 'NAME='<br />
SET L1NAME = JOBNAME<br />
PERFORM SETJCOMMA<br />
! PLACE ',' AFTER JOBNAME<br />
!<br />
! Set LINE2<br />
!<br />
SET L2SCDC = 'SCHEDULE='<br />
SET L2SCD = JOBSCHNAME<br />
PERFORM SETSCOMMA<br />
! PLACE ',' AFTER SCDNAME<br />
!<br />
! Set LINE3<br />
!<br />
SET L3JNOC = 'JNO='<br />
SET L3JNO = JOBNUMBER<br />
SET L3JCOMMA = ','<br />
!<br />
! Set LINE4<br />
!<br />
SET L4STNC = 'STATION='<br />
SET L4STN = JOBSTATION<br />
SET L4TCOMMA = ','<br />
!<br />
! Change here the field and its new value.<br />
!<br />
SET L5JCLASSC = 'CLASS='<br />
SET L5JCLASS = 'A'<br />
!<br />
! Proc to place ',' at the first blank in JOB NAME<br />
!<br />
SETJCOMMA: PROC<br />
SET SUB = 1<br />
! INITIALIZE COUNTER<br />
AAA: GOTO JOBCOMMA L1NAMEA(/SUB/) = ' ' ! TEST FOR 1ST BLANK<br />
SET SUB = SUB + 1<br />
! BUMP COUNTER<br />
GOTO AAA<br />
! CHECK NEXT CHARACTER<br />
JOBCOMMA: SET L1NAMEA(/SUB/) = ','<br />
! CHANGE BLANK TO COMMA<br />
ENDPROC<br />
Appendix D. Advantage <strong>CA</strong>-Earl Reports D-7
D.2 Database Reports<br />
!<br />
! Proc to place ',' at the first blank in SCHEDULE NAME<br />
!<br />
SETSCOMMA: PROC<br />
SET SUB = 1<br />
! INITIALIZE COUNTER<br />
BBB: GOTO SCDCOMMA L2SCDA(/SUB/) = ' '<br />
! TEST FOR 1ST BLANK<br />
SET SUB = SUB + 1<br />
! BUMP COUNTER<br />
GOTO BBB<br />
! CHECK NEXT CHARACTER<br />
SCDCOMMA: SET L2SCDA(/SUB/) = ','<br />
! CHANGE BLANK TO COMMA<br />
ENDPROC<br />
!<br />
! Advantage <strong>CA</strong>-Earl Report Section<br />
!<br />
REPORT<br />
!<br />
PRINT LINE<br />
PRINT LINE1<br />
PRINT LINE2<br />
PRINT LINE3<br />
PRINT LINE4<br />
PRINT LINE5<br />
!<br />
! End of Advantage <strong>CA</strong>-Earl Program<br />
!<br />
END<br />
D.2.3 <strong>CA</strong>JESETM Source Member<br />
D.2.3.1 Example 1<br />
D.2.3.2 Example 2<br />
The <strong>CA</strong>JESETM source member sets the record ID to either JOB <strong>for</strong> job records or<br />
SCH <strong>for</strong> schedule records, and initializes the search key <strong>for</strong> either a unique, generic, or<br />
sequential request.<br />
SET PRMFUNC = 'GETG' Generic request <strong>for</strong> all jobs<br />
SET PRMID = 'JOB ' with job names beginning with<br />
SET PRMNME = 'AB ' characters 'AB'<br />
SET PRMNUM = ' '<br />
SET PRMSTA = ' '<br />
SET PRMSCH = ' '<br />
SET PRMKEYL = 2<br />
SET PRMFUNC = 'GETU' Unique request <strong>for</strong> a job<br />
SET PRMID = 'JOB ' with these key values:<br />
SET PRMNME = 'ABC ' jobname = ABC<br />
SET PRMNUM = '1' jobnumber = 1<br />
SET PRMSTA = '4' station = 4<br />
SET PRMSCH = 'SCD1 ' schedule = SCD1<br />
D-8 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
D.2 Database Reports<br />
D.2.4 <strong>Job</strong> In<strong>for</strong>mation from Database<br />
Advantage <strong>CA</strong>-Earl reports can include job in<strong>for</strong>mation from the <strong>Unicenter</strong><br />
<strong>CA</strong>-<strong>Scheduler</strong> database. To include this in<strong>for</strong>mation on a report, copy the <strong>CA</strong>JEJM<br />
source member and list the fieldnames you want on the PRINT statement. See the<br />
chapter "Reports" <strong>for</strong> samples.<br />
In<strong>for</strong>mation Fieldname Field Format Heading On On Sample<br />
Length Report Reports<br />
Record Name<br />
job name JOBNAME 8 NAME yes<br />
job number JOBNUMBER 2 NUMBER yes<br />
schedule name JOBSCHNAME 8 SCHEDULE NAME yes<br />
station ID JOBSTATION 2 STATION yes<br />
Defined Records<br />
job base JOBBASEREC 1 BASE RECORD<br />
job criteria JOBCRIREC 1 CRITERIA RECORD<br />
job in<strong>for</strong>mation JOBINFOREC 1 INFO RECORD<br />
job message JOBMSGREC 1 MESSAGE RECORD<br />
job reason code JOBREASON 1 REASON CODE<br />
job resource JOBRESREC 1 RESOURCE RECORD<br />
Base Record<br />
ABEND values<br />
alternate sname JOBABNAME 8 ABEND NAME<br />
CONTINUE JOBCONTABEN 1 CONTINUE ABEND<br />
AUTO START JOBAUTOUPD 1 AUTO UPDATE<br />
BACKLOG JOBBACKLOG 1 BACKLOG<br />
CPU JOB: NO JOBEXTERNAL 1 EXTERNAL<br />
DISPLAY<br />
KEY JOBDISPKEY 8 DISPLAY KEY<br />
TIME JOBDISPTIME 9 ZZZ.ZZ.ZZ DISPLAY-TIME yes<br />
FAIL CODE JOBFAILCODE 5 FAIL CODE<br />
INTERRUPT JOBINTER 1 INTERRUPTABLE<br />
Appendix D. Advantage <strong>CA</strong>-Earl Reports D-9
D.2 Database Reports<br />
In<strong>for</strong>mation Fieldname Field Format Heading On On Sample<br />
Length Report Reports<br />
POWER<br />
PRIORITY JOBPOWPRTY 2 POWER PRIORITY<br />
CLASS JOBCLASS 1 CLASS<br />
LIBRARY TYPE<br />
DRIVER JOBDRPARM 1 DRIVER PARM<br />
other JOBLIBTYPE 8 LIBTYPE<br />
MEMBER<br />
NAME JOBMEMBER 8 MEMBER<br />
SUBID JOBMEMBERSUB 8 SUB MEMBER<br />
PASSWORD JOBMEMBERPSWD 8 MEMBER PSWD<br />
MEMO JOBMEMO 6 MEMO<br />
NODE ID JOBNODEID 8 NODE ID<br />
PRIORITY JOBPRIORITY 2 PRIORITY<br />
RECOVERABLE JOBRESTART 1 RESTARTABLE<br />
RUN ON SYSID JOBCPUID 4 CPU ID<br />
STAGING JOBSTAGE 1 STAGING<br />
TIMES<br />
EARLIEST START JOBERLYTIME 9 ZZZ.ZZ.ZZ EARLY-TIME yes<br />
MUST START BY JOBMUSTTIME 9 ZZZ.ZZ.ZZ MUST-TIME yes<br />
COMPLETION JOBDEADTIME 9 ZZZ.ZZ.ZZ DEAD-TIME yes<br />
MAX EXECUTION JOBMAXTIME 9 ZZZ.ZZ.ZZ MAXIMUM-TIME yes<br />
AVERAGE JOBAELAPTME 9 ZZZ.ZZ.ZZ AVG-ELAP-TME<br />
simulated start JOBSIMSTME 9 ZZZ.ZZ.ZZ SIM-ST-TIME<br />
USE SIMTIME JOBSIMSTART 1 SIMULATE START<br />
Info Record<br />
COMMENT JOBCOMMENT 3 COMMENT<br />
DELIVERABLES JOBDSPEC1 8 DELIVERY SPEC1<br />
JOBDSPEC2 8 DELIVERY SPEC2<br />
JOBDSPEC3 8 DELIVERY SPEC3<br />
JOBDSPEC4 8 DELIVERY SPEC4<br />
JOBDSPEC5 8 DELIVERY SPEC5<br />
JOBDSPEC6 8 DELIVERY SPEC6<br />
JOBDSPEC7 8 DELIVERY SPEC7<br />
JOBDSPEC8 8 DELIVERY SPEC8<br />
DESCRIPTION JOBMDESC 4 MEMO DESC<br />
D-10 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
D.2 Database Reports<br />
In<strong>for</strong>mation Fieldname Field Format Heading On On Sample<br />
Length Report Reports<br />
DESTINATIONS JOBDEST1 8 DESTINATION1<br />
JOBDEST2 8 DESTINATION2<br />
JOBDEST3 8 DESTINATION3<br />
JOBDEST4 8 DESTINATION4<br />
JOBDEST5 8 DESTINATION5<br />
JOBDEST6 8 DESTINATION6<br />
JOBDEST7 8 DESTINATION7<br />
JOBDEST8 8 DESTINATION8<br />
EXITPARM JOBUFIELD 16 USER FIELD<br />
FORM JOBFNUM 8 FORM NUMBER<br />
NOTIFY JOBPNOTIFY 12 PERSON NOTIFY<br />
RESPONSIBILITY JOBPRESP 12 PERSON RESPONSIBLE<br />
ROUTE STATIONS<br />
station1 JOBRSTAT1 2 ROUT STAT1<br />
station2 JOBRSTAT2 2 ROUT STAT2<br />
station3 JOBRSTAT3 2 ROUT STAT3<br />
station4 JOBRSTAT4 2 ROUT STAT4<br />
station5 JOBRSTAT5 2 ROUT STAT5<br />
station6 JOBRSTAT6 2 ROUT STAT6<br />
station7 JOBRSTAT7 2 ROUT STAT7<br />
station8 JOBRSTAT8 2 ROUT STAT8<br />
station9 JOBRSTAT9 2 ROUT STAT9<br />
station1 JOBRSTAT1 2 ROUT STAT1<br />
station11 JOBRSTAT11 2 ROUT STAT11<br />
station12 JOBRSTAT12 2 ROUT STAT12<br />
number listed JOBRSTAT 2 NUMBER ROUTING-ST<br />
QUANTITY JOBQUANTITY 8 QUANTITY<br />
SPECIFI<strong>CA</strong>TION JOBSPNUM 8 SPEC NUMBER<br />
VERIFY JOBNVERIFY 1 NEEDS VERIFY<br />
Message Record<br />
SEND ABEND<br />
MESSAGES<br />
to user1 JOBAMSGU1 8 AMSG USERID1<br />
to user2 JOBAMSGU2 8 AMSG USERID2<br />
to user3 JOBAMSGU3 8 AMSG USERID3<br />
to user4 JOBAMSGU4 8 AMSG USERID4<br />
number of users JOBAMSGUS 2 AMSG USERIDS<br />
Appendix D. Advantage <strong>CA</strong>-Earl Reports D-11
D.2 Database Reports<br />
In<strong>for</strong>mation Fieldname Field Format Heading On On Sample<br />
Length Report Reports<br />
SEND ALL MESSAGES<br />
to user1 JOBMSGU1 8 MSG USERID1<br />
to user2 JOBMSGU2 8 MSG USERID2<br />
to user3 JOBMSGU3 8 MSG USERID3<br />
to user4 JOBMSGU4 8 MSG USERID4<br />
number of users JOBMSGUS 2 MSG USERIDS<br />
SEND END MESSAGES<br />
to user1 JOBEMSGU1 8 EMSG USERID1<br />
to user2 JOBEMSGU2 8 EMSG USERID2<br />
to user3 JOBEMSGU3 8 EMSG USERID3<br />
to user4 JOBEMSGU4 8 EMSG USERID4<br />
number of users JOBEMSGUS 2 EMSG USERIDS<br />
SEND FAIL<br />
MESSAGES<br />
to user1 JOBFMSGU1 8 FMSG USERID1<br />
to user2 JOBFMSGU2 8 FMSG USERID2<br />
to user3 JOBFMSGU3 8 FMSG USERID3<br />
to user4 JOBFMSGU4 8 FMSG USERID4<br />
number of users JOBFMSGUS 2 FMSG USERIDS<br />
SEND INTERRUPT<br />
MESSAGES<br />
to user1 JOBIMSGU1 8 IMSG USERID1<br />
to user2 JOBIMSGU2 8 IMSG USERID2<br />
to user3 JOBIMSGU3 8 IMSG USERID3<br />
to user4 JOBIMSGU4 8 IMSG USERID4<br />
number of users JOBIMSGUS 2 IMSG USERIDS<br />
SEND LATE<br />
MESSAGES<br />
to user1 JOBLMSGU1 8 LMSG USERID1<br />
to user2 JOBLMSGU2 8 LMSG USERID2<br />
to user3 JOBLMSGU3 8 LMSG USERID3<br />
to user4 JOBLMSGU4 8 LMSG USERID4<br />
number of users JOBLMSGUS 2 LMSG USERIDS<br />
SEND PURGE<br />
MESSAGES<br />
to user1 JOBPMSGU1 8 PMSG USERID1<br />
to user2 JOBPMSGU2 8 PMSG USERID2<br />
to user3 JOBPMSGU3 8 PMSG USERID3<br />
to user4 JOBPMSGU4 8 PMSG USERID4<br />
number of users JOBPMSGUS 2 PMSG USERIDS<br />
D-12 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
D.2 Database Reports<br />
In<strong>for</strong>mation Fieldname Field Format Heading On On Sample<br />
Length Report Reports<br />
SEND START<br />
MESSAGES<br />
to user1 JOBSMSGU1 8 SMSG USERID1<br />
to user2 JOBSMSGU2 8 SMSG USERID2<br />
to user3 JOBSMSGU3 8 SMSG USERID3<br />
to user4 JOBSMSGU4 8 SMSG USERID4<br />
number of users JOBSMSGUS 2 SMSG USERIDS<br />
Reason Code Rec<br />
AVERAGE TIME LIST<br />
reason 1 JOBELAPTM1 9 ZZZ.ZZ.ZZ ELAP-TIME1<br />
reason 2 JOBELAPTM2 9 ZZZ.ZZ.ZZ ELAP-TIME2<br />
reason 3 JOBELAPTM3 9 ZZZ.ZZ.ZZ ELAP-TIME3<br />
reason 4 JOBELAPTM4 9 ZZZ.ZZ.ZZ ELAP-TIME4<br />
reason 5 JOBELAPTM5 9 ZZZ.ZZ.ZZ ELAP-TIME5<br />
reason 6 JOBELAPTM6 9 ZZZ.ZZ.ZZ ELAP-TIME6<br />
reason 7 JOBELAPTM7 9 ZZZ.ZZ.ZZ ELAP-TIME7<br />
reason 8 JOBELAPTM8 9 ZZZ.ZZ.ZZ ELAP-TIME8<br />
reason 9 JOBELAPTM9 9 ZZZ.ZZ.ZZ ELAP-TIME9<br />
reason 1 JOBELAPTM1 9 ZZZ.ZZ.ZZ ELAP-TIME1<br />
reason 11 JOBELAPTM11 9 ZZZ.ZZ.ZZ ELAP-TIME11<br />
reason 12 JOBELAPTM12 9 ZZZ.ZZ.ZZ ELAP-TIME12<br />
reason 13 JOBELAPTM13 9 ZZZ.ZZ.ZZ ELAP-TIME13<br />
reason 14 JOBELAPTM14 9 ZZZ.ZZ.ZZ ELAP-TIME14<br />
reason 15 JOBELAPTM15 9 ZZZ.ZZ.ZZ ELAP-TIME15<br />
reason 16 JOBELAPTM16 9 ZZZ.ZZ.ZZ ELAP-TIME16<br />
DEADLINE LIST<br />
reason 1 JOBDTME1 9 ZZZ.ZZ.ZZ DEAD-TIME1<br />
reason 2 JOBDTME2 9 ZZZ.ZZ.ZZ DEAD-TIME2<br />
reason 3 JOBDTME3 9 ZZZ.ZZ.ZZ DEAD-TIME3<br />
reason 4 JOBDTME4 9 ZZZ.ZZ.ZZ DEAD-TIME4<br />
reason 5 JOBDTME5 9 ZZZ.ZZ.ZZ DEAD-TIME5<br />
reason 6 JOBDTME6 9 ZZZ.ZZ.ZZ DEAD-TIME6<br />
reason 7 JOBDTME7 9 ZZZ.ZZ.ZZ DEAD-TIME7<br />
reason 8 JOBDTME8 9 ZZZ.ZZ.ZZ DEAD-TIME8<br />
reason 9 JOBDTME9 9 ZZZ.ZZ.ZZ DEAD-TIME9<br />
reason 1 JOBDTME1 9 ZZZ.ZZ.ZZ DEAD-TIME1<br />
reason 11 JOBDTME11 9 ZZZ.ZZ.ZZ DEAD-TIME11<br />
reason 12 JOBDTME12 9 ZZZ.ZZ.ZZ DEAD-TIME12<br />
reason 13 JOBDTME13 9 ZZZ.ZZ.ZZ DEAD-TIME13<br />
reason 14 JOBDTME14 9 ZZZ.ZZ.ZZ DEAD-TIME14<br />
reason 15 JOBDTME15 9 ZZZ.ZZ.ZZ DEAD-TIME15<br />
reason 16 JOBDTME16 9 ZZZ.ZZ.ZZ DEAD-TIME16<br />
Appendix D. Advantage <strong>CA</strong>-Earl Reports D-13
D.2 Database Reports<br />
In<strong>for</strong>mation Fieldname Field Format Heading On On Sample<br />
Length Report Reports<br />
EARLY TIME LIST<br />
reason 1 JOBETIME1 9 ZZZ.ZZ.ZZ EARLY-TIME1<br />
reason 2 JOBETIME2 9 ZZZ.ZZ.ZZ EARLY-TIME2<br />
reason 3 JOBETIME3 9 ZZZ.ZZ.ZZ EARLY-TIME3<br />
reason 4 JOBETIME4 9 ZZZ.ZZ.ZZ EARLY-TIME4<br />
reason 5 JOBETIME5 9 ZZZ.ZZ.ZZ EARLY-TIME5<br />
reason 6 JOBETIME6 9 ZZZ.ZZ.ZZ EARLY-TIME6<br />
reason 7 JOBETIME7 9 ZZZ.ZZ.ZZ EARLY-TIME7<br />
reason 8 JOBETIME8 9 ZZZ.ZZ.ZZ EARLY-TIME8<br />
reason 9 JOBETIME9 9 ZZZ.ZZ.ZZ EARLY-TIME9<br />
reason 1 JOBETIME1 9 ZZZ.ZZ.ZZ EARLY-TIME1<br />
reason 11 JOBETIME11 9 ZZZ.ZZ.ZZ EARLY-TIME11<br />
reason 12 JOBETIME12 9 ZZZ.ZZ.ZZ EARLY-TIME12<br />
reason 13 JOBETIME13 9 ZZZ.ZZ.ZZ EARLY-TIME13<br />
reason 14 JOBETIME14 9 ZZZ.ZZ.ZZ EARLY-TIME14<br />
reason 15 JOBETIME15 9 ZZZ.ZZ.ZZ EARLY-TIME15<br />
reason 16 JOBETIME16 9 ZZZ.ZZ.ZZ EARLY-TIME16<br />
MAXIMUM TIME LIST<br />
reason 1 JOBMXTIME1 9 ZZZ.ZZ.ZZ MAX-TIME1<br />
reason 2 JOBMXTIME2 9 ZZZ.ZZ.ZZ MAX-TIME2<br />
reason 3 JOBMXTIME3 9 ZZZ.ZZ.ZZ MAX-TIME3<br />
reason 4 JOBMXTIME4 9 ZZZ.ZZ.ZZ MAX-TIME4<br />
reason 5 JOBMXTIME5 9 ZZZ.ZZ.ZZ MAX-TIME5<br />
reason 6 JOBMXTIME6 9 ZZZ.ZZ.ZZ MAX-TIME6<br />
reason 7 JOBMXTIME7 9 ZZZ.ZZ.ZZ MAX-TIME7<br />
reason 8 JOBMXTIME8 9 ZZZ.ZZ.ZZ MAX-TIME8<br />
reason 9 JOBMXTIME9 9 ZZZ.ZZ.ZZ MAX-TIME9<br />
reason 1 JOBMXTIME1 9 ZZZ.ZZ.ZZ MAX-TIME1<br />
reason 11 JOBMXTIME11 9 ZZZ.ZZ.ZZ MAX-TIME11<br />
reason 12 JOBMXTIME12 9 ZZZ.ZZ.ZZ MAX-TIME12<br />
reason 13 JOBMXTIME13 9 ZZZ.ZZ.ZZ MAX-TIME13<br />
reason 14 JOBMXTIME14 9 ZZZ.ZZ.ZZ MAX-TIME14<br />
reason 15 JOBMXTIME15 9 ZZZ.ZZ.ZZ MAX-TIME15<br />
reason 16 JOBMXTIME16 9 ZZZ.ZZ.ZZ MAX-TIME16<br />
MUST TIME LIST<br />
reason 1 JOBMTIME1 9 ZZZ.ZZ.ZZ MUST-TIME1<br />
reason 2 JOBMTIME2 9 ZZZ.ZZ.ZZ MUST-TIME2<br />
reason 3 JOBMTIME3 9 ZZZ.ZZ.ZZ MUST-TIME3<br />
reason 4 JOBMTIME4 9 ZZZ.ZZ.ZZ MUST-TIME4<br />
reason 5 JOBMTIME5 9 ZZZ.ZZ.ZZ MUST-TIME5<br />
reason 6 JOBMTIME6 9 ZZZ.ZZ.ZZ MUST-TIME6<br />
reason 7 JOBMTIME7 9 ZZZ.ZZ.ZZ MUST-TIME7<br />
D-14 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
D.2 Database Reports<br />
In<strong>for</strong>mation Fieldname Field Format Heading On On Sample<br />
Length Report Reports<br />
MUST TIME LIST<br />
reason 8 JOBMTIME8 9 ZZZ.ZZ.ZZ MUST-TIME8<br />
reason 9 JOBMTIME9 9 ZZZ.ZZ.ZZ MUST-TIME9<br />
reason 1 JOBMTIME1 9 ZZZ.ZZ.ZZ MUST-TIME1<br />
reason 11 JOBMTIME11 9 ZZZ.ZZ.ZZ MUST-TIME11<br />
reason 12 JOBMTIME12 9 ZZZ.ZZ.ZZ MUST-TIME12<br />
reason 13 JOBMTIME13 9 ZZZ.ZZ.ZZ MUST-TIME13<br />
reason 14 JOBMTIME14 9 ZZZ.ZZ.ZZ MUST-TIME14<br />
reason 15 JOBMTIME15 9 ZZZ.ZZ.ZZ MUST-TIME15<br />
reason 16 JOBMTIME16 9 ZZZ.ZZ.ZZ MUST-TIME16<br />
Resource Record<br />
DASD<br />
EXCPS JOBDEXCPS 4 DISK EXCPS<br />
VOLSERS<br />
number listed JOBVNEED 2 VOLUME NUMBER<br />
volume1 JOBVNAME1 6 VOLUME NAME1<br />
volume2 JOBVNAME2 6 VOLUME NAME2<br />
volume3 JOBVNAME3 6 VOLUME NAME3<br />
volume4 JOBVNAME4 6 VOLUME NAME4<br />
volume5 JOBVNAME5 6 VOLUME NAME5<br />
volume6 JOBVNAME6 6 VOLUME NAME6<br />
volume7 JOBVNAME7 6 VOLUME NAME7<br />
volume8 JOBVNAME8 6 VOLUME NAME8<br />
DASD1<br />
type JOBDTYPE1 8 DASD TYPE1<br />
number JOBDNUM1 4 DASD NUMBER1<br />
DASD2<br />
type JOBDTYPE2 8 DASD TYPE2<br />
number JOBDNUM2 4 DASD NUMBER2<br />
DASD3<br />
type JOBDTYPE3 8 DASD TYPE3<br />
number JOBDNUM3 4 DASD NUMBER3<br />
DASD4<br />
type JOBDTYPE4 8 DASD TYPE4<br />
number JOBDNUM4 4 DASD NUMBER4<br />
MAX CPU JOBCPUTME 9 ZZZ.ZZ.ZZ CPU TIME<br />
ROUTE DELAY JOBRTTIME 9 ZZZ.ZZ.ZZ ROUTING TIME<br />
Appendix D. Advantage <strong>CA</strong>-Earl Reports D-15
D.2 Database Reports<br />
In<strong>for</strong>mation Fieldname Field Format Heading On On Sample<br />
Length Report Reports<br />
SEPARATE<br />
DSNAME JOBEDATAS 45 EXCLUSIVE DATASETS<br />
JOBS LIST<br />
number listed JOBESEP 2 EXCL SEPNO<br />
job1 JOBESEP1 8 EXCL SEP1<br />
job2 JOBESEP2 8 EXCL SEP2<br />
job3 JOBESEP3 8 EXCL SEP3<br />
job4 JOBESEP4 8 EXCL SEP4<br />
job5 JOBESEP5 8 EXCL SEP5<br />
job6 JOBESEP6 8 EXCL SEP6<br />
job7 JOBESEP7 8 EXCL SEP7<br />
job8 JOBESEP8 8 EXCL SEP8<br />
TAPE EXCPS JOBTEXCPS 4 TAPE EXCPS<br />
TAPE1<br />
type JOBTTYPE1 8 TAPE TYPE1<br />
number JOBTNUM1 4 TAPE NUMBER1<br />
TAPE2<br />
type JOBTTYPE2 8 TAPE TYPE2<br />
number JOBTNUM2 4 TAPE NUMBER2<br />
TAPE3<br />
type JOBTTYPE3 8 TAPE TYPE3<br />
number JOBTNUM3 4 TAPE NUMBER3<br />
TAPE4<br />
type JOBTTYPE4 8 TAPE TYPE4<br />
number JOBTNUM4 4 TAPE NUMBER4<br />
UNIT EXCPS JOBOEXCPS 4 OTHER EXCPS<br />
UNIT1<br />
type JOBUREC1 8 UNIT RECORD1<br />
number JOBUNUM1 4 UNIT NUMBER1<br />
UNIT2<br />
type JOBUREC2 8 UNIT RECORD2<br />
number JOBUNUM2 4 UNIT NUMBER2<br />
UNIT3<br />
type JOBUREC3 8 UNIT RECORD3<br />
number JOBUNUM3 4 UNIT NUMBER3<br />
UNIT4<br />
type JOBUREC4 8 UNIT RECORD4<br />
number JOBUNUM4 4 UNIT NUMBER4<br />
D-16 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
D.2 Database Reports<br />
D.2.5 Schedule In<strong>for</strong>mation from Database<br />
Advantage <strong>CA</strong>-Earl reports can include schedule in<strong>for</strong>mation from the <strong>Unicenter</strong><br />
<strong>CA</strong>-<strong>Scheduler</strong> data base. To include this in<strong>for</strong>mation on a report, copy the <strong>CA</strong>JESM<br />
source member and list the fieldnames you want on the PRINT statement.<br />
In<strong>for</strong>mation Fieldname Field Format Heading On On Sample<br />
Length Report Reports<br />
Record Name<br />
schedule name SCHNAME 8 SCHEDULE NAME<br />
number of jobs SCHJCOUNT 4 JOB COUNT<br />
Defined Records<br />
schedule base SCHBASEREC 1 BASE RECORD<br />
schedule criteria SCHCRIREC 1 CRITERIA RECORD<br />
schedule info SCHINFOREC 1 INFO RECORD<br />
schedule message SCHMSGREC 1 MESSAGE RECORD<br />
schedule reasons SCHREASON 1 REASON CODE<br />
Base Record<br />
AUTO SELECT SCHAUTOSLC 1 AUTO SELECT<br />
BACKLOG SCHBACKLOG 1 BACKLOG<br />
DATETABLE SCHDTABLE 8 DATE TABLE<br />
JOB statement values<br />
user SCHINFO 16 POWER-JOB<strong>CA</strong>RD<br />
USER-FIELD<br />
notify SCHNTFY 1 POWER-JOB<strong>CA</strong>RD NTFY<br />
print destination SCHLDEST 8 POWER-JOB<strong>CA</strong>RD<br />
LIST-NODE<br />
punch destination SCHPDEST 8 POWER-JOB<strong>CA</strong>RD<br />
PUNCH-NODE<br />
POWER PRIORITY SCHPOWPRTY 2 JOB-<strong>CA</strong>RD PRIORITY<br />
POWER CLASS SCHCLASS 1 CLASS<br />
LIBRARY TYPE SCHLIB 8 LIBRARY TYPE<br />
NODE ID SCHNODEID 8 NODE ID<br />
PRIORITY SCHPRIORITY 2 PRIORITY<br />
RUN ON SYSID SCHCPUID 4 CPU ID<br />
STAGING SCHSTAGE 1 STAGING<br />
TIMES<br />
EARLIEST START SCHERLYTIME 9 ZZZ.ZZ.ZZ EARLY-TIME<br />
MUST START BY SCHMUSTTIME 9 ZZZ.ZZ.ZZ MUST-TIME<br />
COMPLETION SCHDEADTIME 9 ZZZ.ZZ.ZZ DEAD-TIME<br />
Appendix D. Advantage <strong>CA</strong>-Earl Reports D-17
D.2 Database Reports<br />
In<strong>for</strong>mation Fieldname Field Format Heading On On Sample<br />
Length Report Reports<br />
TIMES<br />
MAX EXECUTION SCHMAXTIME 9 ZZZ.ZZ.ZZ MAXIMUM-TIME<br />
AVERAGE SCHAELAPTME 9 ZZZ.ZZ.ZZ AVG-ELAP-TME<br />
simulated start SCHSIMSTME 9 ZZZ.ZZ.ZZ SIM-ST-TIME<br />
USE SIMTIME SCHSIMSTART 1 SIMULATE START<br />
USERS<br />
userid1 SCHUSERID1 8 SCHEDULE USER-ID1<br />
userid2 SCHUSERID2 8 SCHEDULE USER-ID2<br />
userid3 SCHUSERID3 8 SCHEDULE USER-ID3<br />
userid4 SCHUSERID4 8 SCHEDULE USER-ID4<br />
userid5 SCHUSERID5 8 SCHEDULE USER-ID5<br />
userid6 SCHUSERID6 8 SCHEDULE USER-ID6<br />
userid7 SCHUSERID7 8 SCHEDULE USER-ID7<br />
userid8 SCHUSERID8 8 SCHEDULE USER-ID8<br />
number listed SCHUSERIDS 2 SCHEDULE USER-IDS<br />
last user to SCHUSERLST 8 LAST-USER UPD-SBR<br />
update record<br />
Info Record<br />
COMMENT SCHCOMMENT 3 COMMENT<br />
DELIVERABLES SCHDSPEC1 8 DELIVERY SPEC1<br />
SCHDSPEC2 8 DELIVERY SPEC2<br />
SCHDSPEC3 8 DELIVERY SPEC3<br />
SCHDSPEC4 8 DELIVERY SPEC4<br />
SCHDSPEC5 8 DELIVERY SPEC5<br />
SCHDSPEC6 8 DELIVERY SPEC6<br />
SCHDSPEC7 8 DELIVERY SPEC7<br />
SCHDSPEC8 8 DELIVERY SPEC8<br />
DESCRIPTION SCHMDESC 4 MEMO DESC<br />
DESTINATIONS SCHDEST1 8 DESTINATION1<br />
SCHDEST2 8 DESTINATION2<br />
SCHDEST3 8 DESTINATION3<br />
SCHDEST4 8 DESTINATION4<br />
SCHDEST5 8 DESTINATION5<br />
SCHDEST6 8 DESTINATION6<br />
SCHDEST7 8 DESTINATION7<br />
SCHDEST8 8 DESTINATION8<br />
EXITPARM SCHUSER 16 USER EXIT FIELD<br />
FORM SCHFNUM 8 FORM NUMBER<br />
NOTIFY SCHPNOTIFY 12 PERSON NOTIFY<br />
D-18 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
D.2 Database Reports<br />
In<strong>for</strong>mation Fieldname Field Format Heading On On Sample<br />
Length Report Reports<br />
RESPONSIBILITY SCHPRESP 12 PERSON RESPONSIBLE<br />
QUANTITY SCHQUANTITY 8 QUANTITY<br />
SPECIFI<strong>CA</strong>TION SCHSPNUM 8 SPEC NUMBER<br />
VERIFY SCHNVERIFY 1 NEEDS VERIFY<br />
Message Record<br />
SEND ALL MESSAGES<br />
to user1 SCHMSGU1 8 MESSAGE USERID1<br />
to user2 SCHMSGU2 8 MESSAGE USERID2<br />
to user3 SCHMSGU3 8 MESSAGE USERID3<br />
to user4 SCHMSGU4 8 MESSAGE USERID4<br />
number of users SCHMSGUS 2 MESSAGE USERIDS<br />
SEND END MESSAGES<br />
to user1 SCHEMSGU1 8 EMESSAGE USERID1<br />
to user2 SCHEMSGU2 8 EMESSAGE USERID2<br />
to user3 SCHEMSGU3 8 EMESSAGE USERID3<br />
to user4 SCHEMSGU4 8 EMESSAGE USERID4<br />
number of users SCHEMSGUS 2 EMESSAGE USERIDS<br />
SEND LATE<br />
MESSAGES<br />
to user1 SCHLMSGU1 8 LMESSAGE USERID1<br />
to user2 SCHLMSGU2 8 LMESSAGE USERID2<br />
to user3 SCHLMSGU3 8 LMESSAGE USERID3<br />
to user4 SCHLMSGU4 8 LMESSAGE USERID4<br />
number of users SCHLMSGUS 2 LMESSAGE USERIDS<br />
SEND START<br />
MESSAGES<br />
to user1 SCHSMSGU1 8 SMESSAGE USERID1<br />
to user2 SCHSMSGU2 8 SMESSAGE USERID2<br />
to user3 SCHSMSGU3 8 SMESSAGE USERID3<br />
to user4 SCHSMSGU4 8 SMESSAGE USERID4<br />
number of users SCHSMSGUS 2 SMESSAGE USERIDS<br />
Reason Code Rec<br />
AVERAGE TIME LIST<br />
reason 1 SCHELAPTM1 9 ZZZ.ZZ.ZZ ELAP-TIME1<br />
reason 2 SCHELAPTM2 9 ZZZ.ZZ.ZZ ELAP-TIME2<br />
reason 3 SCHELAPTM3 9 ZZZ.ZZ.ZZ ELAP-TIME3<br />
Appendix D. Advantage <strong>CA</strong>-Earl Reports D-19
D.2 Database Reports<br />
In<strong>for</strong>mation Fieldname Field Format Heading On On Sample<br />
Length Report Reports<br />
AVERAGE TIME LIST<br />
reason 4 SCHELAPTM4 9 ZZZ.ZZ.ZZ ELAP-TIME4<br />
reason 5 SCHELAPTM5 9 ZZZ.ZZ.ZZ ELAP-TIME5<br />
reason 6 SCHELAPTM6 9 ZZZ.ZZ.ZZ ELAP-TIME6<br />
reason 7 SCHELAPTM7 9 ZZZ.ZZ.ZZ ELAP-TIME7<br />
reason 8 SCHELAPTM8 9 ZZZ.ZZ.ZZ ELAP-TIME8<br />
reason 9 SCHELAPTM9 9 ZZZ.ZZ.ZZ ELAP-TIME9<br />
reason 1 SCHELAPTM1 9 ZZZ.ZZ.ZZ ELAP-TIME1<br />
reason 11 SCHELAPTM11 9 ZZZ.ZZ.ZZ ELAP-TIME11<br />
reason 12 SCHELAPTM12 9 ZZZ.ZZ.ZZ ELAP-TIME12<br />
reason 13 SCHELAPTM13 9 ZZZ.ZZ.ZZ ELAP-TIME13<br />
reason 14 SCHELAPTM14 9 ZZZ.ZZ.ZZ ELAP-TIME14<br />
reason 15 SCHELAPTM15 9 ZZZ.ZZ.ZZ ELAP-TIME15<br />
reason 16 SCHELAPTM16 9 ZZZ.ZZ.ZZ ELAP-TIME16<br />
DEADLINE LIST<br />
reason 1 SCHDTME1 9 ZZZ.ZZ.ZZ DEAD-TIME1<br />
reason 2 SCHDTME2 9 ZZZ.ZZ.ZZ DEAD-TIME2<br />
reason 3 SCHDTME3 9 ZZZ.ZZ.ZZ DEAD-TIME3<br />
reason 4 SCHDTME4 9 ZZZ.ZZ.ZZ DEAD-TIME4<br />
reason 5 SCHDTME5 9 ZZZ.ZZ.ZZ DEAD-TIME5<br />
reason 6 SCHDTME6 9 ZZZ.ZZ.ZZ DEAD-TIME6<br />
reason 7 SCHDTME7 9 ZZZ.ZZ.ZZ DEAD-TIME7<br />
reason 8 SCHDTME8 9 ZZZ.ZZ.ZZ DEAD-TIME8<br />
reason 9 SCHDTME9 9 ZZZ.ZZ.ZZ DEAD-TIME9<br />
reason 1 SCHDTME1 9 ZZZ.ZZ.ZZ DEAD-TIME1<br />
reason 11 SCHDTME11 9 ZZZ.ZZ.ZZ DEAD-TIME11<br />
reason 12 SCHDTME12 9 ZZZ.ZZ.ZZ DEAD-TIME12<br />
reason 13 SCHDTME13 9 ZZZ.ZZ.ZZ DEAD-TIME13<br />
reason 14 SCHDTME14 9 ZZZ.ZZ.ZZ DEAD-TIME14<br />
reason 15 SCHDTME15 9 ZZZ.ZZ.ZZ DEAD-TIME15<br />
reason 16 SCHDTME16 9 ZZZ.ZZ.ZZ DEAD-TIME16<br />
EARLY TIME LIST<br />
reason 1 SCHETIME1 9 ZZZ.ZZ.ZZ EARLY-TIME1<br />
reason 2 SCHETIME2 9 ZZZ.ZZ.ZZ EARLY-TIME2<br />
reason 3 SCHETIME3 9 ZZZ.ZZ.ZZ EARLY-TIME3<br />
reason 4 SCHETIME4 9 ZZZ.ZZ.ZZ EARLY-TIME4<br />
reason 5 SCHETIME5 9 ZZZ.ZZ.ZZ EARLY-TIME5<br />
reason 6 SCHETIME6 9 ZZZ.ZZ.ZZ EARLY-TIME6<br />
reason 7 SCHETIME7 9 ZZZ.ZZ.ZZ EARLY-TIME7<br />
reason 8 SCHETIME8 9 ZZZ.ZZ.ZZ EARLY-TIME8<br />
reason 9 SCHETIME9 9 ZZZ.ZZ.ZZ EARLY-TIME9<br />
reason 1 SCHETIME1 9 ZZZ.ZZ.ZZ EARLY-TIME1<br />
reason 11 SCHETIME11 9 ZZZ.ZZ.ZZ EARLY-TIME11<br />
D-20 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
D.2 Database Reports<br />
In<strong>for</strong>mation Fieldname Field Format Heading On On Sample<br />
Length Report Reports<br />
EARLY TIME LIST<br />
reason 12 SCHETIME12 9 ZZZ.ZZ.ZZ EARLY-TIME12<br />
reason 13 SCHETIME13 9 ZZZ.ZZ.ZZ EARLY-TIME13<br />
reason 14 SCHETIME14 9 ZZZ.ZZ.ZZ EARLY-TIME14<br />
reason 15 SCHETIME15 9 ZZZ.ZZ.ZZ EARLY-TIME15<br />
reason 16 SCHETIME16 9 ZZZ.ZZ.ZZ EARLY-TIME16<br />
MAXIMUM TIME LIST<br />
reason 1 SCHMXTIME1 9 ZZZ.ZZ.ZZ MAX-TIME1<br />
reason 2 SCHMXTIME2 9 ZZZ.ZZ.ZZ MAX-TIME2<br />
reason 3 SCHMXTIME3 9 ZZZ.ZZ.ZZ MAX-TIME3<br />
reason 4 SCHMXTIME4 9 ZZZ.ZZ.ZZ MAX-TIME4<br />
reason 5 SCHMXTIME5 9 ZZZ.ZZ.ZZ MAX-TIME5<br />
reason 6 SCHMXTIME6 9 ZZZ.ZZ.ZZ MAX-TIME6<br />
reason 7 SCHMXTIME7 9 ZZZ.ZZ.ZZ MAX-TIME7<br />
reason 8 SCHMXTIME8 9 ZZZ.ZZ.ZZ MAX-TIME8<br />
reason 9 SCHMXTIME9 9 ZZZ.ZZ.ZZ MAX-TIME9<br />
reason 1 SCHMXTIME1 9 ZZZ.ZZ.ZZ MAX-TIME1<br />
reason 11 SCHMXTIME11 9 ZZZ.ZZ.ZZ MAX-TIME11<br />
reason 12 SCHMXTIME12 9 ZZZ.ZZ.ZZ MAX-TIME12<br />
reason 13 SCHMXTIME13 9 ZZZ.ZZ.ZZ MAX-TIME13<br />
reason 14 SCHMXTIME14 9 ZZZ.ZZ.ZZ MAX-TIME14<br />
reason 15 SCHMXTIME15 9 ZZZ.ZZ.ZZ MAX-TIME15<br />
reason 16 SCHMXTIME16 9 ZZZ.ZZ.ZZ MAX-TIME16<br />
MUST TIME LIST<br />
reason 1 SCHMTIME1 9 ZZZ.ZZ.ZZ MUST-TIME1<br />
reason 2 SCHMTIME2 9 ZZZ.ZZ.ZZ MUST-TIME2<br />
reason 3 SCHMTIME3 9 ZZZ.ZZ.ZZ MUST-TIME3<br />
reason 4 SCHMTIME4 9 ZZZ.ZZ.ZZ MUST-TIME4<br />
reason 5 SCHMTIME5 9 ZZZ.ZZ.ZZ MUST-TIME5<br />
reason 6 SCHMTIME6 9 ZZZ.ZZ.ZZ MUST-TIME6<br />
reason 7 SCHMTIME7 9 ZZZ.ZZ.ZZ MUST-TIME7<br />
reason 8 SCHMTIME8 9 ZZZ.ZZ.ZZ MUST-TIME8<br />
reason 9 SCHMTIME9 9 ZZZ.ZZ.ZZ MUST-TIME9<br />
reason 1 SCHMTIME1 9 ZZZ.ZZ.ZZ MUST-TIME1<br />
reason 11 SCHMTIME11 9 ZZZ.ZZ.ZZ MUST-TIME11<br />
reason 12 SCHMTIME12 9 ZZZ.ZZ.ZZ MUST-TIME12<br />
reason 13 SCHMTIME13 9 ZZZ.ZZ.ZZ MUST-TIME13<br />
reason 14 SCHMTIME14 9 ZZZ.ZZ.ZZ MUST-TIME14<br />
reason 15 SCHMTIME15 9 ZZZ.ZZ.ZZ MUST-TIME15<br />
reason 16 SCHMTIME16 9 ZZZ.ZZ.ZZ MUST-TIME16<br />
Appendix D. Advantage <strong>CA</strong>-Earl Reports D-21
D.3 History File Reports<br />
D.3 History File Reports<br />
Following are examples of <strong>CA</strong>-Earl History File reports.<br />
D.3.1 <strong>CA</strong>JESETH Source Member<br />
The <strong>CA</strong>JESETH source member sets the record ID to either HHR <strong>for</strong> job records or<br />
THR <strong>for</strong> schedule records (sequential read only is allowed).<br />
SET PRMFUNC = 'GETS'<br />
SET PRMID = 'HHR '<br />
SET PRMNME = '<br />
SET PRMNUM = ' '<br />
SET PRMSTA = ' '<br />
SET PRMSCH = '<br />
'<br />
'<br />
D.3.2 <strong>CA</strong>JECNVS Source Member<br />
The <strong>CA</strong>JECNVS source member decodes the status codes stored in the history file.<br />
Specify it on a COPY statement if you want to include STATUS as one of the fields<br />
on the report. (If a new status is added, you will have to add it to this list.)<br />
! DECODE LOGIC FOR JOB OR SCHEDULE STATUS CODE<br />
DECODE_STATUS: PROC<br />
DECODE IN_STATUS INTO OUT_STATUS<br />
'A' = 'ABENDED '<br />
'B' = 'NO BACKLOG <strong>CA</strong>NCELLED'<br />
'C' = 'COMPLETED '<br />
'F' = 'FAILED '<br />
'I' = 'INTERRUPTED '<br />
'N' = 'OPERATOR <strong>CA</strong>NCELLED '<br />
'T' = 'WAITING START TIME '<br />
'P' = 'WAITING PREDS '<br />
'R' = 'WAITING RESOURCES '<br />
'O' = 'WAITING OPER. SUBMIT'<br />
'Q' = 'SUBMITTED '<br />
'S' = 'STARTED '<br />
ELSE 'UNKOWN '<br />
ENDPROC<br />
D.3.3 <strong>CA</strong>IDEFD Source Member<br />
The <strong>CA</strong>IDEFD source member converts dates from Julian to Gregorian <strong>for</strong>mat.<br />
Specify it on a COPY statement if you want dates to be printed as DD/MM/YY<br />
instead of DDDYY.<br />
D-22 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
D.3 History File Reports<br />
!<br />
! <strong>CA</strong>I EARL JULIAN-GREGORIAN DATE CONVERSION ROUTINE<br />
!<br />
! COPY MEMBER : <strong>CA</strong>IDEFD<br />
! CONTAINS : ALL EARL DEFINE STATEMENTS FOR THE<br />
! DATE CONVERSION ROUTINE<br />
!<br />
!<br />
!<br />
DEF <strong>CA</strong>I_DTAB ARRAY 12 OF (P 2.) = 31 29 31 3 31 3 31 31 3 31 3 31<br />
!<br />
DEF <strong>CA</strong>I_DATE (P 5.) = 841<br />
DEF <strong>CA</strong>I_YEAR = <strong>CA</strong>I_DATE 1 U<br />
DEF <strong>CA</strong>I_DAYS = <strong>CA</strong>I_DATE 2-3 P<br />
!<br />
DEF <strong>CA</strong>I_NDAYS (P 3.) = <br />
!<br />
DEF <strong>CA</strong>I_R1 (P 2.) = 1<br />
DEF <strong>CA</strong>I_MNTH (P 2.) = <br />
!<br />
DEF <strong>CA</strong>I_OUTDATE (X 8) = ' '<br />
DEF <strong>CA</strong>I_OUTMM = <strong>CA</strong>I_OUTDATE 1-2 N<br />
DEF <strong>CA</strong>I_OUTDD = <strong>CA</strong>I_OUTDATE 4-5 N<br />
DEF <strong>CA</strong>I_OUTYY = <strong>CA</strong>I_OUTDATE 7-8 N<br />
!<br />
Appendix D. Advantage <strong>CA</strong>-Earl Reports D-23
D.3 History File Reports<br />
D.3.4 <strong>Job</strong> In<strong>for</strong>mation from History File<br />
Advantage <strong>CA</strong>-Earl reports can include job in<strong>for</strong>mation from the history file. To<br />
include this in<strong>for</strong>mation on a report, COPY the <strong>CA</strong>JEJHR source member and list the<br />
fieldnames you want on the PRINT statement. See the chapter "Reports" <strong>for</strong> samples.<br />
In<strong>for</strong>mation Fieldname Field Format Heading On On Sample<br />
Length Report Reports<br />
Record Name<br />
job name JHRJNAME 8 JOB NAME yes<br />
job number JHRJNUMBER 2 JNO yes<br />
schedule name JHRSCHNAME 8 SCHEDULE NAME yes<br />
station ID JHRSTATID 2 STATION ID yes<br />
Selection Data<br />
reason <strong>for</strong> JHRRCODE 2 REASON CODE yes<br />
selection<br />
date selected JHRSDATE 8 SCHEDULED DATE yes<br />
time selected JHRSCHTME 9 ZZZ.ZZ.ZZ SCHEDULED TIME yes<br />
Defined Times<br />
earliest start<br />
date JHREDATE 8 EARLY DATE<br />
time JHRETIME 9 ZZZ.ZZ.ZZ EARLY TIME<br />
"must start by"<br />
date JHRMDATE 8 MUST DATE yes<br />
time JHRMTIME 9 ZZZ.ZZ.ZZ MUST TIME yes<br />
completion<br />
date JHRDDATE 8 DEADLINE DATE yes<br />
time JHRDTIME 9 ZZZ.ZZ.ZZ DEADLINE TIME yes<br />
Actual Times<br />
available<br />
date JHRADATE 8 AVAILABLE DATE<br />
time JHRAVTME 9 ZZZ.ZZ.ZZ AVAILABLE TIME yes<br />
start<br />
date JHRACTSD 8 ACTUAL ST-DATE yes<br />
time JHRACSTME 9 ZZZ.ZZ.ZZ ACTUAL ST-TIME yes<br />
D-24 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
D.3 History File Reports<br />
In<strong>for</strong>mation Fieldname Field Format Heading On On Sample<br />
Length Report Reports<br />
end<br />
date JHRACTED 8 ACTUAL END-DATE yes<br />
time JHRACETME 9 ZZZ.ZZ.ZZ ACTUAL END-TIME yes<br />
elapsed time JHRELAPTME 9 ZZZ.ZZ.ZZ ELAPSED TIME yes<br />
CPU time JHRCPUTME 9 ZZZ.ZZ.ZZ CPU TIME yes<br />
Actual EXCPS<br />
DASD EXCPS JHRDASDIO 4 DASD I/O<br />
tape EXCPS JHRTAPEIO 4 TAPE I/O<br />
unit EXCPS JHROTHERIO 4 OTHER I/O<br />
Userid That<br />
Issued Command<br />
RUN JHRURUN 8 USERID RUN<br />
HOLD JHRUHOLD 8 USERID HOLD<br />
RELEASE JHRUREL 8 USERID RELEASE<br />
<strong>CA</strong>NCEL JHRUCNCL 8 USERID <strong>CA</strong>NCEL yes<br />
FORCE JHRUFRCE 8 USERID FORCED yes<br />
START JHRUSTRT 8 USERID STARTED<br />
COMPLETE JHRUCOMP 8 USERID COMPLETED<br />
Status<br />
completion code JHRCCODE 5 COMPLETION CODE yes<br />
final status JHRSTATUS 1 STATUS yes<br />
POWER job number JHRJOBNO 2 POWER JOBNO yes<br />
Appendix D. Advantage <strong>CA</strong>-Earl Reports D-25
D.3 History File Reports<br />
D.3.5 Schedule In<strong>for</strong>mation from History File<br />
Advantage <strong>CA</strong>-Earl reports can include schedule in<strong>for</strong>mation from the history file. To<br />
include this in<strong>for</strong>mation on a report, copy the <strong>CA</strong>JESHR source member and list the<br />
fieldnames you want on the PRINT statement.<br />
In<strong>for</strong>mation Fieldname Field Format Heading On On Sample<br />
Length Report Reports<br />
Record Name<br />
schedule name SHRSCHNAME 8 SCHEDULE NAME<br />
Selection Data<br />
reason SHRRCODE 2 REASON CODE<br />
date SHRSDATE 8 SCHEDULED DATE<br />
time SHRSCHTME 9 ZZZ.ZZ.ZZ SCHEDULED TIME<br />
Defined Times<br />
earliest start<br />
date SHREDATE 8 EARLY DATE<br />
time SHRETIME 9 ZZZ.ZZ.ZZ EARLY TIME<br />
"must start by"<br />
date SHRMDATE 8 MUST DATE<br />
time SHRMTIME 9 ZZZ.ZZ.ZZ MUST TIME<br />
completion<br />
date SHRDDATE 8 DEADLINE DATE<br />
time SHRDTIME 9 ZZZ.ZZ.ZZ DEADLINE TIME<br />
Actual Times<br />
available<br />
date SHRADATE 8 AVAILABLE DATE<br />
time SHRAVTME 9 ZZZ.ZZ.ZZ AVAILABLE TIME<br />
start<br />
date SHRACTSD 8 ACTUAL ST-DATE<br />
time SHRACSTME 9 ZZZ.ZZ.ZZ ACTUAL ST-TIME<br />
end<br />
date SHRACTED 8 ACTUAL END-DATE<br />
time SHRACETME 9 ZZZ.ZZ.ZZ ACTUAL END-TIME<br />
elapsed time SHRELAPTME 9 ZZZ.ZZ.ZZ ELAPSED TIME<br />
CPU time SHRCPUTME 9 ZZZ.ZZ.ZZ CPU TIME<br />
D-26 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
D.3 History File Reports<br />
In<strong>for</strong>mation Fieldname Field Format Heading On On Sample<br />
Length Report Reports<br />
Actual EXCPS<br />
DASD EXCPS SHRDASDIO 4 DASD I/O<br />
tape EXCPS SHRTAPEIO 4 TAPE I/O<br />
unit EXCPS SHROTHERIO 4 OTHER I/O<br />
Userid That<br />
Issued Command<br />
RUN SHRURUN 8 USERID RUN<br />
HOLD SHRUHOLD 8 USERID HOLD<br />
RELEASE SHRUREL 8 USERID RELEASE<br />
<strong>CA</strong>NCEL SHRUCNCL 8 USERID <strong>CA</strong>NCEL<br />
FORCE SHRUFRCE 8 USERID FORCED<br />
Status<br />
completion code SHRCCODE 5 COMPLETION CODE<br />
final status SHRSTATUS 1 STATUS<br />
Appendix D. Advantage <strong>CA</strong>-Earl Reports D-27
D.4 Tracking File Reports<br />
D.4 Tracking File Reports<br />
Following are examples of <strong>CA</strong>-Earl Tracking File reports.<br />
D.4.1 <strong>CA</strong>JESETT Source Member<br />
This member sets the parameters <strong>for</strong> communication between <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong><br />
and Advantage <strong>CA</strong>-Earl. Specify it on a COPY statement. The record ID is set to JTR<br />
to select job records from the tracking file. Use PRMNME to define which jobs will<br />
be selected:<br />
To Select Specify PRMNME = Example<br />
All jobs '*' PRMNME = '*'<br />
One specific job 'jobname' PRMNME = 'JOBA'<br />
A group of jobs 'jobname *' PRMNME = 'PAY*'<br />
The following sample selects all jobs:<br />
SET PRMFUNC = 'GETS'<br />
SET PRMID = 'JTR '<br />
SET PRMNME = '<br />
SET PRMNUM = ' '<br />
SET PRMSTA = ' '<br />
SET PRMSCH = '<br />
SET PRMONODE = '<br />
'<br />
'<br />
'<br />
D.4.2 <strong>CA</strong>JESETS Source Member<br />
The <strong>CA</strong>JESETS source member sets the parameters <strong>for</strong> communication between<br />
<strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> and Advantage <strong>CA</strong>-Earl. Specify it on a COPY statement.<br />
The record ID is set to STR to select schedule records from the tracking file. Use<br />
PRMNME to define which schedules will be selected:<br />
To Select Specify PRMSCH = Example<br />
All schedules '*' PRMSCH = '*'<br />
One specific schedule 'sname' PRMSCH = 'SCHDA'<br />
A group of schedules 'sname *' PRMSCH = 'PAY*'<br />
D-28 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
D.4 Tracking File Reports<br />
The following sample selects all schedules:<br />
SET PRMFUNC = 'GETS'<br />
SET PRMID = 'STR '<br />
SET PRMNME = '<br />
SET PRMNUM = ' '<br />
SET PRMSTA = ' '<br />
SET PRMSCH = '<br />
SET PRMONODE = '<br />
'<br />
'<br />
'<br />
D.4.3 <strong>CA</strong>JECNV0 Source Member<br />
The <strong>CA</strong>JECNV0 source member assigns hold status and run status values, determined<br />
from mask values on the job or schedule tracking records. Specify it on a COPY<br />
statement.<br />
Appendix D. Advantage <strong>CA</strong>-Earl Reports D-29
D.4 Tracking File Reports<br />
DECODE_STATUS: PROC<br />
!<br />
DECODE IN_HSTAT INTO OUT_HSTAT<br />
M'' = 'ACTIVE '<br />
M'1' = 'NOT REQUESTED '<br />
M'1' = 'NOT REQSTD SUCCESSOR'<br />
M'11' = 'AUTO RECOVERY HELD '<br />
M'1' = 'HELD BY --- XXXXXXXX'<br />
M'11' = '<strong>CA</strong>NCELED BY XXXXXXXX'<br />
M'11' = 'NO BACKLOG <strong>CA</strong>NCELLED'<br />
M'111' = 'HELD BY SHUTDOWN '<br />
ELSE 'UNKNOWN '<br />
!<br />
DECODE IN_RSTAT INTO OUT_RSTAT<br />
M'' = 'SCHEDULED TO RUN '<br />
M'1' = 'WAITING START TIME '<br />
M'1' = 'WAITING PREDS '<br />
M'11' = 'WAITING RESOURCES '<br />
M'1' = 'UNKNOWN '<br />
M'11' = 'SUBMIT IN PROGRESS '<br />
M'11' = 'SUBMIT COMPLETED '<br />
M'111' = 'SUBMIT FAILED '<br />
M'1' = 'RECEIVED AT NODE '<br />
M'11' = 'STARTED '<br />
M'11' = 'FAILED '<br />
M'111' = 'ABENDED '<br />
M'11' = 'INTERRUPTED '<br />
M'111' = 'COMPLETED '<br />
M'111' = 'OS PURGED '<br />
!<br />
! <br />
! IF WAITING FOR PREDS AND WAITING PRE-CPU PREDS THEN CHANGE OUT_RSTAT<br />
! <br />
!<br />
CK_WAIT_PREDS:<br />
IF IN_RSTAT NOT = M'1' THEN GOTO CK_SBMT<br />
ENDIF<br />
IF IN_FLG4 = M'XX1XXXXX' THEN<br />
SET OUT_RSTAT = 'WAITING PRE-CPU END '<br />
GOTO CK_SBMT<br />
ENDIF<br />
IF IN_FLG4 = M'XXX1XXXX' THEN<br />
SET OUT_RSTAT = 'WAITING CPU JOB END '<br />
ENDIF<br />
!<br />
! <br />
! IF SUBMIT IS COMPLETED AND SCHEDULE IS EXTERNAL THEN STATUS IS<br />
! 'WAIT NON-CPU START'<br />
! <br />
D-30 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
D.4 Tracking File Reports<br />
!<br />
CK_SBMT:<br />
IF IN_RSTAT NOT = M'11' THEN GOTO CK_SBFL<br />
ENDIF<br />
IF IN_FLG1 = M'XX1XXXXX' THEN<br />
SET OUT_RSTAT = 'WAIT NON-CPU START '<br />
ENDIF<br />
!<br />
! <br />
! IF SUBMIT FAILED AND JOB IS NOT IN READER QUEUE THEN STATUS IS<br />
! 'WAITING USER SUBMIT'<br />
! <br />
!<br />
CK_SBFL:<br />
IF IN_RSTAT NOT = M'111' THEN GOTO CK_STRT<br />
ENDIF<br />
IF IN_FLG4 = M'X1XXXXXX' THEN<br />
SET OUT_RSTAT = 'WAITING USER SUBMIT '<br />
ENDIF<br />
!<br />
! <br />
! IF STARTED AND SCHEDULE IS EXTERNAL AND IT IS AN AUTOMATI<strong>CA</strong>LLY<br />
! SELECTED SCHEDULE THEN STATUS IS 'AUTO STARTED'<br />
! <br />
!<br />
CK_STRT:<br />
IF IN_RSTAT NOT = M'11' THEN GOTO END_BITS_CK<br />
ENDIF<br />
IF IN_FLG1 NOT = M'XX1XXXXX' THEN GOTO END_BITS_CK<br />
ENDIF<br />
IF IN_FLG1 = M'1XXXXXXX' THEN<br />
SET OUT_RSTAT = 'AUTO STARTED '<br />
ENDIF<br />
!<br />
END_BITS_CK:<br />
!<br />
ENDPROC<br />
Appendix D. Advantage <strong>CA</strong>-Earl Reports D-31
D.4 Tracking File Reports<br />
D.4.4 <strong>Job</strong> In<strong>for</strong>mation from Tracking File<br />
Advantage <strong>CA</strong>-Earl reports can include job in<strong>for</strong>mation from the <strong>Unicenter</strong><br />
<strong>CA</strong>-<strong>Scheduler</strong> tracking file. To include this in<strong>for</strong>mation on a report, copy the<br />
<strong>CA</strong>JEJTR source member and list the fieldnames you want on the PRINT statement.<br />
See the chapter "Reports" <strong>for</strong> samples.<br />
In<strong>for</strong>mation Fieldname Field Format Heading On On Sample<br />
Length Report Reports<br />
Record Name<br />
job name JTRJNAME 8 JOB NAME yes<br />
job number JTRJNUMBER 2 JOB NMBR yes<br />
schedule name JTRSCHNAME 8 SCHEDULE NAME yes<br />
station ID JTRSTATID 2 STATN ID yes<br />
node of origin JTRONODE 8 NODE ORIGIN<br />
CPU where schedu- JTRSSID 4 CPU ID<br />
ling was done<br />
JCL Library Info<br />
LIBRARY TYPE JTRLIBS 1 LIBTYPE<br />
MEMBER NAME JTRMEMBR 8 JCL MEMBR-NAME<br />
MBR SUBID JTRMBRSB 8 JCL MEMBR-SUBID<br />
MEMBER PASSWORD JTRLPASS 8 JCL MEMBR-PWORD<br />
SLI SUBLIB JTRSUBLB 1 SUBLIB TYPE<br />
ICCF LIB NUMBER JTRICCFL 3 ICCF LIB-NUMBR<br />
Misc Defined Info<br />
ABEND alternate<br />
schedule JTRABSCD 8 ABEND SCHD-NAME<br />
BACKLOG JTRBKLOG 1 BACKLOG Y|N<br />
DISPLAY KEY JTRDISPK 8 DOC DISPL KY<br />
DISPLAY TIME JTRDISPT 9 ZZZ.ZZ.ZZ DOC DISPL TIME<br />
JOB PRIORITY JTRJPRTY 2 JOB PRIORITY<br />
MEMO JTRMEMO 6 MEMO MESSAGE<br />
STAGE JTRSTAGE 1 STAGE Y|N<br />
DASD VOLSERS<br />
number listed JTRVOLS 2 VOLSERS COUNT<br />
volume1 JTRVOLS1 6 VOLUME ONE<br />
volume2 JTRVOLS2 6 VOLUME TWO<br />
volume3 JTRVOLS3 6 VOLUME THREE<br />
volume4 JTRVOLS4 6 VOLUME FOUR<br />
volume5 JTRVOLS5 6 VOLUME FIVE<br />
volume6 JTRVOLS6 6 VOLUME SIX<br />
volume7 JTRVOLS7 6 VOLUME SEVEN<br />
volume8 JTRVOLS8 6 VOLUME EIGHT<br />
D-32 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
D.4 Tracking File Reports<br />
In<strong>for</strong>mation Fieldname Field Format Heading On On Sample<br />
Length Report Reports<br />
SEPARATE<br />
DSNAME JTRDSN 44 SEP DSN<br />
JOBS LIST<br />
number listed JTRJSEPS 2 SEP-JOB COUNT<br />
job1 JTRJSEP1 8 SEP-JOB ONE<br />
job2 JTRJSEP2 8 SEP-JOB TWO<br />
job3 JTRJSEP3 8 SEP-JOB THREE<br />
job4 JTRJSEP4 8 SEP-JOB FOUR<br />
job5 JTRJSEP5 8 SEP-JOB FIVE<br />
job6 JTRJSEP6 8 SEP-JOB SIX<br />
job7 JTRJSEP7 8 SEP-JOB SEVEN<br />
job8 JTRJSEP8 8 SEP-JOB EIGHT<br />
Selection Data<br />
reason <strong>for</strong> JTRRC 2 REASON CODE yes<br />
selection<br />
date selected JTRADATE 5 ACTUAL SCHED-DATE yes<br />
time selected JTRATIME 9 ZZZ.ZZ.ZZ ACTUAL SCHDTIME yes<br />
Defined Times<br />
(date and time<br />
together)<br />
earliest start JTRERLY 9 ZZZ.ZZ.ZZ EARLY TIME<br />
"must start by" JTRMUST 9 ZZZ.ZZ.ZZ MUST STRT TIME yes<br />
maximum JTRMXTIM 9 ZZZ.ZZ.ZZ MAX TIME<br />
completion JTRDEDLN 9 ZZZ.ZZ.ZZ DEADLINE TIME yes<br />
Adjusted Times<br />
(date and time<br />
separated)<br />
earliest start<br />
date JTRERDT 5 ERLYTIME DATE<br />
time JTRADJER 9 ZZZ.ZZ.ZZ ADJUSTED ERLYTIME<br />
"must start by"<br />
date JTRMUDT 5 MUSTTIME DATE<br />
time JTRADJMU 9 ZZZ.ZZ.ZZ ADJUSTED MUSTTIME<br />
maximum<br />
date JTRMXDT 5 MAXTIME DATE<br />
time JTRADJMX 9 ZZZ.ZZ.ZZ ADJUSTED MAXTIME<br />
completion<br />
date JTRDEDT 5 DEADLINE DATE<br />
time JTRADJDE 9 ZZZ.ZZ.ZZ ADJUSTED DEADLINE<br />
Appendix D. Advantage <strong>CA</strong>-Earl Reports D-33
D.4 Tracking File Reports<br />
In<strong>for</strong>mation Fieldname Field Format Heading On On Sample<br />
Length Report Reports<br />
Actual Times<br />
available<br />
date JTRVDATE 5 ACTUAL AVAIL-DATE<br />
time JTRVTIME 9 ZZZ.ZZ.ZZ ACTUAL AVLTIME yes<br />
start<br />
date JTRSDATE 5 ACTUAL START-DATE<br />
time JTRSTIME 9 ZZZ.ZZ.ZZ ACTUAL STRTTIME yes<br />
end<br />
date JTREDATE 5 ACTUAL END-DATE<br />
time JTRETIME 9 ZZZ.ZZ.ZZ ACTUAL END-TIME yes<br />
purge<br />
date JTRPDATE 5 ACTUAL PRGE-DATE<br />
time JTRPTIME 9 ZZZ.ZZ.ZZ ACTUAL PRGE-TIM<br />
average time JTRAVGT 9 ZZZ.ZZ.ZZ AVRG RUNTIME<br />
<strong>Job</strong>card Values<br />
CLASS JTRCLASS 1 CLASS<br />
PRIORITY JTRPRTY 2 POWER/JES PRIORITY<br />
RUN ON SYSID JTRRSID 4 JOB<strong>CA</strong>RD CPU-ID<br />
NODE ID JTRRNODE 8 JOB<strong>CA</strong>RD NODE<br />
POWER USER info JTRJINFO 16 INFO-AFTER JOB-NAME<br />
Actual Values<br />
CPU JTRXSYS 4 ACTUAL SYSID<br />
node ID JTRXNODE 8 ACTUAL NODE-ID<br />
operating system JTRXNODT 1 ACTUAL NODE-TYPE<br />
CPU time JTRCPUT 4 CPU TIME yes<br />
job number JTRPWSEQ 2 SEQ-NUMBER<br />
partition ID JTRPART 4 PARTITION ADDRESS<br />
number of steps JTRSTEPS 4 NUMBER-OF STEPS<br />
Actual EXCPS<br />
DASD JTREXCPD 4 DISK EXCP-COUNT<br />
tape JTREXCPT 4 TAPE EXCP-COUNT<br />
unit JTREXCPO 4 OTHER EXCP-COUNT<br />
D-34 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
D.4 Tracking File Reports<br />
In<strong>for</strong>mation Fieldname Field Format Heading On On Sample<br />
Length Report Reports<br />
Userid That<br />
Issued Command<br />
RUN JTRCMRUN 8 USERID RUN<br />
SUBMIT JTRCMSUB 8 USERID SUB<br />
HOLD JTRCMHLD 8 USERID HOLD<br />
RELEASE JTRCMRLS 8 USERID RELEASE<br />
<strong>CA</strong>NCEL JTRCMCNC 8 USERID <strong>CA</strong>NCEL<br />
FORCE JTRCMFRC 8 USERID FORCED<br />
START JTRCMSTR 8 USERID STARTED<br />
COMPLETE JTRCMCMP 8 USERID COMPLETED<br />
Status<br />
HELD JTRHSTAT 1 HOLD STATUS<br />
STARTED JTRRSTAT 1 RUN STATUS<br />
completion code JTRCC 5 COMPLETION CODE yes<br />
FAIL CODE JTRFCODE 5 FAIL CODE<br />
final status JTRSTATUS 1 STATUS<br />
Appendix D. Advantage <strong>CA</strong>-Earl Reports D-35
D.4 Tracking File Reports<br />
D.4.5 Schedule In<strong>for</strong>mation from Tracking File<br />
Advantage <strong>CA</strong>-Earl reports can include schedule in<strong>for</strong>mation from the tracking file. To<br />
include this in<strong>for</strong>mation on a report, copy the <strong>CA</strong>JESTR source member and list the<br />
fieldnames you want on the PRINT statement.<br />
In<strong>for</strong>mation Fieldname Field Format Heading On On Sample<br />
Length Report Reports<br />
Record Name<br />
schedule name STRNAME 8 SCHEDULE NAME yes<br />
CPU where sched- STRSSID 4 SCHEDULED CPU<br />
uling was done<br />
node where sched- STRSNODE 4 SCHEDULED NODE<br />
uling was done<br />
CPU of origin if STROSID 4 ORIGINAL SYSID<br />
job came from<br />
another node<br />
node of origin STRONODE 8 ORIGIN NODE-NAME<br />
jobs in schedule STRJCONT 4 NUMBER-OF JOBS<br />
Misc Defined Info<br />
BACKLOG STRBKLOG 1 BACKLOG Y|N<br />
DISPLAY<br />
KEY STRDISPK 8 DOC DISPL KY<br />
TIME STRDISPT 9 ZZZ.ZZ.ZZ DOC DISPL TIME<br />
LIBRARY TYPE STRLIBS 1 LIBTYPE<br />
MEMO STRMEMO 6 MEMO MESSAGE<br />
SCHED PRIORITY STRSPRTY 2 SCHEDULE PRIORITY<br />
STAGE STRSTAGE 1 STAGE Y|N<br />
USERS<br />
number listed STRUIDS 2 USER-ID COUNT<br />
user1 STRUID1 6 USER ONE<br />
user2 STRUID2 6 USER TWO<br />
user3 STRUID3 6 USER THREE<br />
user4 STRUID4 6 USER FOUR<br />
user5 STRUID5 6 USER FIVE<br />
user6 STRUID6 6 USER SIX<br />
user7 STRUID7 6 USER SEVEN<br />
user8 STRUID8 6 USER EIGHT<br />
D-36 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
D.4 Tracking File Reports<br />
In<strong>for</strong>mation Fieldname Field Format Heading On On Sample<br />
Length Report Reports<br />
Selection Data<br />
selection reason STRRC 2 SCHEDULING REASON yes<br />
date selected STRADATE 5 ACTUAL SCHED-DATE<br />
time selected STRATIME 9 ZZZ.ZZ.ZZ ACTUAL SCHDTIME<br />
datetable STRDTAB DATE-TABLE NAME<br />
calendar STR<strong>CA</strong>LENDAR <strong>CA</strong>LENDAR NAME<br />
Defined Times<br />
(date and time<br />
together)<br />
earliest start STRERLY 9 ZZZ.ZZ.ZZ EARLY TIME<br />
"must start by" STRMUST 9 ZZZ.ZZ.ZZ MUST-STRT TIME yes<br />
maximum STRMXTIM 9 ZZZ.ZZ.ZZ MAX-TIME<br />
completion STRDEDLN 9 ZZZ.ZZ.ZZ DEADLINE TIME yes<br />
Adjusted Times<br />
(date and time<br />
separated)<br />
earliest start<br />
date STRERDT 5 ERLYTIME DATE<br />
time STRADJER 9 ZZZ.ZZ.ZZ ADJUSTED ERLYTIME<br />
"must start by"<br />
date STRMUDT 5 MUSTTIME DATE<br />
time STRADJMU 9 ZZZ.ZZ.ZZ ADJUSTED MUSTTIME<br />
maximum<br />
date STRMXDT 5 MAXTIME DATE<br />
time STRADJMX 9 ZZZ.ZZ.ZZ ADJUSTED MAXTIME<br />
completion<br />
date STRDEDT 5 DEADLINE DATE<br />
time STRADJDE 9 ZZZ.ZZ.ZZ ADJUSTED DEADLINE<br />
Actual Times<br />
available<br />
date STRVDATE 5 ACTUAL AVAIL-DATE<br />
time STRVTIME 9 ZZZ.ZZ.ZZ ACTUAL AVLTIME yes<br />
start<br />
date STRSDATE 5 ACTUAL START-DATE<br />
time STRSTIME 9 ZZZ.ZZ.ZZ ACTUAL STRTTIME yes<br />
end<br />
date STREDATE 5 ACTUAL END-DATE<br />
time STRETIME 9 ZZZ.ZZ.ZZ ACTUAL END-TIME yes<br />
average time STRAVGT 9 ZZZ.ZZ.ZZ AVG-HISTORY RUNTIME<br />
Appendix D. Advantage <strong>CA</strong>-Earl Reports D-37
D.4 Tracking File Reports<br />
In<strong>for</strong>mation Fieldname Field Format Heading On On Sample<br />
Length Report Reports<br />
<strong>Job</strong>card values<br />
CLASS STRCLASS 1 CLASS<br />
RUN ON SYSID STRRSID 4 CPU-RUN ID<br />
POWER<br />
PRIORITY STRPRTY 2 POWER PRIORITY<br />
USER info STRJINFO 16 DEFAULT USER-INFO<br />
Actual values<br />
CPU time STRCPUT 4 CPU TIME<br />
node ID STRRNODE 8 NODE ID<br />
DASD EXCPS STREXCPD 4 DISK EXCP-COUNT<br />
tape EXCPS STREXCPT 4 TAPE EXCP-COUNT<br />
unit EXCPS STREXCPO 4 OTHER EXCP-COUNT<br />
Userid That<br />
Issued Command<br />
RUN STRCMRUN 8 USERID RUN<br />
HOLD STRCMHLD 8 USERID HOLD<br />
RELEASE STRCMRLS 8 USERID RELEASE<br />
<strong>CA</strong>NCEL STRCMCNC 8 USERID <strong>CA</strong>NCEL<br />
FORCE STRCMFRC 8 USERID FORCED<br />
Command Info.<br />
command causing STRCOMMAND CMD-<strong>CA</strong>USED<br />
submit<br />
JOB-SUBMIT<br />
run command date STRRUNCDATE<br />
RUN-CMD DATE<br />
Status<br />
HELD STRHSTAT 1 HOLD STATUS<br />
STARTED STRRSTAT 1 RUN STATUS<br />
completed and STREDDJB 4 CMPL/<strong>CA</strong>NCLD<br />
canceled jobs<br />
JOB-COUNT<br />
completion code STRCC 5 COMPLETION CODE<br />
D-38 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
D.5 Documentation or Staging Library Reports<br />
D.5 Documentation or Staging Library Reports<br />
Following are examples of <strong>CA</strong>-Earl Documentation or Staging Library reports.<br />
D.5.1 <strong>CA</strong>JESETD Source Member<br />
The <strong>CA</strong>JESETD source member sets the parameters <strong>for</strong> communication between<br />
<strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> and Advantage <strong>CA</strong>-Earl. Specify it on a COPY statement.<br />
The record ID is set to DDIR <strong>for</strong> documentation library directory records. Use<br />
PRMNME to define which jobs will be selected:<br />
To Select Specify PRMNME = Example<br />
All jobs '*' PRMNME = '*'<br />
One specific job 'jobname' PRMNME = 'JOBA'<br />
A group of jobs 'jobname *' PRMNME = 'PAY*'<br />
The following sample selects all jobs:<br />
SET PRMFUNC = 'GETS'<br />
SET PRMID = 'DDIR'<br />
SET PRMNME = '<br />
SET PRMNUM = ' '<br />
SET PRMSTA = ' '<br />
SET PRMSCH = '<br />
SET PRMDSPN = '<br />
'<br />
'<br />
'<br />
D.5.2 <strong>CA</strong>JDDIR Source Member<br />
The <strong>CA</strong>JDDIR source member sets the parameters <strong>for</strong> selection of documentation<br />
member records using in<strong>for</strong>mation from the documentation directory record. Specify it<br />
on a COPY statement.<br />
REC_IS_DDIR: PROC<br />
SET PRMID = 'DMBR'<br />
SET PRMDSPN = DIRDSPN<br />
SET PRMNME = DIRJOBN<br />
SET PRMNUM = DIRJNUM<br />
SET PRMSTA = DIRJSTN<br />
SET PRMSCH = DIRSCDN<br />
SET PRMSEQN = 1<br />
SET OUTRECN = DIRRECN<br />
SET OUTUPDT = DIRUPDT<br />
SET TOT_MEMBRS = DIRRECN<br />
SET TIME_STAMP = DIRTIME<br />
ENDPROC<br />
Appendix D. Advantage <strong>CA</strong>-Earl Reports D-39
D.5 Documentation or Staging Library Reports<br />
D.5.3 <strong>CA</strong>JESETG Source Member<br />
The <strong>CA</strong>JESETG source member sets the parameters <strong>for</strong> communication between<br />
<strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> and Advantage <strong>CA</strong>-Earl. Specify it on a COPY statement.<br />
The record ID is set to SDIR <strong>for</strong> staging library directory records. Use PRMNME to<br />
define which jobs will be selected:<br />
To Select Specify PRMNME = Example<br />
All jobs '*' PRMNME = '*'<br />
One specific job 'jobname' PRMNME = 'JOBA'<br />
A group of jobs 'jobname *' PRMNME = 'PAY*'<br />
The following sample selects all jobs:<br />
SET PRMFUNC = 'GETS'<br />
SET PRMID = 'SDIR'<br />
SET PRMNME = '<br />
SET PRMNUM = ' '<br />
SET PRMSTA = ' '<br />
SET PRMSCH = '<br />
'<br />
'<br />
D.5.4 <strong>CA</strong>JSDIR Source Member<br />
The <strong>CA</strong>JSDIR source member sets the parameters <strong>for</strong> selection of staging member<br />
records using in<strong>for</strong>mation from the staging directory record. Specify it on a COPY<br />
statement.<br />
REC_IS_SDIR: PROC<br />
SET PRMID = 'SMBR'<br />
SET PRMNME = DIRJOBN<br />
SET PRMNUM = DIRJNUM<br />
SET PRMSTA = DIRJSTN<br />
SET PRMSCH = DIRSCDX<br />
SET PRMSEQN = 1<br />
SET OUTRECN = DIRRECN<br />
SET OUTUPDT = DIRUPDT<br />
SET TOT_MEMBRS = DIRRECN<br />
SET TIME_STAMP = DIRTIME<br />
ENDPROC<br />
D.5.5 <strong>CA</strong>JMBR Source Member<br />
The <strong>CA</strong>JMBR source member advances the record sequence number and edits the<br />
current record sequence number <strong>for</strong> output. Specify it on a COPY statement.<br />
D-40 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
D.5 Documentation or Staging Library Reports<br />
REC_IS_MBR: PROC<br />
!<br />
! SET EDIT-FIELD EQUAL TO CURRENT RECORD-SEQUENCE NUMBER<br />
! FOR PRINT-LINE (DETAIL LINE)<br />
!<br />
SET EDITSEQ = JCLSEQN<br />
SET PRMSEQN = PRMSEQN + 1<br />
ENDPROC<br />
D.5.6 In<strong>for</strong>mation from Documentation or Staging Library<br />
Advantage <strong>CA</strong>-Earl reports can include in<strong>for</strong>mation from the <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong><br />
documentation library or the JCL staging library. To include this in<strong>for</strong>mation on a<br />
report, copy the <strong>CA</strong>JEDIR source member and list the fieldnames you want on the<br />
PRINT statement. See the chapter "Reports" <strong>for</strong> samples.<br />
In<strong>for</strong>mation Fieldname Field Format Heading On On Sample<br />
Length Report Reports<br />
Record Info<br />
member name<br />
documentation DIRDSPN 8 DISPLY-KEY yes<br />
MEMBR-NAME<br />
staged JCL DIRMEMS 8 STAGING MEMBR-NAME<br />
job name DIRJOBN 8 JOB yes<br />
job number DIRJNUM 2 JOB NUMBER yes<br />
library type DIRLIBS 1 LIBRARY TYPE<br />
schedule name<br />
documentation DIRSCDN 8 SCHEDULE yes<br />
staging DIRSCDX 8 STAGING MEMBR-NAME yes<br />
station ID DIRJSTN 2 STATION ID yes<br />
last userid to DIRUUSER 8 LAST-UPDATE USERID yes<br />
update<br />
Library Info<br />
number of<br />
records DIRRECN 6 NUMBER-OF RECORDS yes<br />
updates DIRUPDT 6 NUMBER-OF UPDATES yes<br />
creation<br />
date DIRCDATE 6 CREATION DATE yes<br />
time DIRCTIME 6 CREATION TIME yes<br />
last update<br />
date DIRUDATE 6 LAST-UPDATE DATE yes<br />
time DIRUTIME 6 LAST-UPDATE TIME yes<br />
Appendix D. Advantage <strong>CA</strong>-Earl Reports D-41
D.6 In<strong>for</strong>mation from <strong>CA</strong>IAUDIT<br />
D.6 In<strong>for</strong>mation from <strong>CA</strong>IAUDIT<br />
Advantage <strong>CA</strong>-Earl reports can include any of the following in<strong>for</strong>mation from the<br />
<strong>CA</strong>IAUDIT file. To include this in<strong>for</strong>mation on a report, copy the <strong>CA</strong>AUDCOD and<br />
<strong>CA</strong>AUEF source members and list the field names you want on the PRINT statement.<br />
See the chapter "Reports" <strong>for</strong> samples.<br />
In<strong>for</strong>mation Fieldname Field Format Heading On On Sample<br />
Length Report Reports<br />
command or <strong>CA</strong>USHSNM 8 COMMAND/ yes<br />
schedule name<br />
SCHD NAME<br />
object or <strong>CA</strong>USHJNM 8 OBJECT/ yes<br />
job name<br />
JOB NAME<br />
job number <strong>CA</strong>USHJNO 3 JOB NUMBER yes<br />
workstation <strong>CA</strong>USHWS 2 WS yes<br />
message number <strong>CA</strong>USHMNO 3 MSG NUMBER yes<br />
<strong>Unicenter</strong><br />
<strong>CA</strong>-<strong>Scheduler</strong> user <strong>CA</strong>USHSND 8 SCHD USER yes<br />
<strong>Unicenter</strong><br />
<strong>CA</strong>-<strong>Scheduler</strong> user <strong>CA</strong>USHNOD 8 SCHD NODE yes<br />
message ID or <strong>CA</strong>USHMSV 5 MSG ID/ yes<br />
severity code<br />
SEV CODE<br />
long message text <strong>CA</strong>USHTXT 8 MSG TEXT yes<br />
short message text <strong>CA</strong>USHMTX 26 MSG TEXT yes<br />
command or <strong>CA</strong>USHCMD 8 COMMAND/ yes<br />
schedule name<br />
SCHD NAME<br />
object or <strong>CA</strong>USHOBJ 8 OBJECT/ yes<br />
job name<br />
JOB NAME<br />
command type <strong>CA</strong>USHTYP 1 TYPE yes<br />
database or<br />
tracking<br />
command class <strong>CA</strong>USHCLS 1 CLASS yes<br />
D-42 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
D.6 In<strong>for</strong>mation from <strong>CA</strong>IAUDIT<br />
In<strong>for</strong>mation Fieldname Field Format Heading On On Sample<br />
Length Report Reports<br />
internal indicators <strong>CA</strong>USHIND 8 INDI<strong>CA</strong>TOR yes<br />
long command text <strong>CA</strong>USHDAT 8 COMMAND TEXT yes<br />
short command text <strong>CA</strong>USHCTX 8 COMMAND TEXT yes<br />
response <strong>CA</strong>USHRSP 8 RESPONSE yes<br />
short or<br />
long<br />
Appendix D. Advantage <strong>CA</strong>-Earl Reports D-43
Appendix E. Event Codes<br />
The event codes <strong>for</strong> <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> functions are listed following:<br />
Code<br />
CBD<br />
CBI<br />
CBM<br />
CBU<br />
CDD<br />
CDI<br />
CDU<br />
CSD<br />
CSI<br />
CSU<br />
CTD<br />
CTI<br />
CTU<br />
MSG<br />
RBD<br />
RBM<br />
RBU<br />
RDU<br />
RDD<br />
RSD<br />
RSU<br />
RTD<br />
RTI<br />
Event Description<br />
Database Display Commands<br />
Invalid Database Commands<br />
Database Maintenance Commands<br />
Database Update Commands<br />
Documentation Display Commands<br />
Invalid Documentation Commands<br />
Documentation Update Commands<br />
Staging Display Commands<br />
Invalid Staging Commands<br />
Staging Update Commands<br />
Tracking Display Commands<br />
Invalid Tracking Commands<br />
Tracking Update Commands<br />
<strong>Scheduler</strong> Messages<br />
Database Display Response<br />
Database maintenance Response<br />
Database Update Response<br />
Documentation Update Response<br />
Documentation Display Response<br />
Staging Display Response<br />
Staging Update Response<br />
Tracking Display Response<br />
Invalid Tracking Response<br />
Appendix E. Event Codes E-1
Code<br />
RTU<br />
Event Description<br />
Tracking Update Response<br />
E-2 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
Index<br />
A<br />
Abended <strong>Job</strong> Profile report 5-165, 5-181<br />
Abended <strong>Job</strong> Schedule report 5-21<br />
Accounting periods, conditions A-9<br />
ADAY A-9<br />
Adding<br />
jobs 5-125<br />
schedules 5-126<br />
ADOM A-9<br />
Advantage <strong>CA</strong>-Earl reports D-1<br />
Alter STG Member (SCHD-STGE) C-12<br />
Altering<br />
JBR, example B-17<br />
JCR, example B-20<br />
JIR, example B-24<br />
JMR, example B-23<br />
JRC, example B-22<br />
JRR, example B-26<br />
resource records, example B-29<br />
SBR, example B-7<br />
SCR, example B-9<br />
SIR, example B-13, B-14<br />
SMR, example B-12<br />
SRC, example B-11<br />
stations, example B-2<br />
userids, example B-4<br />
AMOY A-9, A-10<br />
Analyze <strong>Job</strong> report 5-6<br />
Analyze Schedule report 5-10<br />
AND, reserved word A-2<br />
AT keyword<br />
HOLD <strong>Job</strong> command 5-56<br />
HOLD Schedule command 5-57<br />
RELEASE <strong>Job</strong> command 5-73<br />
RELEASE Schedule command 5-75<br />
REQUEST <strong>Job</strong> command<br />
<strong>for</strong>ecast 5-122<br />
simulation 5-76<br />
REQUEST Schedule command<br />
<strong>for</strong>ecast 5-124<br />
AT keyword (continued)<br />
REQUEST Schedule command (continued)<br />
simulation 5-78<br />
RERUN <strong>Job</strong> command 5-79<br />
RUN <strong>Job</strong> command<br />
<strong>for</strong>ecast 5-125<br />
simulation 5-82<br />
RUN schedule command<br />
<strong>for</strong>ecast 5-127<br />
simulation 5-84<br />
Audited Commands/Response report 5-231<br />
Audited Commands/Text report 5-227<br />
Audited Events report 5-225<br />
Audited Messages report 5-229<br />
Auditing events<br />
codes E-1<br />
AUTO SELECT 5-67<br />
Automatic Console Reply<br />
By Message Number report 5-155<br />
Automatic Console Reply, By Schedule<br />
report 5-153<br />
Automatic Console Reports By Schedule<br />
report 5-151<br />
AUTOSEL keyword, OVERRIDE Schedule<br />
command 5-67<br />
AVGTIME keyword, OVERRIDE RESOURCE<br />
command 5-62<br />
AWOM A-10<br />
B<br />
Backlogged Schedules/<strong>Job</strong>s report 5-93<br />
Basic <strong>Job</strong> In<strong>for</strong>mation<br />
By Schedule report 5-158<br />
By Station report 5-160<br />
Batch commands coding requirements 5-4<br />
BrightStor <strong>CA</strong>-Dynam/T 5-43, 5-45<br />
Index X-1
C<br />
<strong>CA</strong>-Tape Manager 5-43, 5-45<br />
<strong>CA</strong>AUE06 5-225<br />
<strong>CA</strong>AUE07 5-227<br />
<strong>CA</strong>AUE08 5-229<br />
<strong>CA</strong>AUE09 5-231<br />
<strong>CA</strong>IAUDIT<br />
event codes E-1<br />
printable fields D-42<br />
reports and UPSI settings 5-225<br />
<strong>CA</strong>IDEFD D-22<br />
<strong>CA</strong>ISTMD D-2<br />
<strong>CA</strong>JDDIR D-39<br />
<strong>CA</strong>JECNV0 D-29<br />
<strong>CA</strong>JECNVS D-22<br />
<strong>CA</strong>JECRI D-4<br />
<strong>CA</strong>JEDIR D-41<br />
<strong>CA</strong>JEGLBL D-5<br />
<strong>CA</strong>JEJHR D-24<br />
<strong>CA</strong>JEJM D-9<br />
<strong>CA</strong>JEJTR D-32<br />
<strong>CA</strong>JEPM D-1<br />
<strong>CA</strong>JERA01 5-151<br />
<strong>CA</strong>JERA02 5-153, 5-155<br />
<strong>CA</strong>JERD01 5-208<br />
<strong>CA</strong>JERD02 5-204<br />
<strong>CA</strong>JERG01 5-222<br />
<strong>CA</strong>JERG02 5-218<br />
<strong>CA</strong>JERH01 5-175<br />
<strong>CA</strong>JERH02 5-178<br />
<strong>CA</strong>JERH03 5-167<br />
<strong>CA</strong>JERH04 5-165<br />
<strong>CA</strong>JERH05 5-171<br />
<strong>CA</strong>JERH06 5-173<br />
<strong>CA</strong>JERH07 5-169<br />
<strong>CA</strong>JERM01 5-158<br />
<strong>CA</strong>JERM02 5-160<br />
<strong>CA</strong>JERM03 5-162<br />
<strong>CA</strong>JERS01 5-194<br />
<strong>CA</strong>JERS06 5-191<br />
<strong>CA</strong>JERT01 5-197<br />
<strong>CA</strong>JERT02 5-200<br />
<strong>CA</strong>JERT03 5-186<br />
<strong>CA</strong>JERT04 5-181<br />
<strong>CA</strong>JERT06 5-188<br />
<strong>CA</strong>JERT07 5-183<br />
<strong>CA</strong>JERTD1 5-210<br />
<strong>CA</strong>JESETD D-39<br />
<strong>CA</strong>JESETG D-40<br />
<strong>CA</strong>JESETH D-22<br />
<strong>CA</strong>JESETM D-8<br />
<strong>CA</strong>JESETS D-28<br />
<strong>CA</strong>JESETT D-28<br />
<strong>CA</strong>JESHR D-26<br />
<strong>CA</strong>JESM D-17<br />
<strong>CA</strong>JESTR D-36<br />
<strong>CA</strong>JMBR D-40<br />
<strong>CA</strong>JSDIR D-40<br />
<strong>CA</strong>JUTIL0 commands<br />
ANALYZE 5-6<br />
EXCLUDE 5-53, 5-54, 5-118, 5-120<br />
FORE<strong>CA</strong>ST 5-128<br />
HOLD 5-56, 5-57<br />
LIST 5-13<br />
ONLY 5-59, 5-121<br />
OVERRIDE 5-62<br />
RELEASE 5-73, 5-75<br />
REQUEST 5-76, 5-78, 5-122, 5-123<br />
RERUN 5-79<br />
RONLY 5-81<br />
RUN 5-82, 5-84, 5-125, 5-126<br />
SIMULATE 5-85<br />
TAPEPULL GROUP 5-42<br />
TAPEPULL JOB 5-44<br />
Canceled <strong>Job</strong>s report 5-183<br />
CLASS keyword 5-42, 5-44<br />
Closed Data Set report 5-23<br />
Commands<br />
editor C-1<br />
<strong>for</strong>ecast<br />
EXCLUDE <strong>Job</strong> 5-118<br />
EXCLUDE Schedule 5-120<br />
FORE<strong>CA</strong>ST 5-115, 5-128<br />
ONLY Schedule 5-121<br />
REQUEST <strong>Job</strong> 5-122<br />
REQUEST Schedule 5-123<br />
RUN <strong>Job</strong> 5-125<br />
RUN Schedule 5-126<br />
summary 5-116<br />
simulation<br />
EXCLUDE <strong>Job</strong> 5-53<br />
EXCLUDE Schedule 5-54<br />
HOLD <strong>Job</strong> 5-56<br />
HOLD Schedule 5-57<br />
ONLY Schedule 5-59<br />
OVERRIDE <strong>Job</strong> 5-60<br />
OVERRIDE RESOURCE 5-62<br />
OVERRIDE Schedule 5-67<br />
OVERRIDE SHRRSR 5-68<br />
OVERRIDE STATION 5-71<br />
RELEASE <strong>Job</strong> 5-73<br />
X-2 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
Commands (continued)<br />
simulation (continued)<br />
RELEASE Schedule 5-75<br />
REQUEST <strong>Job</strong> 5-76<br />
REQUEST Schedule 5-78<br />
RERUN <strong>Job</strong> 5-79<br />
RUN <strong>Job</strong> 5-82<br />
RUN Schedule 5-84<br />
SIMULATE 5-49, 5-85<br />
summary 5-50<br />
Completed <strong>Job</strong> Profile report 5-167, 5-186<br />
Completed <strong>Job</strong> Schedule report 5-25<br />
Cpushut keyword, SIMULATE comand 5-86<br />
Criteria vocabulary A-2<br />
Cyclic scheduling 5-47, A-4<br />
D<br />
DAILY A-4<br />
DASDnn keyword<br />
OVERRIDE RESOURCE command 5-63<br />
OVERRIDE SHRRSR command 5-69<br />
DATASET installation option 5-25<br />
Date Translation Report 5-29, 5-95<br />
DATETABL installation option 5-96<br />
DATETRAN 5-95<br />
DATETYPE installation option 5-96<br />
Day of<br />
cycle A-4<br />
month A-4<br />
week A-7<br />
DEFCLASS keyword, OVERRIDE RESOURCE<br />
command 5-63<br />
Defining<br />
JBR, example B-15, B-16, B-17<br />
JCR, example B-19, B-20<br />
JIR, example B-24<br />
JMR, example B-23<br />
JRC, example B-21<br />
JRR, example B-25<br />
resource records, example B-27, B-28<br />
SBR, example B-6, B-7<br />
SCR, example B-8, B-9<br />
SIR, example B-13<br />
SMR, example B-12<br />
SRC, example B-10<br />
stations, example B-2<br />
userids, example B-4<br />
Deleting<br />
JBR, example B-18<br />
JCR, example B-21<br />
Deleting (continued)<br />
JIR, example B-25<br />
JMR, example B-24<br />
JOB, example B-18<br />
JRC, example B-22<br />
JRR, example B-26<br />
resource records, example B-29<br />
SBR, example B-8<br />
SCR, example B-10<br />
SMR, example B-12<br />
SRC, example B-11<br />
stations<br />
example B-3<br />
userids, example B-5<br />
DEVUTIL 5-110, 5-112<br />
DEXPAND command C-13<br />
Displaying reserved-name variable parameter<br />
values C-16<br />
Documentation Directory And Member List<br />
Report 5-204<br />
Documentation Directory List Report 5-208<br />
Documentation Selected By The Tracking File<br />
Report 5-210<br />
DOM keyword A-4<br />
DOS keyword A-3<br />
DPROMPT command C-16<br />
Dprompt STG Member (SCHD-DPR) C-12<br />
DRIVER installation option C-13, C-16<br />
DSET command C-19<br />
DSN keyword A-3<br />
E<br />
Editor<br />
commands C-1<br />
Input Area Commands C-3<br />
Line Protection and Highlighting C-2<br />
Prefix Area Commands C-5<br />
Event codes<br />
list E-1<br />
reports 5-224<br />
EVERYDAY keyword<br />
OVERRIDE RESOURCE command 5-63<br />
OVERRIDE SHRRSR command 5-69<br />
SIMULATE command 5-86<br />
Examples<br />
ALTER<br />
JBR B-17<br />
JCR B-20<br />
JIR B-24<br />
JMR B-23<br />
JRC B-22<br />
Index X-3
Examples (continued)<br />
ALTER (continued)<br />
JRR B-26<br />
resource records B-29<br />
SBR B-7<br />
SCR B-9<br />
SIR B-13, B-14<br />
SMR B-12<br />
SRC B-11<br />
stations B-2<br />
userids B-4<br />
DEFINE<br />
JBR B-15, B-16, B-17<br />
JCR B-19, B-20<br />
JIR B-24<br />
JMR B-23<br />
JRC B-21<br />
JRR B-25<br />
resource records B-27, B-28<br />
SBR B-6, B-7<br />
SCR B-8, B-9<br />
SIR B-13<br />
SMR B-12<br />
SRC B-10<br />
stations B-2<br />
userids B-4<br />
DELETE<br />
JBR B-18<br />
JCR B-21<br />
JIR B-25<br />
JMR B-24<br />
JOB B-18<br />
JRC B-22<br />
JRR B-26<br />
resource records B-29<br />
SBR B-8<br />
SCR B-10<br />
SMR B-12<br />
SRC B-11<br />
stations B-3<br />
userids B-5<br />
EXCLUDE <strong>Job</strong> command<br />
<strong>for</strong>ecast 5-118<br />
simulation 5-53<br />
EXCLUDE Schedule command<br />
<strong>for</strong>ecast 5-120<br />
simulation 5-54<br />
Excluding<br />
<strong>for</strong>ecast reports 5-128<br />
jobs 5-53, 5-118<br />
schedules 5-54, 5-120<br />
Excrept keyword<br />
FORE<strong>CA</strong>ST command 5-128<br />
SIMULATE command 5-86<br />
EXITPARM keyword, OVERRIDE RESOURCE<br />
command 5-63<br />
Expanding <strong>Unicenter</strong> <strong>CA</strong>-Driver procedures C-13<br />
EXPERROR 5-114<br />
F<br />
FACTOR keyword<br />
OVERRIDE <strong>Job</strong> command 5-60<br />
OVERRIDE RESOURCE command 5-63<br />
OVERRIDE Schedule command 5-67<br />
File Status Report 5-31<br />
FOR keyword<br />
FORE<strong>CA</strong>ST command 5-129<br />
SIMULATE command 5-86<br />
Forced And Canceled <strong>Job</strong>s report 5-169<br />
Forecast<br />
Commands<br />
EXCLUDE <strong>Job</strong> 5-118<br />
EXCLUDE Schedule 5-120<br />
FORE<strong>CA</strong>ST 5-115, 5-128<br />
ONLY Schedule 5-121<br />
REQUEST <strong>Job</strong> 5-122<br />
REQUEST Schedule 5-123<br />
RUN <strong>Job</strong> 5-125<br />
RUN Schedule 5-126<br />
summary 5-116<br />
overview 5-115<br />
Reports<br />
<strong>Job</strong> Summary 5-132<br />
Predecessors Required For <strong>Job</strong>s At Station<br />
X 5-133<br />
Resources Required For All Selected<br />
<strong>Job</strong>s 5-135<br />
Resources Required For <strong>Job</strong>s At Station<br />
X 5-137<br />
Run Book 5-138<br />
Schedules/<strong>Job</strong>s Selected For DD MM<br />
YY 5-144<br />
Schedules/<strong>Job</strong>s Selected For Station X 5-147<br />
storage requirements 5-116<br />
FORE<strong>CA</strong>ST command 5-115, 5-128, 5-132<br />
FromDate keyword<br />
FORE<strong>CA</strong>ST command 5-129<br />
SIMULATE command 5-87<br />
FromTime keyword, SIMULATE command 5-87<br />
X-4 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
G<br />
GBL A-3<br />
H<br />
HALT keyword, OVERRIDE STATION<br />
command 5-72<br />
HDAY keyword A-7<br />
HOLD <strong>Job</strong> command 5-56<br />
HOLD Schedule command 5-57<br />
Holding<br />
jobs 5-56<br />
schedules 5-57<br />
Holiday scheduling A-7<br />
I<br />
ID keyword, OVERRIDE STATION command 5-72<br />
Including simulation reports 5-129<br />
Incrept keyword<br />
FORE<strong>CA</strong>ST command 5-129<br />
SIMULATE command 5-87<br />
Interval keyword, SIMULATE command 5-87<br />
J<br />
JCL<br />
manipulation C-12<br />
JNI file 5-43<br />
JNO<br />
keyword 5-44<br />
HOLD <strong>Job</strong> command 5-56<br />
OVERRIDE <strong>Job</strong> command 5-60<br />
RELEASE <strong>Job</strong> command 5-74<br />
RERUN <strong>Job</strong> command 5-79<br />
JNO keyword<br />
EXCLUDE <strong>Job</strong> command<br />
<strong>for</strong>ecast 5-118<br />
simulation 5-53<br />
REQUEST <strong>Job</strong> command<br />
<strong>for</strong>ecast 5-122<br />
simulation 5-76<br />
RUN <strong>Job</strong> command<br />
<strong>for</strong>ecast 5-125<br />
simulation 5-82<br />
<strong>Job</strong><br />
adding 5-82, 5-125<br />
analyzing 5-6<br />
Average Report 5-34<br />
excluding 5-53, 5-118<br />
History Report 5-35<br />
<strong>Job</strong> (continued)<br />
holding 5-56<br />
listing 5-13<br />
releasing 5-73<br />
reports 5-2, D-9, D-24, D-32, D-41<br />
requesting 5-76, 5-122<br />
rerunning 5-79<br />
<strong>Job</strong> Criteria By Schedule report 5-162<br />
<strong>Job</strong> Summary report 5-132<br />
L<br />
Late <strong>Job</strong> Profile report 5-103, 5-171<br />
LATEJOBS 5-103<br />
LDEST keyword 5-42, 5-44<br />
LEAPYEAR A-4<br />
List <strong>Job</strong> report 5-13, 5-16<br />
List Schedule report 5-16<br />
List Station report 5-17<br />
List Userid report 5-19<br />
M<br />
Maxtime keyword, SIMULATE command 5-88<br />
Month of keyword<br />
FORE<strong>CA</strong>ST command 5-129<br />
SIMULATE command 5-88<br />
Monthly scheduling A-4, A-7<br />
N<br />
NAME keyword 5-44<br />
EXCLUDE <strong>Job</strong> command<br />
<strong>for</strong>ecast 5-118<br />
simulation 5-53<br />
EXCLUDE Schedule command<br />
<strong>for</strong>ecast 5-120<br />
simulation 5-55<br />
HOLD <strong>Job</strong> command 5-56<br />
HOLD Schedule command 5-57<br />
ONLY Schedule command<br />
<strong>for</strong>ecast 5-121<br />
simulation 5-59<br />
OVERRIDE <strong>Job</strong> command 5-60<br />
OVERRIDE Schedule command 5-67<br />
RELEASE <strong>Job</strong> command 5-73<br />
RELEASE Schedule command 5-75<br />
REQUEST <strong>Job</strong> command<br />
<strong>for</strong>ecast 5-122<br />
simulation 5-76<br />
REQUEST Schedule command<br />
<strong>for</strong>ecast 5-124<br />
Index X-5
NAME keyword (continued)<br />
REQUEST Schedule command (continued)<br />
simulation 5-78<br />
RERUN <strong>Job</strong> command 5-79<br />
RONLY Schedule command simulation 5-81<br />
RUN <strong>Job</strong> command<br />
<strong>for</strong>ecast 5-125<br />
simulation 5-82<br />
RUN Schedule command<br />
<strong>for</strong>ecast 5-127<br />
simulation 5-84<br />
NJE A-3<br />
NOSAVE C-13<br />
NOT A-2<br />
O<br />
OET keyword<br />
OVERRIDE RESOURCE command 5-64<br />
OVERRIDE SHRRSR command 5-70<br />
ONLY Schedule command<br />
<strong>for</strong>ecast 5-121<br />
simulation 5-59<br />
OR A-2<br />
OST keyword<br />
OVERRIDE RESOURCE command 5-64<br />
OVERRIDE SHRRSR command 5-70<br />
Override<br />
end time (OET) 5-63, 5-64, 5-70<br />
start time (OST) 5-63, 5-64, 5-70<br />
OVERRIDE <strong>Job</strong> command 5-60<br />
OVERRIDE RESOURCE command 5-62<br />
OVERRIDE Schedule command 5-67<br />
OVERRIDE SHRRSR command 5-68<br />
OVERRIDE STATION command 5-71<br />
Overriding<br />
resources 5-62<br />
schedules 5-67<br />
shared resources 5-68<br />
P<br />
Parentheses A-2<br />
PARTnn keyword, OVERRIDE RESOURCE<br />
command 5-64<br />
Pending<br />
<strong>Job</strong> Profile report 5-173, 5-188<br />
Schedules Report 5-191<br />
Periods A-9<br />
PET keyword, OVERRIDE RESOURCE<br />
command 5-65<br />
POwerjnm keyword 5-42, 5-44<br />
PRED A-2<br />
Predecessor deadlock 5-8, 5-11<br />
Predecessors Required For <strong>Job</strong>s At Station X<br />
report 5-133<br />
PREDS 5-133<br />
Procedure expansion online C-13<br />
Production<br />
end time (PET) 5-65<br />
start time (PST) 5-65<br />
PRTY keyword, TAPEPULL command 5-42, 5-44<br />
PST keyword, OVERRIDE RESOURCE<br />
command 5-65<br />
R<br />
RDnn A-7<br />
RDT keyword, OVERRIDE RESOURCE<br />
command 5-65<br />
Reasons codes, reports 5-107, 5-133, 5-145<br />
RE<strong>CA</strong>LL command C-20<br />
Relative days A-7<br />
RELEASE command<br />
<strong>Job</strong> 5-73<br />
Schedule 5-75<br />
Releasing<br />
jobs 5-73<br />
schedules 5-75<br />
Reports<br />
Advantage <strong>CA</strong>-Earl<br />
<strong>CA</strong>IAUDIT events 5-224<br />
<strong>CA</strong>IAUDIT UPSI settings 5-225<br />
Advantage <strong>CA</strong>-Earl Database<br />
Automatic Console Reply By Message<br />
Number 5-155<br />
Automatic Console Reply By Schedule 5-153<br />
Automatic Console Reports By<br />
Schedule 5-151<br />
Basic <strong>Job</strong> In<strong>for</strong>mation By Schedule 5-158<br />
Basic <strong>Job</strong> In<strong>for</strong>mation By Station 5-160<br />
<strong>Job</strong> Criteria By Schedule 5-162<br />
source members D-1<br />
Advantage <strong>CA</strong>-Earl Documentation Library<br />
Documentation Directory and Member<br />
List 5-204<br />
Documentation Directory List 5-208<br />
Documentation Selected By The Tracking<br />
File 5-210<br />
Advantage <strong>CA</strong>-Earl History File<br />
Abended <strong>Job</strong> Profile 5-165<br />
Completed <strong>Job</strong> Profile 5-167<br />
Forced And Canceled <strong>Job</strong>s 5-169<br />
X-6 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
Reports (continued)<br />
Advantage <strong>CA</strong>-Earl History File (continued)<br />
Late <strong>Job</strong> Profile 5-171<br />
Pending <strong>Job</strong> Profile 5-173<br />
Scheduled <strong>Job</strong> Status By Schedule 5-175<br />
Scheduled <strong>Job</strong> Status By Station 5-178<br />
Advantage <strong>CA</strong>-Earl Staging Library<br />
Staged JCL Directory and Member List 5-218<br />
Staged JCL Library Directory List 5-222<br />
Advantage <strong>CA</strong>-Earl Tracking File<br />
Abended <strong>Job</strong> Profile 5-181<br />
Canceled <strong>Job</strong>s 5-183<br />
Completed <strong>Job</strong> Profile 5-186<br />
Pending <strong>Job</strong> Profile 5-188<br />
Pending Schedules Report 5-191<br />
Schedule Status 5-194<br />
Scheduled <strong>Job</strong> Status By Schedule 5-197<br />
Scheduled <strong>Job</strong> Status By Station 5-200<br />
Analysis and Display<br />
Analyze <strong>Job</strong> 5-6<br />
Analyze Schedule 5-10<br />
List <strong>Job</strong> 5-13<br />
List Schedule 5-16<br />
List Station 5-17<br />
List Userid 5-19<br />
Batch Versions of Online Reports<br />
Abended <strong>Job</strong> Schedule 5-21<br />
Closed Data Set 5-23<br />
Completed <strong>Job</strong> Schedule 5-25<br />
Date Translation Report 5-29<br />
File Status Report 5-31<br />
<strong>Job</strong> Average Report 5-34<br />
<strong>Job</strong> History Report 5-35<br />
Successor Chain List 5-38<br />
<strong>CA</strong>IAUDIT File<br />
Audited Commands/Response 5-231<br />
Audited Commands/Text 5-227<br />
Audited Events 5-225<br />
Audited Messages 5-229<br />
Forecast<br />
<strong>Job</strong> Summary 5-132<br />
Predecessors Required For <strong>Job</strong>s At Station<br />
X 5-133<br />
Resources Required For All Selected<br />
<strong>Job</strong>s 5-135<br />
Resources Required For <strong>Job</strong>s At Station<br />
X 5-137<br />
Run Book 5-138<br />
Schedules/<strong>Job</strong>s Selected For DD MM<br />
YY 5-144<br />
Schedules/<strong>Job</strong>s Selected For Station X 5-147<br />
Reports (continued)<br />
overview 5-1<br />
Simulation<br />
Backlogged Schedules/<strong>Job</strong>s 5-93<br />
Date Translation Report 5-95<br />
Late <strong>Job</strong> Profile 5-103<br />
Resources Required For All Selected<br />
<strong>Job</strong>s 5-105<br />
Schedules/<strong>Job</strong>s Selected For DD MM<br />
YY 5-107<br />
Simulated Device Utilization 5-110<br />
Simulated Execution Schedule 5-111<br />
Simulated Shared Device Utilization 5-112<br />
Simulated Unit Utilization 5-112<br />
Tracking File <strong>Job</strong> Start Errors 5-114<br />
REQUEST<br />
JOB command<br />
<strong>for</strong>ecast 5-122<br />
simulation 5-76<br />
Schedule command<br />
<strong>for</strong>ecast 5-123<br />
simulation 5-78<br />
REQUESTED keyword A-4<br />
RERUN<br />
command<br />
<strong>Job</strong> 5-79<br />
keyword 5-44<br />
RERun keyword 5-42<br />
RESALL 5-105, 5-135<br />
Reserved words A-2<br />
Reserved-name variable parameters <strong>for</strong> <strong>Unicenter</strong><br />
<strong>CA</strong>-Driver C-16, C-19<br />
Resources<br />
Required<br />
For All Selected <strong>Job</strong>s report 5-105, 5-135<br />
For <strong>Job</strong>s At Station X report 5-137<br />
Resources, station overriding 5-62<br />
RESSTN 5-137<br />
RESTART keyword, OVERRIDE STATION<br />
command 5-72<br />
REVISE keyword 5-44<br />
FORE<strong>CA</strong>ST command 5-129<br />
SIMULATE command 5-88<br />
RFT keyword, SIMULATE command 5-88<br />
RONLY Schedule command 5-81<br />
Routing delay time (RDT) 5-65<br />
RTT keyword, SIMULATE command 5-89<br />
RUN<br />
command<br />
<strong>Job</strong> <strong>for</strong>ecast 5-125<br />
<strong>Job</strong> simulation 5-82<br />
Schedule <strong>for</strong>ecast 5-126<br />
Index X-7
RUN (continued)<br />
command (continued)<br />
Schedule simulation 5-84<br />
RUNBOOK 5-138<br />
RUNBOOK report 5-138<br />
Running<br />
jobs 5-82<br />
schedules 5-84<br />
S<br />
SCD keyword A-2<br />
Schedule<br />
adding 5-84, 5-126<br />
analyzing 5-10<br />
changing 5-67<br />
excluding 5-54, 5-120<br />
holding 5-57<br />
keyword<br />
EXCLUDE <strong>Job</strong> command <strong>for</strong>ecast 5-118<br />
EXCLUDE <strong>Job</strong> command, simulation 5-53<br />
HOLD <strong>Job</strong> command 5-56<br />
OVERRIDE <strong>Job</strong> command 5-61<br />
RELEASE <strong>Job</strong> command 5-74<br />
REQUEST <strong>Job</strong> command <strong>for</strong>ecast 5-122<br />
REQUEST <strong>Job</strong> command simulation 5-77<br />
RERUN <strong>Job</strong> command 5-80<br />
RUN <strong>Job</strong> command <strong>for</strong>ecast 5-125<br />
RUN <strong>Job</strong> command simulation 5-82<br />
listing 5-16<br />
releasing 5-75<br />
reports D-17, D-26, D-36<br />
requesting 5-78, 5-123<br />
Status report 5-194<br />
SCHEDULE keyword 5-44<br />
Scheduled <strong>Job</strong> Status<br />
By Schedule report 5-175, 5-197<br />
By Station report 5-178, 5-200<br />
Schedules/<strong>Job</strong>s Selected For DD MM YY<br />
report 5-107, 5-144<br />
Schedules/<strong>Job</strong>s Selected For Station X report 5-147<br />
Scheduling<br />
cyclic A-4<br />
daily A-4<br />
holiday A-7<br />
monthly A-4, A-7<br />
period A-9<br />
relative day A-7<br />
weekly A-4, A-7<br />
yearly A-6<br />
SELECTED 5-107, 5-144<br />
SIMDAY keyword<br />
EXCLUDE <strong>Job</strong> command<br />
<strong>for</strong>ecast 5-119<br />
simulation 5-53<br />
EXCLUDE Schedule command<br />
<strong>for</strong>ecast 5-120<br />
simulation 5-55<br />
HOLD <strong>Job</strong> command 5-56<br />
HOLD Schedule command 5-58<br />
ONLY Schedule command<br />
<strong>for</strong>ecast 5-121<br />
simulation 5-59<br />
RELEASE <strong>Job</strong> command 5-74<br />
RELEASE Schedule command 5-75<br />
REQUEST <strong>Job</strong> command<br />
<strong>for</strong>ecast 5-123<br />
simulation 5-77<br />
REQUEST Schedule command<br />
<strong>for</strong>ecast 5-124<br />
simulation 5-78<br />
RERUN <strong>Job</strong> command 5-80<br />
RONLY Schedule command simulation 5-81<br />
RUN <strong>Job</strong> command<br />
<strong>for</strong>ecast 5-125<br />
simulation 5-83<br />
RUN Schedule command<br />
<strong>for</strong>ecast 5-127<br />
simulation 5-84<br />
SIMEXEC 5-111<br />
SIMULATE command 5-49, 5-85<br />
Simulated Device Utilization report 5-110<br />
Simulated Execution Schedule report 5-111<br />
Simulated Shared Device Utilization report 5-112<br />
Simulated Unit Utilization report 5-112<br />
Simulation<br />
commands<br />
EXCLUDE <strong>Job</strong> 5-53<br />
EXCLUDE Schedule 5-54<br />
HOLD <strong>Job</strong> 5-56<br />
HOLD Schedule 5-57<br />
ONLY Schedule 5-59<br />
OVERRIDE <strong>Job</strong> 5-60<br />
OVERRIDE RESOURCE 5-62<br />
OVERRIDE Schedule 5-67<br />
OVERRIDE SHRRSR 5-68<br />
OVERRIDE STATION 5-71<br />
RELEASE <strong>Job</strong> 5-73<br />
RELEASE Schedule 5-75<br />
REQUEST <strong>Job</strong> 5-76<br />
REQUEST Schedule 5-78<br />
RERUN <strong>Job</strong> 5-79<br />
X-8 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2
Simulation (continued)<br />
commands (continued)<br />
RONLY Schedule 5-81<br />
RUN <strong>Job</strong> 5-82<br />
RUN Schedule 5-84<br />
SIMULATE 5-49, 5-85<br />
summary 5-50<br />
TAPEPULL GROUP 5-42<br />
TAPEPULL JOB 5-44<br />
overview 5-46<br />
Reports<br />
Backlogged Schedules/<strong>Job</strong>s 5-93<br />
Date Translation Report 5-95<br />
Late <strong>Job</strong> Profile 5-103<br />
Resources Required For All Selected<br />
<strong>Job</strong>s 5-105<br />
Schedules/<strong>Job</strong>s Selected For DD MM<br />
YY 5-107<br />
Simulated Device Utilization 5-110<br />
Simulated Execution Schedule 5-111<br />
Simulated Shared Device Utilization 5-112<br />
Simulated Unit Utilization 5-112<br />
Tracking File <strong>Job</strong> Start Errors 5-114<br />
storage requirements 5-51<br />
STAGE keyword 5-43<br />
TAPEPULL JOB command 5-44<br />
Staged JCL Directory and Member List<br />
Report 5-218<br />
Staged JCL Library Directory List Report 5-222<br />
Staging editor commands C-12<br />
START A-2<br />
Station<br />
listing 5-17<br />
overriding resources 5-62<br />
where jobs and schedules run 5-147<br />
STATION keyword<br />
EXCLUDE <strong>Job</strong> command<br />
<strong>for</strong>ecast 5-119<br />
simulation 5-53<br />
FORE<strong>CA</strong>ST command 5-130<br />
HOLD <strong>Job</strong> command 5-56<br />
OVERRIDE<br />
<strong>Job</strong> command 5-61<br />
RESOURCE command 5-62<br />
Schedule command 5-67<br />
SHRRSR command 5-69<br />
RELEASE <strong>Job</strong> command 5-74<br />
REQUEST <strong>Job</strong> command<br />
<strong>for</strong>ecast 5-123<br />
simulation 5-77<br />
RUN <strong>Job</strong> command<br />
<strong>for</strong>ecast 5-126<br />
STATION keyword (continued)<br />
RUN <strong>Job</strong> command (continued)<br />
simulation 5-83<br />
SIMULATE command 5-89<br />
Storage requirements<br />
<strong>for</strong>ecasting 5-116<br />
simulation 5-51<br />
SUBID keyword<br />
OVERRIDE RESOURCE command 5-62<br />
OVERRIDE STATION command 5-72<br />
Successor Chain List 5-38<br />
SUMMARY option <strong>for</strong> <strong>for</strong>ecasts 5-132<br />
SYSID keyword<br />
OVERRIDE RESOURCE command 5-62<br />
OVERRIDE STATION command 5-72<br />
T<br />
TAPEnn keyword<br />
OVERRIDE RESOURCE command 5-65<br />
OVERRIDE SHRRSR command 5-70<br />
TAPEPULL<br />
command<br />
GROUP 5-42<br />
<strong>Job</strong> 5-44<br />
option<br />
BrightStor <strong>CA</strong>-Dynam/T 5-85<br />
<strong>CA</strong>-SYSTEM/MANAGER 5-85<br />
SIMULATE command 5-85<br />
Traceopt keyword, SIMULATE command 5-89<br />
Tracking file D-28<br />
Tracking File <strong>Job</strong> Start Errors report 5-114<br />
U<br />
<strong>Unicenter</strong> <strong>CA</strong>-Driver<br />
online procedure expansion C-13<br />
parameters C-16, C-19<br />
UNIT with simulation commands 5-65<br />
UNITnn keyword, OVERRIDE RESOURCE<br />
command 5-65<br />
UNITUTIL 5-112<br />
Update keyword, SIMULATE command 5-89<br />
UPSI settings, <strong>CA</strong>IAUDIT reports 5-225<br />
URnn keyword<br />
OVERRIDE RESOURCE command 5-65<br />
OVERRIDE SHRRSR command 5-70<br />
Userid list 5-19<br />
Index X-9
V<br />
Variable parameter, reserved-name C-16, C-19<br />
Vocabulary A-2<br />
W<br />
WDAY keyword A-7<br />
WDOM keyword A-7<br />
WDOW keyword A-7<br />
WEEKDAY keyword A-4<br />
WEEKEND keyword A-4<br />
Weekly scheduling A-6, A-7<br />
Workday A-7<br />
WWOM keyword A-7<br />
WWOYkeyword A-7<br />
X<br />
XDAY A-9<br />
XDOM A-9<br />
XMOY A-9, A-10<br />
XWOM A-10<br />
Y<br />
Yearly scheduling A-6<br />
X-10 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>Reference</strong> <strong>Guide</strong>, Part 2