Subject: | |
From: | |
Reply To: | |
Date: | Tue, 19 Aug 2003 10:53:30 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Wyell,
If the user in question is the same as the one used in the "jobcard" of the
jobstream then you could use the following:
if POS("IA",hpusercapf) <> 0 then
OK to go
else
If it is another user then your options would be limited to parsing the
output of the 'listuser' command or using some MPEX incantation, if you
have the VESOFT product.
Regards
Paul Christidis
I have a need to test a user in a jobstream for the capability of IA
(Interactive Access). Is there a way to get this without sending the
LISTUSER command to a file, then parsing the file, sort of like getting
file information with FINFO ?? Ideally, I would like to do something like:
IF capability (USER.AMISYS) contains IA then
OK to go
Else
Error message / page
Endif
Wyell Grunwald
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|