Operating System - OpenVMS
1748224 Members
4468 Online
108759 Solutions
New Discussion юеВ

Re: getuai.exe for OpenVMS 7.3-1 and OpenVMS 7.3-2

 
SOLVED
Go to solution
Thanassis Papadimitriou
Frequent Advisor

Re: getuai.exe for OpenVMS 7.3-1 and OpenVMS 7.3-2

I have placed getuai.zip file into the following dir:

$ show def
SYS$COMMON:[SYSMGR.TEST.GETUAI]

Then I issued the following:

$unzip getuai.zip
$@link
$GETUAF == "$SYS$COMMON:[SYSMGR.TEST.GETUAI]GETUAI.EXE"
$GETUAI == "$SYS$COMMON:[SYSMGR.TEST.GETUAI]GETUAI.EXE"

I am trying to extract the following info:

$ set verify
$ getuai * /access=NO /disuser=NO
%CLI-W-IVQUAL, unrecognized qualifier - check validity, spelling, and placement
\ACCESS\
%CLI-F-IVQUAL, unrecognized qualifier - check validity, spelling, and placement

1. Currently when I type help, I cannot find getuai syntax. How may open getuai help file to read it.

2. Should I check for any vms service that might be a prerequisite for getuai to work?
Joseph Huber_1
Honored Contributor

Re: getuai.exe for OpenVMS 7.3-1 and OpenVMS 7.3-2

Maybe we have different versions of GETUAI, but mine has no /ACCESS qualifier, only /ACCOUNT.

And by the way, it makes not much sense to retrieve different items into the same symbol (=NO in Your example).
http://www.mpp.mpg.de/~huber
Steven Schweda
Honored Contributor

Re: getuai.exe for OpenVMS 7.3-1 and OpenVMS 7.3-2

If we had a list of the files in your kit, we
might be able to guess if there's something
to use with a SET COMMAND command, or with a
HELP /LIBRARY command. Or, if we knew
exactly whence you got your kit, we could
look for ourselves.
Joseph Huber_1
Honored Contributor

Re: getuai.exe for OpenVMS 7.3-1 and OpenVMS 7.3-2

And to the question how to get getuai help:
the distribution contains getuai.hlp file. Place that into your sites help library,
or into a help library of itself (LIBR/CREATE GETUAI.HLB/HELP getuai.hlp), and use
HELP/LIBRAY=dev:[dir]getuai .
http://www.mpp.mpg.de/~huber
Joseph Huber_1
Honored Contributor

Re: getuai.exe for OpenVMS 7.3-1 and OpenVMS 7.3-2

The ACCESS fields You can get with the UAF utility from the freeware80 CD
http://mvb.saic.com/freeware/freewarev80/uaf/
http://www.mpp.mpg.de/~huber
Thanassis Papadimitriou
Frequent Advisor

Re: getuai.exe for OpenVMS 7.3-1 and OpenVMS 7.3-2

Dear All,

I downloaded getuai from the following link:
http://vms.process.com/scripts/fileserv/fileserv.com?GETUAI

It sounds rather difficult to setup getuai to the platforms I intend to use it.

I tried to create the help library to the directory I have unzip the files, because I don't want to mix these files with the OS ones.

$ dir

Directory SYS$COMMON:[SYSMGR.TEST.GETUAI]

AAAREADME.TXT;1 DESCRIP.MMS;1 DESCRIP2.H;1 GETUAI.ALPHA_OBJ;1
GETUAI.C;1 GETUAI.CLD;1 GETUAI.EXE;1 GETUAI.HLB;1
GETUAI.HLP;2 GETUAI.HLP;1 GETUAI.I64_OBJ;1 GETUAI.VAX_OBJ;1
GETUAI.ZIP;1 GETUAI_TABLES.ALPHA_OBJ;1 GETUAI_TABLES.I64_OBJ;1
GETUAI_TABLES.VAX_OBJ;1 LINK.COM;1 PRIVBITS.H;1
TO_BUILD.COM;1 UAIDEF.H;1 VAXC$MEM_OPT.H;1 VAXCRTL.OPT;1
VAXTYPES.H;1

Total of 23 files.

I issued the following commands to create the help library:

LIBR/CREATE GETUAI.HLB/HELP getuai.hlp
$ HELP/LIBRAY=$SYS$COMMON:[SYSMGR.TEST.GETUAI]getuai
%HELP-E-OPENIN, error opening $SYS$COMMON:[SYSMGR.TEST.GETUAI]GETUAI.HLB; as input
-RMS-F-DEV, error in device name or inappropriate device type for operation

Currently, I am not an experienced sys admin.


Joseph Huber_1
Honored Contributor

Re: getuai.exe for OpenVMS 7.3-1 and OpenVMS 7.3-2

As the error message explains: is $SYS$COMMON a valid device name in Your system?
I would rather think SYS$COMMON as in most systems.
http://www.mpp.mpg.de/~huber
Martin Vorlaender
Honored Contributor

Re: getuai.exe for OpenVMS 7.3-1 and OpenVMS 7.3-2

Thanassis,

>>>
HELP/LIBRAY=$SYS$COMMON:[SYSMGR.TEST.GETUAI]getuai
<<<

Try

HELP/LIBRARY=SYS$COMMON:[SYSMGR.TEST.GETUAI]getuai

That is, "LIBRARY" spelled correctly, and SYS$COMMON without the leading "$" (that one is reserved for telling DCL that we're defining a foreign command).

GETUAI works like this: every qualifier takes as a value the symbol name that the information should be placed into, e.g.

$ getuai system /LAST_LOGIN=xx
$ show symbol xx
XX = "19-JAN-2009 13:54:50.64"

I'm under the impression that you assume you can use the qualifiers as a filter - that is not the case.

HTH,
Martin
Thanassis Papadimitriou
Frequent Advisor

Re: getuai.exe for OpenVMS 7.3-1 and OpenVMS 7.3-2

I have defined the following:

GETUAF == "SYS$COMMON:[SYSMGR.TEST.GETUAI]GETUAI.EXE"
GETUAI == "SYS$COMMON:[SYSMGR.TEST.GETUAI]GETUAI.EXE"

when I tried to extract info for system account, it produces the following:

getuai system /LAST_LOGIN=xx
%DCL-W-IVVERB, unrecognized command verb - check validity and spelling
\SYS$COMMON\

Martin Vorlaender
Honored Contributor

Re: getuai.exe for OpenVMS 7.3-1 and OpenVMS 7.3-2

When definig a command, you need the leading "$", like

GETUAF == "$SYS$COMMON:[SYSMGR.TEST.GETUAI]GETUAI.EXE"
GETUAI == "$SYS$COMMON:[SYSMGR.TEST.GETUAI]GETUAI.EXE"

HTH,
Martin