# HP DECprint Supervisor (DCPS) for OpenVMS
Software Installation Guide

Previous | Contents | Index

# Appendix B
Installing the Software with VMSINSTAL

This appendix describes how to install DECprint Supervisor software using the VMSINSTAL utility. VMSINSTAL is used to install DCPS on systems running versions of OpenVMS older than V6.2. If you are not familiar with the VMSINSTAL utility, refer to the HP OpenVMS System Manager's Manual.

# B.1 Overview

Follow the steps in Section 2.1 to prepare for the DCPS installation.

# B.2 VMSINSTAL Conventions

VMSINSTAL will prompt you for site-specific information. Questions are preceded by an asterisk (*) and may be followed by default responses enclosed in brackets ([]). Enter your response followed by `[Return]`.

Press `[Return]` to enter the default response. If you are not sure of the response, enter a question mark (?). VMSINSTAL displays explanatory text and repeats the prompt.

Messages specific to the installation of DECprint Supervisor software are listed in Section B.4.

# B.3 Installing the Software

Note This section does not reproduce all of the text you may see on your screen during the installation of the DCPS software. Sample VMSINSTAL installation scripts are shown in Section B.5.

To install the software, use the following procedure:

1. Invoke the VMSINSTAL procedure.
   Enter the following command:

       $ @SYS$UPDATE:VMSINSTAL DCPSpppnnn device-id [OPTIONS N]

   You supply the following information:
   - DCPSpppnnn is the save set name, with ppp designating the platform (AXP [Alpha] or VAX) and nnn designating the version (for example, 025 for V2.5).
   - device-id is the name of the device on which you want to mount the media, such as DQA0:.
   - OPTIONS N allows you to request release notes. If you do not include the OPTIONS N parameter, VMSINSTAL does not ask you about the release notes. Review the release notes before proceeding with the installation. If you are restarting the installation and have already reviewed the release notes, you do not need to specify OPTIONS N.
   First, VMSINSTAL displays a banner line with the date and time, and instructions for running the dialog. You may receive one or more of the following warning messages when VMSINSTAL starts up. Exit from the procedure, correct the cause of the warning message, and start the VMSINSTAL procedure again.
   - If you are not currently logged in to the SYSTEM account, the following message is displayed:

         %VMSINSTAL-W-NOTSYSTEM, You are not logged in to the SYSTEM account.

   - If processes are running while VMSINSTAL is running, the following message is displayed:

         %VMSINSTAL-W-ACTIVE, The following processes are still active:
                 process-name

   Other processes may cause the installation of HELP to fail. When any of these messages are displayed, the following question is displayed to allow you to terminate VMSINSTAL and correct the situation:

       * Do you want to continue anyway [NO]?

   Enter YES to continue. If you answer NO, the VMSINSTAL procedure is terminated immediately.
   You can enter a question mark (?) at this time to display advice from the VMSINSTAL software. For example:

       The above conditions may cause VMSINSTAL to function improperly.
       In particular, problems may occur with file ownership if you are not
       logged into the SYSTEM account.

2. Ensure that existing software is saved.
   VMSINSTAL then asks the following question:

       * Are you satisfied with the backup of your system disk [YES]?

   Enter YES to continue, or enter NO to exit VMSINSTAL to make a backup and run VMSINSTAL again.
   If you enter a question mark (?) in response to this question, VMSINSTAL displays the following explanation:

       VMSINSTAL attempts to ensure that a power failure or system crash
       will not corrupt your system disk.  However, for absolute safety we
       recommend that you back it up before installing new products.  Please
       see the documentation for more information on crashes during
       installation.

3. Confirm that distribution media is loaded.
   VMSINSTAL asks for confirmation that the distribution media has been mounted.

        Please mount the first volume of the set on device-id:
       * Are you ready?

4. Announce products to be installed.
   VMSINSTAL then announces the products to be installed where ppp designates the platform and n.n designates the version.

       The following products will be processed:

       DCPSppp Vn.n

               Beginning installation of DCPSppp Vn.n at 13:45

       %VMSINSTAL-I-RESTORE, Restoring product saveset A

