HP3000-L Archives

August 1998, 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:
Reply To:
Pete Crosby ([log in to unmask])
Date:
Wed, 19 Aug 1998 08:03:21 EDT
Content-Type:
text/plain
Parts/Attachments:
text/plain (31 lines)
Patrick,

You could do a "TELL" to "@.accountname" and then check the HPCIERR
variable. The value of it would vary depending on whether there were a
job or session or both logged on. Then it is a simple matter of looping
until the condition is met or stopping if that is what you want to do.

You don't say if the test is performed in a UDC/COMMANDFILE to determine
if the job should be streamed or if it is done by the job itself to
determine if it should continue, wait, or abort. That information would
be helpful.

 --
         --Pete Crosby  ([log in to unmask]  a.k.a. [log in to unmask])


Patrick wrote:
>
>My company has a Stream Job on our HP3000 that can only run if all SESSIONS
>are logged of a specific account.  The problem is the only way we know to
>check to see if there is any sessions logged on is to use the HP variable
>HPSESCOUNT in a IF test (IF HPSESCOUNT = 0 THEN ...) in a stream job.
>
>This works 90% of the time except when a person forgets to log off the
>console.  Does anybody know of a way to check for SESSIONS (Not Jobs) in a
>specific account tha can be used like the above IF test.
>
>Thanks in advance
>
>Patrick K. Faloney

ATOM RSS1 RSS2