How to change the holidays in Calendar Routines?
book
Article ID: 49562
calendar_today
Updated On:
Products
Calendar Routines
Issue/Introduction
Issue/Introduction:
This document describes the procedure for adding, removing, or modifying the dates that Calendar Routines considers to be holidays.
Resolution
Here are the steps for changing the holidays in Calendar Routines.
- If you have a COPYBOOK named TRCHLT01, rename it to TRCHLTX1.
- If you have a PROGRAM named TRCHLP01, rename it to TRCHLPX1.
- Modify the list of dates in JCL TRCHLGEN to add, change, or remove dates as necessary.
- Run job TRCHLGEN. It will create new TRCHLT01 and TRCHLP01 files.
- Check the new TRCHLT01 and TRCHLP01 to make sure that they are correct.
- Repeat steps 1 - 4 to create new versions of TRCHLT02 & TRCHLP02 (and higher) if you have them.
- Review your source code for COBOL program TRCENGIN. Find which of the following three mutually exclusive options it uses.
- If TRCENGIN links dynamically to TRCHLP01, compile TRCHLP01. Proceed to step 10.
- If TRCENGIN links statically to TRCHLP01, compile TRCHLP01. Proceed to step 8.
- If TRCENGIN uses copybook TRCHLT01, proceed to step 8.
- Rename LOADLIB member TRCENGIN to save it.
- Recompile program TRCENGIN.
- If you use Calendar Routines under CICS, repeat step 7 for TRCENGNC.
Make sure there were no errors in the recompile of TRCENGIN.
You are now ready to test.
Feedback
thumb_up
Yes
thumb_down
No