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:
John Krussel <[log in to unmask]>
Reply To:
Date:
Thu, 18 Mar 1999 10:18:02 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (49 lines)
If your going to use MPEX then you can use there enhanced abortjob command.
In the following example it would abort everyone accessing the file
"CUST.DB.PROD"

%ABORTJOB ACCESSING=CUST.DB.PROD

John Krussel
Nordstrom
[log in to unmask]
http://www.nordstrom.com



> -----Original Message-----
> From: Les bureaux de credit du nord [SMTP:[log in to unmask]]
> Sent: Thursday, March 18, 1999 10:08 AM
> To:   [log in to unmask]
> Subject:      VESOFT QUESTION
> 
> 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
> 
>  
> 

ATOM RSS1 RSS2