Previous Topic

Next Topic

Type a calendar's months (type/calendar or morecal)

The TYPE command will display the selected month or months from the specified calendar.

Windows/OpenVMS Format:

type/calendar calendar_file [/qualifiers]

UNIX/Linux Format:

morecal calendar_file [-qualifiers]

Qualifier Summary

Field Qualifiers:

/from or -from = date

/to or -to = date

/marks or -marks

General Qualifiers:

/[no]log or -[no]log

/[no]confirm or -[no]confirm

/node or -node = target node

/symbol or -symbol[=prefix_string,format]

Examples

Windows:

Schedule> type /calendar \default\holiday /since=march


OpenVMS:

Schedule> type /calendar [default]holiday /since=march

UNIX/Linux:

Schedule> morecal /default/holiday -since=march

Sample Output:

2013  March           (default)

        Sun.   Mon.   Tue.   Wed.   Thu.   Fri.   Sat.
                                            1      2
         3      4      5      6      7      8 A    9
        10     11     12     13     14     15     16
        17     18     19 ++  20     21     22 A   23
        24     25     26     27     28     29     30
        31

2013  April           (default)

        Sun.   Mon.   Tue.   Wed.   Thu.   Fri.   Sat.
                1      2 ++   3      4      5      6
         7      8      9     10     11     12     13
        14     15     16     17     18 ++  19 A   20
        21     22     23     24     25     26     27
        28     29     30

2013  May

        Sun.   Mon.   Tue.   Wed.   Thu.   Fri.   Sat.
                              1      2      3      4
         5      6      7      8      9     10     11
        12     13     14     15     16     17     18
        19     20 ++  21     22     23 ++  24     25
        26     27     28     29     30     31

2013  June

        Sun.   Mon.   Tue.   Wed.   Thu.   Fri.   Sat.
                                                   1
         2      3 ++   4      5      6      7      8
         9     10     11     12     13     14     15
        16     17     18     19     20     21     22
        23     24     25     26     27     28     29
        30      

Qualifiers

/hostname or -node =hostname

The qualifier specifies what node (either local or remote) you want the operation performed on.


/[no]confirm or -[no]confirm

CONFIRM requests that the user be prompted prior to any operation to verify that the selected calendar is the correct one.

/from or -from=date

The FROM qualifier specifies that only those months that include or are after the specified date are to be displayed. The date specified can be either an absolute time or a combination time. The default month is the current month.

/[no]log or -[no]log

The LOG qualifier causes each completed operation to issue a note to the user.

/marks or -marks

The MARKS option displays a list of the days in the calendar that are marked as well as the letter mark for that day in a two column list.

/output or -output=output_file

The OUTPUT option sends all output to a text file. Output can be printed or displayed as needed.

/symbol or -symbol[=prefix_string] or [=(prefix string,format)]

The SYMBOL requests that all calendar information be output to a group of environmental variables. Every field in the control record is loaded into a single environmental variable. The symbol name is constructed by prefixing the field name with the provide string. If none is provided a default value of SM is used.

The format defines the way that symbols are output. The default output specification is: "$ %s=\" %s\" "" which produces the following format style.

SM_FLAGS = "Slide_over_disallowed"

Alternate output styles may be created by changing the format field.

/to=date or -to=date

The TO qualifier specifies that only those months that are before or include the specified date are to be displayed. The date specified can be either an absolute time or a combination time. The default month is the current month.

See Also

CALENDAR commands

Copy a calendar (copy/calendar or cpcal)

Create a calendar (create/calendar or mkcal)

Delete a calendar (delete/calendar or rmcal)

Display calendar properties (directory/calendar or lscal)

Modify a calendar's properties (modify/calendar or chcal)

Rename a calendar (rename/calendar or mvcal)