This is a brief discussion of different methods of accessing the Holiday Tables for CA Calendar Routines.
The CA Calendar Routines (TCCR) product is delivered as COBOL programs and copybooks. CA delivers the source code. Application programmers have the option of calling the Calendar Routines program (usually named TRCENGIN) statically or dynamically. For many calendar calculations, generally those that do not require knowledge of holidays, the programmer also has the option to PERFORM logic that is copied into the application program from CA provided copybooks.
Installation of the product involves compiling and linking TRCENGIN. At install time, the installer must decide how TRCENGIN will get a list of your company's holidays. It may COPY them from a copybook, CALL a stub program statically, or CALL a stub program dynamically. We recommend the latter because it saves the trouble of recompiling every application that uses TCCR every time (usually annually) that the Holiday Table is updated.