5. Obtain the release notes.
   If you specified OPTIONS N in the VMSINSTAL command line, the following Release Notes options are displayed:

       Release notes included with this kit are always copied to SYS$HELP.

       Additional Release Notes Options:

          Release Notes Options:
                 (1) Display release notes
                 (2) Print release notes
                 (3) Both 1 and 2
                 (4) None of the above

   After you enter the release note option, VMSINSTAL asks whether you want to continue the installation procedure:

       Do you want to continue the installation [NO]?

   If you did not include the OPTIONS N portion of the VMSINSTAL command line, VMSINSTAL does not display this question. Instead, the following message is displayed:

       %VMSINSTAL-I-RELMOVED, Product's release notes have been moved to SYS$HELP

6. Check for active DCPS queues.
   If DCPS print queues are active while VMSINSTAL is running, messages similar to the following are displayed:

       %DCPSVAX-W-QUEACTIVE, The following DCPS queues are still active:

       Queue                     Device                                    Status
       -----                     ------                                    ------
       LN09                      DAN::LTA9000:                             IDLE
       LN17                      DAN::"AppleTalk/Dan's LN17+ps"            IDLE
       LN40                      DAN::"IP_RawTCP/ln40:6869"                IDLE
       LPS32                     DAN::"IP_CPAP/lps32.office.genicom.com"   IDLE

       %DCPSVAX-I-NUMQUEUES, 4 existing DCPS queues, with 4 active

               Previously installed DCPS queues are still running.
               Continuing this installation without entering
               STOP/QUEUE/RESET for each such queue can cause
               inconsistent behavior among queues and can cause
               the IVP to fail.

               Note that if you choose to have this installation
               procedure automatically stop such queues, and the
               installation subsequently aborts, this procedure
               will not automatically restart them.

       * Do you want these queues automatically stopped and restarted [YES]?

   If you do not want the installation procedure to automatically stop them, you are given the options of aborting the installation or continuing with the queues active. Continuing is not recommended.
7. Check for sufficient disk space.
   VMSINSTAL checks to see if the amount of disk space required for the installation is available. If the space is not available, a message indicates the amount of disk space that is required, and the installation is aborted. You must allocate sufficient disk space and then start the VMSINSTAL procedure again. However, if you have already provided enough disk space, the installation procedure continues.
8. Purge extraneous versions of files.
   VMSINSTAL asks if you want to purge any files that are being replaced.

       * Do you want to purge files replaced by this installation [YES]?

   Enter YES if you want to save disk space or NO if you think the files may still be of use.
   If you enter a question mark (?) in response to this query, the following message is displayed:

       During this installation, new files will be provided to replace
       existing versions.  You may purge these older versions to save disk
       space, or keep them if you feel they may be of use.  Purging is
       recommended.

9. Define DCPS$LAYUP.
   Next, the installation procedure looks for a definition of the logical name DCPS$LAYUP in the system table in executive mode.
   - If a definition exists, the following message is displayed:

         %DCPSppp-I-LAYUPDEF, DCPS$LAYUP is already defined
         -DCPSppp-I-LAYUPDEF, This installation will use its value

   - If a definition does not exist, the procedure asks you for a definition. Press `[Return]` to select the default, SYS$SYSROOT:[SYSHLP.EXAMPLES.DCPS], or enter a directory specification where the system layup definition files should be stored.

         * Full definition for DCPS$LAYUP [SYS$SYSROOT:[SYSHLP.EXAMPLES.DCPS]]:

     The procedure will validate the definition you provide. If you do not accept the default location and the specified directory does not exist, the procedure will ask you if you want to create it:

         DISK$USER:[MY-LAYUP-DIR] does not exist.

         * Create it? [N]?

     If you answer NO, the procedure will ask again for a definition.
10. Create directories.
    VMSINSTAL then attempts to create several directories. If they already exist, it displays additional messages indicating this:

        %VMSINSTAL-I-SYSDIR, This product creates system disk directory
             VMI$ROOT:[SYSTEST.DCPS].
        %CREATE-I-EXISTS, VMI$ROOT:[SYSTEST.DCPS] already exists
        %VMSINSTAL-I-SYSDIR, This product creates system disk directory
             VMI$ROOT:[SYSHLP.EXAMPLES.DCPS].
        %CREATE-I-EXISTS, VMI$ROOT:[SYSHLP.EXAMPLES.DCPS] already exists

