HPlogo QUERY/iX Reference Manual > Chapter 5 QUERY/iX COMMANDS (cont)

PASSWORD=

MPE documents

Complete PDF
Table of Contents

E0300 Edition 7 ♥
E1098 Edition 6

Changes your password for the primary data base.

Syntax



  PA[SSWORD]= [password]

Parameters


password

is the word you have been given by the data base administrator to use when accessing the data base. You must enter this word exactly as it was created. A distinction is made between passwords entered in lowercase or entered in uppercase.

Discussion


You can change your password, thus changing the group of data to which you have access. QUERY first closes the current data base before attempting to open the data base with the new password.

If you are signed on as the creator and enter a semicolon in place of the data base password, you will be given read and write access to all data items and data sets in the specified data base. This is true even if there are no passwords specified for the data base.

To take advantage of the non-echoing feature of QUERY, enter the PASSWORD= command without the password parameter and press RETURN. QUERY will prompt you for the password and, when entered, it will not be echoed back.

If you enter an invalid password, you are assigned a user class zero that allows you read and/or write access to some or all of the data sets or data items in the specified data base. When this happens, the following message is returned.

  PASSWORD DOES NOT MATCH ANY DEFINED FOR THE SPECIFIED
  DATA BASE; USER CLASS ZERO (0) WAS ASSIGNED

If there are no data sets and/or data items which you can access, the following message is returned.

  BAD PASSWORD

If you are not sure that you will have access to the data items you need, you can change the password with the DEFINE, DATA-BASE=, or PASSWORD= command.

  >PA=CLERK
  >AD INVENTORY
  ILLEGAL ACCESS
  >PA=DO-ALL
  >AD INVENTORY
  STOCK#          =>>
    .
    .
    .

In the example above, the CLERK password is specified. The request to add an entry to the INVENTORY data set is rejected since CLERK does not allow write access to it. When the password is changed to DO-ALL, QUERY allows the user to add to the INVENTORY data set.




Chapter 5 QUERY/iX COMMANDS (cont)


PROC-FILE=