NAF - Calendar - Function 31.9

Using a calendar, you can control the deletion of reports.

This document covers the following topics:


Invoking Calendar

When you invoke this function, the Calendar window appears:

Time 10:52:37        *** Natural Spool Administration ***      Date 2022-04-06 
User SAG                            M e n u                    File 19999/1241 
                                     +--------- Calendar 19999/1241 ----------+
      Administration                 !                                        !
                                     !  Enter name of                         !
      10 Reports/Queues              !                                        !
      11 Devices                     !       Calendar                         !
      12 Abstracts                   !                                        !
      13 Applications                !  or                                    !
      14 Change Spool File           !                                        !
                                     !      *    for Selection                !
                                     !                                        !
      Maintenance                    !      ?    for Help                     !
                                     !                                        !
      30 Spool File Properties       !      .    for End                      !
      31 Objects                     !                                        !
      32 Mass Update                 !      -------------------------         !
      33 Hardcopy Allocations        !      / ________ /                      !
      34 Transfer Objects            !                                        !
                                     +----------------------------------------+
Enter values.                                                                  
Command ===>                                                                   
Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---

In this window, you can specify the name of an existing calendar, select a calendar from a list of calendars available or add a new profile to the spool file.

Selecting a Calendar from a List

To select a calendar from a list, enter one of the following:

  • a partly-qualified name (e.g. T* to list all calendars starting alphabetically from T),

  • an asterisk (*) to list all calendars in the NATSPOOL system.

A list of calendars is then shown in a window.

Time 11:07:20        *** Natural Spool Administration ***      Date 2022-04-06 
User SAG                            M e n u                    File 19999/1241 
                                     +-------------Select with *--------------+
      Administration                 !  New start value ......... _________   !
                                     !  -----------------------------------   !
      10 Reports/Queues              !  Fl Cm  Name        Fl Cm  Name        !
      11 Devices                     !  -- --  ---------   -- --  ---------   !
      12 Abstracts                   !      _  CAL2022         _  MKCAL       !
      13 Applications                !      _  MYCAL22         _  TESTCAL     !
      14 Change Spool File           !                                        !
                                     !                                        !
                                     !                                        !
      Maintenance                    !                                        !
                                     !                                        !
      30 Spool File Properties       !                                        !
      31 Objects                     !                                        !
      32 Mass Update                 !                                        !
      33 Hardcopy Allocations        !                                        !
      34 Transfer Objects            !                                        !
                                     +----------------------------------------+
Mark on selection list.                                                        
Command ===>                                                                   
Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
      Help  Menu  Exit                     --                                  

The calendars defined for the logical printer which was used for the initialization of the current Natural session are highlighted in the window.

In the Cm column, you can enter one of the following codes:

Code Description
C Copy calendar.
D Delete calendar.
R Rename calendar.
. Exit function.
X or any other character Display calendar for modification or deletion, see below.

Maintaining a Calendar

If the specified calendar exists, it is displayed. You can modify the individual parameters or delete the whole calendar.

Note:
If you specify a name that does not yet exist, you can add a new calendar. In this case, the Delete option is not provided in the window.

Time 11:10:08        *** Natural Spool Administration ***      Date 2022-04-06 
User SAG                            M e n u                    File 19999/1241 
      +-------------------------- Calendar MYCAL22 ---------------------------+
      !  Modify                MYCAL22                 Delete (Y/N)         N !
      !  -------------------------------------------------------------------- !
      !  Owner N                                                              !
      !  -------------------------------------------------------------------- !
      !  Default day for start of week (1-7) 1  / start of weekend (0,1-7)  0 !
      !  ( 1 - Monday          ,   7 Sunday          )                        !
      !  -------------------------------------------------------------------- !
      !  Notes                                                                !
      !  ________________________________________________________________     !
      !                                                                       !
      !  Mk Year Mk Year Mk Year Mk Year Mk Year Mk Year Mk Year Mk Year      !
      !  -- ---- -- ---- -- ---- -- ---- -- ---- -- ---- -- ---- -- ----      !
      !   _ 2022                                                              !
      !                                                                       !
      !                                                                       !
      !   Mark a year, or enter year  ____                                    !
      +-----------------------------------------------------------------------+
Mark on the selection list, or enter a new year.                               
Command ===>                                                                   
Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
      Help  Menu  Exit                                                  Canc   

In this window, you can enter the following:

  • The default for the first day of the week.

  • The default for the first day of the weekend. The value 0 means that weekends are not considered.

  • A short description.

  • A year (see below).

When you specify a year (for example, 2022) and press Enter, the calendar for the first half of the specified year appears. Pressing Enter once more displays the second half.

Time 10:59:14        *** Natural Spool Administration ***      Date 2022-04-06 
User SAG                   Calendar MYCAL22 / 2022             File 19999/1241 
                 January                February             March             
 Monday              3 10 17 24 31          7 14 21 28           7 14 21 28    
 Tuesday             4 11 18 25          1  8 15 22           1  8 15 22 29    
 Wednesday           5 12 19 26          2  9 16 23           2  9 16 23 30    
 Thursday            6 13 20 27          3 10 17 24           3 10 17 24 31    
 Friday              7 14 21 28          4 11 18 25           4 11 18 25       
 Saturday         1  8 15 22 29          5 12 19 26           5 12 19 26       
 Sunday           2  9 16 23 30          6 13 20 27           6 13 20 27       
                 April                  May                  June              
 Monday              4 11 18 25             2  9 16 23 30        6 13 20 27    
 Tuesday             5 12 19 26             3 10 17 24 31        7 14 21 28    
 Wednesday           6 13 20 27             4 11 18 25        1  8 15 22 29    
 Thursday            7 14 21 28             5 12 19 26        2  9 16 23 30    
 Friday           1  8 15 22 29             6 13 20 27        3 10 17 24       
 Saturday         2  9 16 23 30             7 14 21 28        4 11 18 25       
 Sunday           3 10 17 24             1  8 15 22 29        5 12 19 26       
------------------------------------------------------------------------------ 
 Reset calendar _  Modify start/end of week _  Save values _   Exit function _ 
Modify values, or press a PF-key.                                              
Command==>                                                                     
Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
      Help  Menu  Exit  Save  Modif Reset                               Canc   

Non-working days, such as weekends are highlighted. Working days are not highlighted. To modify the status of a day (working or non-working day), mark the day with any character and press Enter.

Using the fields of the bottom of the screen, you can:

  • reset the calendar to the default values,

  • modify the first day of the week and of the weekend (for the current year only),

  • save the values.