Skip to main content
KathleenHambrick
Participating Frequently
Apr 5, 2022 12:32 PM UTC
Question

port status

Sorry to say I will have a lot of questions as I acclimate back to universe. Here's my latest....

04 PORT.STATUS

There are currently 99 uniVerse sessions; 96 interactive, 3 phantom

Pid.... User name. Who. Port name..... Last command processed............
67091 COAT2 21 /dev/pts/17 GRUN203.INPUT [ GRUN203.INPUT @ 0x7
FA ]

>PORT.STATUS PID 67091
Unknown option specified.

Why 'unknown option specified'??

    2 replies

    Jonathan Smith
    Rocketeer
    Apr 5, 2022 12:38 PM UTC
    Sorry to say I will have a lot of questions as I acclimate back to universe. Here's my latest....

    04 PORT.STATUS

    There are currently 99 uniVerse sessions; 96 interactive, 3 phantom

    Pid.... User name. Who. Port name..... Last command processed............
    67091 COAT2 21 /dev/pts/17 GRUN203.INPUT [ GRUN203.INPUT @ 0x7
    FA ]

    >PORT.STATUS PID 67091
    Unknown option specified.

    Why 'unknown option specified'??
    Check your VOC file for the keyword of PID.
    It should read

    >CT VOC PID

    PID
    0001 K
    0002 249
    >

    If PID is missing from the VOC you will get this error, if PID is missing you are more than likely missing some other keyword definitions in the VOC as well.
    I would check the following as well as PORT.STATUS needs these as well

    CT VOC USER PORT DEVICE PID FILEMAP LAYER.STACK MFILE.HIST LOCK.HIST ODBC.CONNECTIONS ENABLE DISABLE RUNNING SUSPENDED LPTR

    USER
    0001 K
    0002 217

    PORT
    0001 K
    0002 247

    DEVICE
    0001 K
    0002 248

    PID
    0001 K
    0002 249

    FILEMAP
    0001 K
    0002 250

    LAYER.STACK
    0001 K
    Press any key to continue...
    0002 253

    MFILE.HIST
    0001 K
    0002 251

    LOCK.HIST
    0001 K
    0002 252

    ODBC.CONNECTIONS
    0001 K
    0002 317

    ENABLE
    0001 K
    0002 254

    DISABLE
    0001 K
    0002 255

    RUNNING
    Press any key to continue...
    0001 K
    0002 324

    SUSPENDED
    0001 K
    0002 325

    LPTR
    0001 Keyword - Route a report to system printer
    0002 33
    >

    If you cannot find the keywords they are present in the VOC file of the UV account.
    Rocket Software - Senior Principal Technical Support Engineer - UniData ATS
    Jon Card
    Inspiring
    Apr 6, 2022 11:00 AM UTC
    Sorry to say I will have a lot of questions as I acclimate back to universe. Here's my latest....

    04 PORT.STATUS

    There are currently 99 uniVerse sessions; 96 interactive, 3 phantom

    Pid.... User name. Who. Port name..... Last command processed............
    67091 COAT2 21 /dev/pts/17 GRUN203.INPUT [ GRUN203.INPUT @ 0x7
    FA ]

    >PORT.STATUS PID 67091
    Unknown option specified.

    Why 'unknown option specified'??
    reading the HELP instructions has the following: Use PORT.STATUS to list currently active UniVerse jobs on the
    system. You can execute the PORT.STATUS command only from the UV account. When I logto UV and ran the command it work.