HP 3000 Manuals

OPTIONS [ HP SYSTEM DICTIONARY XL SDMAIN ] MPE/iX 5.0 Documentation


HP SYSTEM DICTIONARY XL SDMAIN

OPTIONS 

Sets the prompting, logging and macro options.

Syntax 

     OP[TIONS]
             [;PROM[PT] = prompt-flag]
             [;C[OMMAND-]LOG = command-log-file]
             [;I[NTRINSIC-]LOG = intrinsic-log-file]
             [;LOG = [log-file-name]]
             [;MAC[RO] = [macro-file-name]]
              .

Parameters 

prompt-flag           The attribute prompting option.  If prompting is
                      on, you are prompted for attribute values whenever
                      you issue a CREATE, MODIFY, or REPORT command is
                      without the ATTRIBUTE-LIST keyword.  Valid choices
                      are:

                           on
                           off

                      The default is on when the system is running
                      interactively.  If not running interactively,
                      prompting is off and cannot be turned on using this
                      command.  (If you attempt to turn prompting on in
                      batch mode, a warning message is issued.)

                      See "Dictionary Attribute Prompting Facility" in
                      Chapter 3 for a complete discussion of attribute
                      prompting.

command-log-file      The command logging option.  Commands are logged if
                      command logging is on.  Valid choices are:

                           on
                           off

                      The default is on if there is a valid log file when
                      the system is started (and you do not respond
                      with no to the overwrite prompt if running
                      interactively).  The command that disables command
                      logging is not logged.  However, the command that
                      enables command logging is logged.

intrinsic-log-file    The System Dictionary transaction logging option.
                      This logging is in conjunction with IMAGE logging.
                      You must be logged on under the DA scope in
                      exclusive-update mode in order to change logging
                      from its current state.  Valid choices are:

                           on
                           off

                      For more information on intrinsic logging, see the
                      SDSetControl intrinsic under Code 1 (intrinsic
                      logging) in the HP System Dictionary/XL Intrinsics 
                      Reference Manual (32256-90002).

                      Logging is initially disabled by the initialization
                      process (SDINIT). Like IMAGE logging, System
                      Dictionary logging remains disabled until enabled
                      and once enabled, remains enabled until disabled
                      again.

                      See the IMAGE Data Base Management System Reference 
                      Manual (32215-90003) for more information on IMAGE
                      transaction logging.

log-file-name         Name of the new log file.  If you enter the LOG
                      keyword with no value, the logging facility is
                      turned off.  If you enter a file name, but the file
                      cannot be opened, the previous log file (if any) is
                      retained.  If the new file is successfully opened,
                      command logging is activated even if it was turned
                      off before the command, (unless this command
                      disables logging).

macro-file-name       Name of the new macro file.  If you enter the MACRO
                      keyword with no value, the macro facility is turned
                      off.  If you enter a file name, but the file cannot
                      be opened, the previous macro file (if there is
                      one) is retained.

Description 

Only the values of the keywords you specify in the command are changed.
All other keyword values remain as they were before you issued the
command.

If not needed, you can turn command logging off to improve performance.

Open Mode:       Any mode for all keywords except INTRINSIC-LOG, which
                 requires exclusive-update

Scope:           Any scope for all keywords except INTRINSIC-LOG, which
                 requires the DA scope

Example 

The following example sets attribute prompting OFF and specifies the file
mymacro to be used as the macro file.

     >OPTIONS PROMPT = off; 
     >>MACRO = mymacro. 
     >


MPE/iX 5.0 Documentation