11. Make sure the queue manager is running.
    VMSINSTAL checks to see if the queue manager is running on your system.
    If the queue manager is not present, the Installation Verification Procedure (IVP) does not run, and the following messages are displayed on your screen:

        %DCPSppp-I-NOQUEMGR, System queue manager is not running
        -DCPSppp-I-NOQUEMGR, IVP will NOT run.  Installation continuing ...

    The queue manager must be running if you want the installation to run the IVP.
12. Stop queues.
    At this point, VMSINSTAL displays the following message on your screen:

        %DCPSppp-I-NOQUEST, No further questions will be asked.

    VMSINSTAL stops active DCPS queues, if any and if desired.

        %DCPSppp-I-STOPQUEUES, Stopping queues previously reported as active.

13. Restore the remaining save sets. As it restores each save set, VMSINSTAL reports on its progress:

        VMSINSTAL-I-RESTORE, Restoring product saveset B ...
        VMSINSTAL-I-RESTORE, Restoring product saveset C ...

    This operation may require up to 10 minutes to complete.
    When all the save sets have been restored, VMSINSTAL instructs you to perform postinstallation procedures. Refer to the System Manager's GuideSystem Manager's Guide for full instructions.
    Next, VMSINSTAL moves the files from the temporary locations used during installation to their permanent directories.

        %VMSINSTAL-I-MOVEFILES, Files will now be moved to their target
        directories...

14. Verify a successful software loading procedure.
    The IVP verifies that the software was loaded properly. If the system queue manager is running, the IVP runs automatically and VMSINSTAL performs the following:
    1. Creates a temporary print queue
    2. Queues the test files in [SYSTEST.DCPS] to the temporary print queue DCPS$IVP_TEST
    3. Displays messages similar to the following:

        Job DCPS$IVP_POST (queue DCPS$IVP_TEST, entry 43) started on DCPS$IVP_TEST
        %DCPS-I-JOBSTART, Job DCPS$IVP_POST (queue DCPS$IVP_TEST, entry 43)
              started on DCPS$IVP_TEST

        Job DCPS$IVP_POST (queue DCPS$IVP_TEST, entry 43) completed
        Job DCPS$IVP_ANSI (queue DCPS$IVP_TEST, entry 44) started on DCPS$IVP_TEST
        %DCPS-I-JOBSTART, Job DCPS$IVP_ANSI (queue DCPS$IVP_TEST, entry 44)
              started on DCPS$IVP_TEST

        Job DCPS$IVP_ANSI (queue DCPS$IVP_TEST, entry 44) completed
        Job DCPS$IVP_REGIS (queue DCPS$IVP_TEST, entry 45) started on DCPS$IVP_TEST
        %DCPS-I-JOBSTART, Job DCPS$IVP_REGIS (queue DCPS$IVP_TEST, entry 45)
              started on DCPS$IVP_TEST

        Job DCPS$IVP_REGIS (queue DCPS$IVP_TEST, entry 45) completed
        Job DCPS$IVP_TEK4014 (queue DCPS$IVP_TEST, entry 46) started on DCPS$IVP_TEST
        %DCPS-I-JOBSTART, Job DCPS$IVP_TEK4014 (queue DCPS$IVP_TEST, entry 46)
              started on DCPS$IVP_TEST

        Job DCPS$IVP_TEK4014 (queue DCPS$IVP_TEST, entry 46) completed
        Job DCPS$IVP_PCL (queue DCPS$IVP_TEST, entry 47) started on DCPS$IVP_TEST
        %DCPS-I-JOBSTART, Job DCPS$IVP_PCL (queue DCPS$IVP_TEST, entry 47)
              started on DCPS$IVP_TEST

        Job DCPS$IVP_PCL (queue DCPS$IVP_TEST, entry 47) completed
        Job DCPS$IVP_PROPRINTER (queue DCPS$IVP_TEST, entry 48) started on DCPS$IVP_TEST
        %DCPS-I-JOBSTART, Job DCPS$IVP_PROPRINTER (queue DCPS$IVP_TEST, entry 48)
              started on DCPS$IVP_TEST

        Job DCPS$IVP_PROPRINTER (queue DCPS$IVP_TEST, entry 48) completed
        Job DCPS$IVP_LIST (queue DCPS$IVP_TEST, entry 49) started on DCPS$IVP_TEST
        %DCPS-I-JOBSTART, Job DCPS$IVP_LIST (queue DCPS$IVP_TEST, entry 49)
              started on DCPS$IVP_TEST

        Job DCPS$IVP_LIST (queue DCPS$IVP_TEST, entry 49) completed

    Note The IVP does not produce any hardcopy output.

    The IVP procedure automatically deletes the temporary queue when the IVP completes. You can print the IVP test files to a real printer later. (Refer to the System Manager's GuideSystem Manager's Guide.)
    You can also manually invoke the IVP after the installation by entering:

        $ @SYS$TEST:DCPS$IVP

    VMSINSTAL issues an informational message when the IVP is completed:

                IVP successful for OpenVMS DECprint Supervisor Software

