HP3000-L Archives

March 1999, 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:
Chris Enderle <[log in to unmask]>
Reply To:
Date:
Thu, 18 Mar 1999 13:43:06 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (39 lines)
Hi, I would like to know how to determine the session # corresponding to a
file being accessed.
In doing so, I can log off those people at night that prevents me from
backing up files because they forgot to log off.

here is what I have so far

WHILE VEFINFO("ACCESSED-FILE").OPENED DO

SETVAR OPER , VEFINFO(`"ACCESSED-FILE").RETURNED-SESSSION #
what attribute is RETURNED-SESSION #

ABORTJOB #S!OPER

PAUSE(5)

END;

----------------------------------------------------------

Thank you,

Jean Huot

Northern Credit Bureaus Inc
---------------------------------------------------------------------------
-------


There is no need to retrieve the session number.  Use the MPEX command:

%ABORTJOB ACCESSING=<filename>


Chris Enderle
IBM Global Services
Voice - 614/251-7186
Fax     - 614/251-7048

ATOM RSS1 RSS2