ARCHLINK: Intermediary program; links to COPY2200.
COPY2200: Wang's COPY2200 utility is used to move the documents to a non-labeled (i.e. archive) diskette.
After the diskette is mounted, select log functions. If no log is desired, press PF(16). If you want a new log file, enter the file location and set the NEWFILE option to YES. To add to an existing log file, enter the file's location.
ARCHIVE will copy documents to successive diskettes, prompting for the next diskette when each is full. The log function (if used) records the diskette number, document ID, Title, Author, Owner, and the return code for the copy operation. This information can be updated every copy by adding to an existing file. A report shows all of the data in the log for the latest run.
The ARCHLINK subroutine must be in the same library as ARCHIVE to work properly, and COPY2200 must be present in the system library.
The program uses GETPARMs for all major entry screens.
ARCHIVE Press (RETURN) to continue, PF(16) to exit without processing.LIBRARY (blank) The Word Processing library to be processed.
VOLUME [invol] The volume where the documents reside.
STARTNO 0001 The starting and ending ENDNO (blank) document numbers to be copied.
DELETE NO Change to YES to delete original after copy.
DISKETTE 0001A The label of the first document diskette to be mounted. Increments as more diskettes are used.
GETDEV Press (RETURN) to continue, PF(01) to return to main menu.
DEVICE (blank) The device number of the archive diskette drive. Must be a single-sided, single-density, hard-sectored (SSSDHS) drive.
OPENLOG Press (RETURN) to continue, PF(16) to continue without using a log file.
FILE (blank) The location of the log file, if LIBRARY [uid]+LOG used. Defaults to the user's ID VOLUME [invol] plus "LOG".
NEWFILE NO Set to YES to create a new log file; leave NO to update an existing log.
Output: log file (if selected) shows the archive diskette number, document ID, Title, Author, Owner, and the return code from the archiving process. All of this information is also retained in the consecutive log file; new archive runs are appended to the file.