15. Restart queues.
    VMSINSTAL restarts previously stopped queues if the installation is successful and issues its final messages:

        %DCPSppp-I-STARTQUEUES, Restarting queues previously reported as active.

                Installation of DCPSppp Vn.n completed at 14:04

                VMSINSTAL procedure done at 14:08
        $

16. Where to go from here.
    Refer to the System Manager's GuideSystem Manager's Guide for instructions on how to create print queues and customize your printing environment.

# B.4 System Messages

This appendix describes DECprint Supervisor installation messages.

## B.4.1 System Message Overview

DCPS system messages have one of the following formats:

%fac-s-ident, text
-fac-s-ident, text

Code | Meaning
--- | ---
% | The prefix for all primary messages
- | The prefix for all continuation messages
fac | The facility code, which should be DCPS
s | The severity level of the message
ident | An abbreviation of the message text
text | The expanded text of the message

The severity levels of DECprint Supervisor system messages are defined as follows:

Code | Meaning
--- | ---
S | Success --- successful completion of the request
I | Informational --- may require user action
W | Warning --- request may not have completed and may require user action
E | Error --- system encountered an error that may be recoverable
F | Fatal --- system encountered a fatal error and cannot continue processing this request

## B.4.2 DCPS Installation Messages

The following DCPS message descriptions are alphabetized by the ident portion of the message. The message severity level and text are also shown, while the prefix and facility designation (DCPSppp are omitted. If you receive a message from a facility other than DCPS, refer to the HP OpenVMS System Messages: Companion Guide for Help Message Users for the message description or use the online help message utility with the command HELP /MESSAGE.

E-BADSPEC, File spec LPS$SINGLEHOLES.LUP cannot be parsed
Explanation: The current definition of the logical name DCPS$LAYUP is invalid, possibly because of an incorrect answer given to the question about the location of layup files in an earlier DCPS installation. (DCPS V1.6 and later now validate such responses; see the Release Notes for more information.)
User Action: Deassign the logical name with the command:

        $ DEASSIGN /EXECUTIVE_MODE /SYSTEM DCPS$LAYUP

Then start the DCPS installation again and you will be prompted for the location for the layup files.

E-BADVMSVER, This product requires OpenVMS version version or later to install
Explanation: The DCPS software requires a later version of the OpenVMS operating system.
User Action: Upgrade your operating system to the correct version.

I-ESTTIME, This installation will take between 1 and 10 minutes, I-ESTTIME, excluding time needed to stop and restart active queues.
Explanation: This informational message estimates the time it will take to install the software.
User Action: No action is required.

W-HIDES, If these files remain, they will be used instead of the W-HIDES, DCPS product files you are installing now, and the IVP
Explanation: DCPS warns you that the existing DCPS files in SYS$SPECIFIC directories will be used instead of the latest ones.
User Action: Remove or rename the listed DCPS files from the SYS$SPECIFIC directories.

E-INVDIRSPE, invalid directory specification
Explanation: The syntax of the directory specified is not correct.
User Action: Specify a directory with correct syntax.

I-LAYUPDEF, DCPS$LAYUP is already defined. I-LAYUPDEF, This installation will use its value.
Explanation: The installation uses the existing logical name for DCPS$LAYUP.
User Action: No action is required.

I-NOHELP, There is no help in this install procedure. I-NOHELP, Please refer to the Software Installation Guide.
Explanation: This informational messages states that no help is available.
User Action: Refer to the Software Installation GuideSoftware Installation Guide for more information.

I-NOQUEMGR, System queue manager is not running. I-NOQUEMGR, IVP will NOT be run. Installation continuing.
Explanation: The queue manager is not running on your system. The installation will continue, but the Installation Verification Procedure cannot run.
User Action: After the installation, start the queue manager and then manually invoke the IVP ( @SYS$TEST:DCPS$IVP ).

I-NOQUEST, No further questions will be asked
Explanation: The VMSINSTAL procedure will continue from this point without requiring further input from you.
User Action: No action is required.

W-NORSTRT, Automatically stopped queues have not been restarted
Explanation: VMSINSTAL has not restarted queues that it automatically stopped.
User Action: Resolve the problem that caused the installation to terminate abnormally, and then manually restart the queues that the DCPS installation procedure previously listed as active.

E-NOSUCHDEV, no such device available
Explanation: The device specified does not exist.
User Action: Specify a device that exists on your system.

E-NO_DECC_RTL, DEC C run-time library is not installed.
Explanation: There is no DEC C run-time library on your system.
User Action: Install the DEC C/C++ Run-Time Components kit.

E-NO_QUEMAN, This product requires the queue management facility to install.
Explanation: The queue manager could not be found. The installation procedure is aborted.
User Action: Start the queue manager. For information refer to the HP OpenVMS System Management Utilities Reference Manual.

E-NO_SPACE, This product requires number blocks of disk space to install.
Explanation: There are not enough free disk blocks to install this software. The installation procedure terminates.
User Action: Ensure that you have at least the specified number of free disk blocks and restart the installation.

I-NUMQUEUES, existing-number existing DCPS queues, with active-number active.
Explanation: This message informs you of the number of DCPS queues you have and how many of them are active (that is, not stopped).
User Action: No action is required.

W-PURGW, Purging files may leave running queues with no image file and the IVP may fail.
Explanation: Purging DCPS files while multistream DCPS symbionts are still active can cause problems.
User Action: Avoid purging existing files, or stop all active queues before proceeding with the installation.

I-QSCANNING, Looking for existing DCPS print queues...
Explanation: This informational message tells you that the installation procedure is checking for print queues that already exist.
User Action: No action is required.

W-QUEACTIVE, The following queues are still active:
Explanation: The installation procedure found some DCPS queues still active, as listed in subsequent lines. If you do not stop the active queues, the installation may fail or interfere with jobs that are currently printing.
User Action: When subsequently asked, allow VMSINSTAL to automatically stop the queues, or manually stop them yourself and restart the installation procedure. If some of the queues are not in an idle state, you may wish to wait until all jobs have finished printing.

I-STARTQUEUES, Restarting queues previously reported as active
Explanation: VMSINSTAL is currently restarting all queues it had previously reported as active.
Explanation: No action is required.

I-STOPQUEUES, Stopping queues previously reported as active
Explanation: VMSINSTAL is currently stopping all queues it had previously reported as active.
User Action: No action is required.

W-SYSPF, This system contains DCPS images in SYS$SPECIFIC areas:
Explanation: Your system has one or more DCPS executable images in a SYS$SPECIFIC directory, as listed in subsequent lines. The new images that you are about to install will not be used because of the presence of the SYS$SPECIFIC versions.
User Action: Delete or rename the DCPS files in the SYS$SPECIFIC directories, so that new ones in SYS$COMMON will be used.

F-WRONGARCH, This product will only install on OpenVMS platform.
Explanation: You have attempted to install the kit on the wrong platform.
User Action: Install the kit on either an Alpha or VAX platform, as indicated by the message, or use a different kit for the current platform.

Previous | Next | Contents | Index