HPlogo System Startup, Configuration, and Shutdown Reference Manual > Chapter 4 Using the System Generator (SYSGEN)

Confirming Potentially Serious Actions

MPE documents

Complete PDF
Table of Contents
Glossary
Index

E0802 Edition 7 ♥
E0201 Edition 6
E0796 Edition 5

SYSGEN is initially set to confirm a potentially serious action. If, for example, you make configuration changes and attempt to exit without saving the changes, SYSGEN warns you that you are about to lose your changes.

You can enable PERMYES to automatically accept all decisions entered at the terminal or disable it to ask if the user wishes to change a command that seems improper. The abbreviated command for PERMYES is PE. This command is particularly useful when SYSGEN receives input commands from a file or batch job.

If PERMYES is OFF (the default), SYSGEN prompts you for a YES/NO response whenever a potentially serious action, such as exiting SYSGEN without saving configuration changes, is initiated. If you respond negatively, the action does not take place and the command is ignored. If PERMYES is ON, you are not prompted for confirmation. SYSGEN executes the command exactly as entered.

To enable PERMYES, enter PERMYES ON at the SYSGEN prompt:

   sysgen>PERMYES ON

To disable PERMYES, enter PERMYES OFF at the SYSGEN prompt:

   sysgen>PERMYES OFF

Once PERMYES is disabled, SYSGEN issues messages to prompt for confirmation. Example 4-4 demonstrates PERMYES OFF action.


NOTE: PERMYES should always be set ON in command files to allow SYSGEN to continue where confirmation would be requested.

Example 4-4 PERMYES OFF Action

   :SYSGEN

   SYSGEN version D.01.01 : catalog version D.01.01    TUE, SEP 14, 1993
   Copyright 1987 Hewlett-Packard Co.  All Rights Reserved

           **  First level command **

           io                log (lo)       misc (mi)   spu (sp)
           sysfile (sy)

           basegroup (ba)    keep (ke)      permyes (pe)   show (sh)
           tape (ta)

           clear (cl)(c)     exit (ex)(e)   help (he)(h)   oclose (oc)
           redo
   sysgen>
   sysgen>PERMYES OFF
   sysgen>SYSFILE

           **  SYSFILE configurator commands **

           aauto (aa)      aboot (ab)      acmsl (ac)   asprog (as)
           cmsl (cm)       dauto (da)      dboot (db)   dcmsl (dc)
           dsprog (ds)     lcmsl (cl)      rauto (ra)   rboot (rb)
           rcat (rc)       rcmsl (rcm)     rdcc (rd)   ripl (ri)
           rnmlib (rn)     rsprog (rs)     show (sh)

           clear (cl)(c)   exit (ex)(e)    help (he)(h)   hold (ho)
   sysfile>
   sysfile>ASPROG FCOPY.PUB.SYS FCOPY.PUB.SYS
           ** Add FCOPY to SYSGEN tape **
   sysfile>E
           *** Exit without saving ***

           configuration changes are not kept yet!
           still want to exit (yes/no) ?NO
   sysfile>

Example 4-5 shows how SYSGEN overrides user input with PERMYES enabled.

Example 4-5 PERMYES ON Action

   :SYSGEN

   SYSGEN version D.01.01 : catalog version D.01.01    TUE, SEP 14, 1993
   Copyright 1987 Hewlett-Packard Co.  All Rights Reserved

           **  First level command **

           io                log (lo)       misc (mi)  spu (sp)
           sysfile (sy)

           basegroup (ba)    keep (ke)      permyes (pe)   show (sh)
           tape (ta)

           clear (cl)(c)     exit (ex)(e)   help (he)(h)   oclose (oc)
           redo
   sysgen>
   sysgen>PERMYES ON
   sysgen>SYSFILE

           **  SYSFILE configurator commands **

           aauto (aa)      aboot (ab)      acmsl (ac)   asprog (as)
           cmsl (cm)       dauto (da)      dboot (db)   dcmsl (dc)
           dsprog (ds)     lcmsl (cl)      rauto (ra)   rboot (rb)
           rcat (rc)       rcmsl (rcm)     rdcc (rd)    ripl (ri)
           rnmlib (rn)     rsprog (rs)     show (sh)

           clear (cl)(c)   exit (ex)(e)    help (he)(h)   hold (ho)
   sysfile>
   sysfile>ASPROG FCOPY.PUB.SYS FCOPY.PUB.SYS
           ** Add FCOPY to SYSGEN tape **
   sysfile>E
           *** Exit without saving ***

           configuration changes are not kept yet!
           still want to exit (yes/no) ?Automatic yes
   sysgen>

Enabling PERMYES saves time and effort by answering YES to all prompting, particularly when a command input file is used or a batch job is executed. Enabling PERMYES can also allow mistakes. In the previous example, the changes are not kept because the HOLD command was not entered, and the system automatically answered YES to the (YES/NO) exit confirmation.




Specifying the Base Group


Showing the State of Configurators