JAMS Reference Manual
Contents Index JAMS Home Support

JAMS Reference Manual


Previous Contents Index


CREATE DATE

Create or replace a JAMS Date Definition.

Format

CREATE DATE date-specification


Parameters

date-specification

A valid JAMS date specification. This specification can be an English language date specification which will be evaluated into an absolute date.

Description

The CREATE DATE command is used to create or replace a JAMS Date Definition.

restrictions

You must have ADD access to Date Definitions.
related commands

Qualifiers

/DESCRIPTION

This qualifier can be used to specify a description of the Date.

/REPLACE

/NOREPLACE

This qualifier is used to specify whether you want to create or replace the Definition. If you omit this qualifier, the Definition will be created if it does not exist and replaced if it does exist. If you specify /REPLACE, an error will be returned if the Definition does not exist and no changes will be made. If you specify /NOREPLACE, an error will be returned if the Definition exists and no changes will be made.

/SPECIFIC_TYPE=specific-type

Specifies the Specific Date Type of this Date Definition.

/TODAY_IS=date

The date specification will be interpreted as if today was the date specified with this qualifier. If you do not use this qualifier, the default is the current system date.

/TYPE=date-type

Specifies the Date Type of this Date Definition. This qualifier is required.

/WORKDAY

/NOWORKDAY

Specifies whether this Date Specification changes the workday status of the date. Omitting this qualifier signifies that this Date Definition does not change the workday status of the date. Specifying /WORKDAY will make this date a workday and /NOWORKDAY will make it a non-workday.

EXAMPLES


JAMS> CREATE DATE "3RD THURSDAY OF NOVEMBER" -
_JAMS> /TYPE=HOLIDAY/SPECIFIC=THANKSGIVING/NOWORKDAY -
      

In this example, Thanksgiving is added as a HOLIDAY Date Type. Note that this CREATE DATE command does not need to be changed from year to year.


JAMS> CREATE DATE 5-AUG-1996/TYPE=FISCAL
      

In this example, August 5, 1996 is added as the start date of Date Type FISCAL.


Previous Next Contents Index
JAMS Copyright © 2000, MVP Systems, Inc. All rights reserved.