HP 3000 Manuals

Confirming Potentially Serious Actions [ System Startup, Configuration, and Shutdown Reference Manual ] MPE/iX 5.0 Documentation


System Startup, Configuration, and Shutdown Reference Manual

Confirming Potentially Serious Actions 

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.
_____________________________________________________________________ | | | | | :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 ** | | [REV BEG] | | io log (lo) misc (mi) | | spu (sp) | | sysfile (sy)[REV END] | | | | 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-4. PERMYES OFF Action Example 4-5 shows how SYSGEN overrides user input with PERMYES enabled. _____________________________________________________________________ | | | | | :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 ** | | [REV BEG] | | io log (lo) misc (mi) | | spu (sp) | | sysfile (sy)[REV END] | | | | 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> | | | _____________________________________________________________________ Example 4-5 PERMYES ON Action 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.


MPE/iX 5.0 Documentation