multivaluepickmultivalue-databasejbase

How do I perform these common administrator D3 multivalue tasks in jBASE?


  1. This is how D3 lists the accounts in the system.
    SORT ONLY MDS WITH A1 = "D]""Q"
    Not sure how to do this in jBASE.

  2. This is how D3 lists the users that can log into the system.
    SORT USERS
    Not sure how to do this in jBASE.

  3. This is how D3 shows the current user or a number of users with their port#, user-id, and account-name.
    WHO
    WHO USERID
    WHO PORT#
    WHO
    jBASE does have a "WHO" command, but is there a way to see who the user is as well?

  4. This is how D3 logs off a port.
    LOGOFF PORT#
    RESET-USER PORT#*
    jBASE does have a LOGOFF, but not sure how to logoff the correct user/port.

  5. This is how D3 shows the available verbs on the account.
    LIST-VERBS
    Not sure how to do this in jBASE.

  6. When using jBASE LIST-LOCKS, jBase returns a PORT/PID.
    How do I determine the User ID from the PORT/PID information?

Can you also point me in the direction to find jBASE documentation for these questions so I can avoid asking these questions of support?


Solution

    1. List accounts in system. IMHO - jBase accounts are more system related (windows or unix users) and jBase works around it's current working directory. However, in jBase you have the "SYSTEM" file, that you can list or "CT" (Copy to Terminal).

      CT SYSTEM

    2. Here again - all users that can have file system access to a directory with jBASE files can access it.

    3. In jBase there is a good command to list all active users or "ports" - WHERE. If you use option "(V" you will also see all details what user is doing. You can also pass user no (port no) to "WHERE (V" command Another useful utility is mw42 - it shows all jBase processes (active users)

      WHERE (V port_no

    4. jBase does have LOGOFF command - you pass PORT No as argument. There is also jKill command to kill jbase process

      LOGOFF port_no

    5. I think this is what you need - to list Verbs from VOC (or MD):

      LIST VOC WITH F1 EQ "V" LIST MD WITH F1 EQ "V"

    6. It's better to use SHOW-ITEM-LOCKS, but the user id you will only see from WHERE (V command

    Most of the jBase documentation is here: https://docs.jbase.com/