HP3000-L Archives

August 2003, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Paul H. Christidis" <[log in to unmask]>
Reply To:
Date:
Tue, 19 Aug 2003 10:53:30 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (37 lines)
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 *

ATOM RSS1 RSS2