;
                                 SAVNDR.COM                                   

             Size (recs) CRC   Version    Author/Latest Issue      Disk
SAVNDR.3OM     2k (12)   00C2  1.4        Bruce Morgen 11/91       Z3COM19
SAVNDR.4OM     2k (16)   1ED9  1.4        Bruce Morgen 11/91       Z3COM19
SAVNDR.COM     2k (12)   5A49  1.4        Bruce Morgen 11/91       Z3COM19

  1- Syntax/Usage  2- Notes  3- Examples of Use                               


   SAVNDR writes  a reloadable  (by LDR) copy  of the resident Named Directory
module to a disk file.   A typical use for this program is to save (for future
use) a copy of the system Named Directory buffer after it has been modified by
editing with EDITND.  

   Vs 1.0 (2/30/87) by Al Hawley.
:1

   Syntax   SAVNDR [du: or dir:][fn][.ft]

   DU:/DIR: specifies the disk/user area  on which  to write the file.   If no
filename spec is given, a copy of the Named Directories is made in the default
du: whose default name is SAVED.NDR.   This name is located near the beginning
of the program and may be changed with a standard debugger.

   If DIR is omitted or invalid, the current default du: is implied.
   If FN is omitted, a default name specified in the source file is used.
   If the period is present,  but FT is not specified, then the file type will
be blank.
   If both the period and FT are missing, then the default file type specified
in the source will be used.
 
   A help screen can be invoked with either of the following:

            SAVNDR /
            SAVNDR //
            SAVNDR ?


   SAVNDR is completely command-line oriented;   there is no interactive mode.
A copy of the system Named Directory is saved in a disk file  whose specifica-
tion is the standard ZCPR3 file name specification.  In fact, the token parser
is identical in function to that of ZCPR3 itself.
:2
 SAVNDR Notes - 1/2 

   a. Vs 1.4 updates (11/22/91, Bruce Morgen):
      - Implemented Type 4 executable, added Type and load address to banner.
      - Added equates so SYSDEF.LIB is no longer required.
      - Strip high bits from EFCB filename when moving it to the help screen.  
      - Restored a modest  DSEG  (we have one  anyway because  of Z3LIB!)  and
        removed hot patching at the cost of a couple of bytes.

   b. Vs 1.3 updates (7/23/89, Joe Wright):
      - F$OPEN does not delete an existing file.  F$MAKE does.  
      - Check that F$MAKE was successful.
      - Shortens size determination code and moves it just before WRNDR:.
      - Shortens WRNDR: itself.
      - Removes local stack and calls to PUTUD and GETUD.
      - Removes all DSEG use by hot-patching STAK and ERRCOD.
      - Changes the HELP screen some.
 SAVNDR Notes - 2/2 

   c. Vs 1.2 updates (11/19/88, Al Hawley):
      - Saves only the minimum size of  file required  to contain  the current 
        Named Directory.   Previous versions saved  a maximum size file, which  
        prevented making smaller NDRs  for use with a dynamically-sized system 
        like NZCOM.  

   d. Vs 1.1 updates (5/22/88, Bruce Morgen):
      - Fixed  a few broken error routines, converted to the Z33 Type 3 format
        with safety header.
      - Implemented DSEG using beta Z3LIB/SYSLIB "4".
      - Deleted unecessary ZFNAME call  --  and vestigial equates and external 
        references, other minor code  tune-ups.   
      - File size reduced from 30 to 11(!) records,  program noticeably faster 
        to load and execute. 
      - Errors reported accurately to CON:.
      - Program error flag set to zero  on  any successful execution including 
        help queries.
:3
 Examples of Use 
 
   a. SAVNDR BULLY.      <-- produces the file BULLY.    (blank FT)
      
   b. SAVNDR BULLY       <-- produces the file BULLY.NDR

   c. SAVNDR .MDL        <-- produces the file SAVED.MDL
