HP 3000 Manuals

MODE= [ QUERY/V Reference Manual ] MPE/iX 5.0 Documentation


QUERY/V Reference Manual

MODE= 

Changes the mode of access to the primary data base.

Syntax 

     M[ODE]= mode number 

For example:

     >MODE=3

Where mode number = 3

Parameter 

mode number            is an integer from 1 to 8 representing the access
                       mode you want to use.

Discussion 

You can use this command to change your mode of access to the primary
data base.  If the MODE= command is entered, QUERY first closes the
current primary data base before attempting to open the data base with
the new access mode.

Example 

     >MODE=6 
     >AD INVENTORY 
     ILLEGAL ACCESS
     >MODE=3 
     >AD INVENTORY 
     STOCK#          =>>6650D22S 
     ONHANDQTY       =>>11 
     SUPPLIER        =>>H & S SURPLUS 
     UNIT-COST       =>>1395 
     LASTSHIPDATE    =>>121585 
     BINNUM          =>>3 

     STOCK#          =>>// 
     >

In the example above, mode 6 is specified.  Since mode 6 does not allow
write access to the primary data base, the user must change to a mode
which allows such access.  Then QUERY allows the addition of an INVENTORY
entry.



MPE/iX 5.0 Documentation