Previous Topic: Date and Time SchedulingNext Topic: Perpetual Calendars


Base Calendars

Base calendars define available processing days for the installation. Any number of base calendars can be defined. However, it may be possible to satisfy installation requirements with only one or two calendars.

Each calendar defines a single year with a starting and year-ending boundary that can be crossed only in the first or twelfth month. A given calendar can represent schedule months in either standard or user-defined format (for example, accounting, fiscal, and so on).

Either batch or online facilities can generate base calendars. To use the online facility (DB.2.8), a CA WA CA 7 Edition calendar PDS must be allocated and identified to CA WA CA 7 Edition. Processing of base calendars for resolution of schedules is the same regardless of whether they were generated using the batch or online facilities.

Note: For information about enabling online calendar maintenance, see the Systems Programming Guide.

The CA WA CA 7 Edition CALENDAR macro can generate calendars. Macro keywords are used for calendar definition, and the macro is assembled and link edited using standard procedures. Base calendars are link edited to the CA WA CA 7 Edition CAL2LOAD or a specified calendar library, and are stored in the form of bit masks that represent available and unavailable processing days for the year.

Timing for generation of base calendars is flexible. The only requirement is that a particular calendar exist before resolution of work schedules related to the calendar is attempted. Base calendars must be regenerated whenever available processing days change and before the beginning of each year. Generally, next year's base calendars should be generated by July 1 of the current year. New base calendars can be generated at any time without impacting current processing schedules. Schedule resolution, described later, is used to change the processing schedules, for jobs or networks, with a new year or changed base calendars.

PRINT Command

Use the PRINT command to produce a month-by-month listing of indicated base calendars. PRINT produces output that reflects the beginning and ending days of each month, holidays, or any other nonprocessing days that were defined when the calendar was produced.

Note: For more information about the PRINT command, see the Command Reference Guide.