[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference csc32::consolemanager

Title:POLYCENTER Console Manager
Notice:Kits, Scans, Docs on CSC32:: as PCM$KITS:,PCM$DOCS:, PCM$SCANS:
Moderator:CSC32::BUTTERWORTH
Created:Thu Aug 06 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1541
Total number of notes:6564

981.0. "$status wrong" by 49575::LA_GIOIA (We do ...the best) Fri Sep 15 1995 04:40

    Hi!
    
    Trivial question:
    from a non privileged account
    
    $ console shutdown
    No Privilege to Shutdown Console Manager
    $ show symbol $status
      $STATUS == "%X00000001"
    
    Why the status is succes??
    is it a bug or is it normal?
    
    If the customer checks the status for starting others applications, how
    can he bypass this problem?
    
    Thanks
    Domenico
T.RTitleUserPersonal
Name
DateLines
981.1ZENDIA::DBIGELOWInnovate, Integrate, EvaporateFri Sep 15 1995 10:3013
    I'm just guessing, but the program has executed normally. Your option
    to return some sort of status, is valid. 
    
    The only hack I can think of at the moment is to put the
    shutdown command into a DCL command procedure and redefine sys$output
    to a logfile and then check the first line of the output log file for
    the string "No Priviledge". 
    
    I'll put this on the list for the support team to look at, but cannot
    make any promises about any changes being made for the next ECO kit.
    
    dave
    
981.2CSC32::BUTTERWORTHGun Control is a steady hand.Fri Sep 15 1995 11:598
    Dave is right. The priviledge in question is one that must be granted
    via the PCM config database and not a VMS priviledge. Note also that
    PCM doesn't use the VMS messaging facility. All error messages are in
    the code so most of the time PCM interfaces just issue their own error
    message and terminate with success status.
    
    REgs,
      Dan
981.3Thanks49575::LA_GIOIAWe do ...the bestMon Sep 18 1995 03:571