Defining a calendar

Calendar members define company holidays and other non-working days in the calendar year.

SMCALSxx is the calendar definition parameter member. MainView SRM reads it during system startup. The suffix that is specified in SMMSYSxx indicates which version of SMCALSxx the active MainView SRM configuration should use. SMCALSxx is an optional member.

Using the SMCALSxx member

You use SET statements to define calendar years. INC statements following the SET statement identify the non-working days to be included. SMCALSxx parameters identify non-working days that are not to be considered as usage days by DFSMShsm. SMCALSxx offers much more flexibility in defining non-working days than DFSMShsm does.

Note

Any day not specified in SMCALSxx is a working day.

The following table provides a quick reference to the SET statement calendar parameter.

For more information, see the Reference for MainView SRM products.

SET statement calendar parameter

Parameter

Required

Description

YEAR=nnnn

Yes

Specifies the year to which the following days apply

The following table provides a quick reference to the INC and EXC statement calendar parameters.

INC and EXC statement calendar parameters

Parameter

Required

Description

FREE=nn.nn-nn.nn

No

Specifies the from-to range of non-working (free) days

MON=F | W

No

Specifies the day of week

TUE=F | W

No

Specifies the day of week

WED=F | W

No

Specifies the day of week

THU=F | W

No

Specifies the day of week

FRI=F | W

No

Specifies the day of week

SAT=F | W

No

Specifies the day of week

SUN=F | W

No

Specifies the day of week

The following statement examples show how you can use various calendar parameters.

Command

Result

SMCALSxx member

SET    YEAR=2001
       SUN=F
       FREE=01.05
       FREE=12.06
       FREE=24.11-30.11

Non-working days in 2001 include: all Sundays, May 1, June 12, and November 24-30.

Example: Dates are specified day, and then month.

SET    YEAR=2002
       FREE=02.01
       FREE=13.10
       FREE=21.12-26.12

Non-working days in 2002 are January 2, October 13, and December 21-26.

Defining the Calendars option

After you have identified the criteria for the calendar at your data center, use the Calendars menu option (on the EZSRMP Parmlib Members menu) to define a calendar. 

For more information, see Editing definition members.

 

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Comments