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:
Date:
Wed, 19 Aug 1998 20:29:05 GMT
Content-Type:
text/plain
Parts/Attachments:
text/plain (43 lines)
Patrick,

you can do what you want to do in MPEX as follows:
(In this example "acct" = account name).

:MPEX
% setvar sessions = jscount("@.acct&online")
% exit
if sessions = 0 then
  stream jobname
endif


************
Hope this helps you.
Steve Zink
Beyond Y2K, Inc.
([log in to unmask])

In article <[log in to unmask]>,
  [log in to unmask] 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
> Systems Analyst
> STB Systems
>
> -----== Posted via Deja News, The Leader in Internet Discussion ==-----
> http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum
>

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum

ATOM RSS1 RSS2