Re: [U2] OT: Monitoring Program: Can This Be Done?

2013-06-28 Thread Schalk van Zyl


We set an AUTOLOGOUT as soon as the user enters the menu program, and if 
he/she sits there for more than 30 minutes, the session will be terminated.
But as soon as the user has made a selection and exits the menu, we 
cancel the AUTOLOGOUT and send the user off to the selected procedure - 
this ensures that we only log sessions out when they are not actively busy.


Schalk van Zyl.


John Hester wrote:

We have AUTOLOGOUT in every user's VOC entry.  It doesn't result in a
clean exit from whatever they're sitting in, but the vast majority of
our programs are written well enough that either a transaction will get
rolled back or things won't be left in a partially done state.  There
are some exceptions, and I handle those with cleanup code executed by
the UV ON.EXIT VOC entry that always gets executed when a session
terminates.  That works well provided you know what might need to be
cleaned up 100% of the time.

-John




Disclaimer added by CodeTwo Exchange Rules 2010 
http://www.codetwo.com  


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Adrian Overs
Sent: Wednesday, June 26, 2013 2:42 PM
To: U2 Users List
Subject: Re: [U2] OT: Monitoring Program: Can This Be Done?

Have you thought of using AUTOLOGOUT in your VOC LOGIN paragraph. 
AUTOLOGOUT nn - where nn is a number of minutes Or AUTOLOGOUT 0 to turn

it off

HTH - Adrian

Sent from my iPhone

On 27/06/2013, at 7:22, Al DeWitt adew...@stylmark.com wrote:

Tried sending this to sbsolutions but it didn't appear  to get there so
I'll try here in hopes some of you are using SB+/SBClient

We are having an issue where we are using all of our licenses by midday.

Our current procedure is to send out a broadcast e-mail asking those who
are not using the application to log off SBClient.

We believe that what is happening is that certain PCs on the shop floor
have SBClient started; some activity recorded and then the user walks
away from the workstation leaving the particular screen open.

I have been asked to inquire if there is a way I can write a C# program
to be installed on certain (shop floor) PCs to log SBClient activity
(keystrokes?) with a timestamp.  This program would then read the last
activity timestamp, compare it to the current time and if the interim is
greater than a certain number of minutes execute a series of Escape
strokes to back the app out to the close screen and thus free up
licenses.

Has anybody attempted this?  If so can you share what you did?

Thanks.

Albert DeWitt, CPIM
Sr. Programmer Analyst

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
.

  


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] UV - date last installed

2011-02-03 Thread Schalk van Zyl
How can I determine the date of the last installation of UV (the date it 
was last loaded/reloaded).


Schalk van Zyl

Schalk van Zyl
GWK Beperk
Tel+2753 298 8231
Fax+2753 298 2445
Mobile


Hierdie e-pos en sy inhoud is onderhewig aan 'n regskennisgewing oor 
elektroniese pos wat gelees kan word by  
http://www.gwk.co.za/DisclaimerVrywaring.asp






.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Sequential Files Question

2010-09-09 Thread Schalk van Zyl

We use:
OPENSEQ FNAME TO FHANDLE ELSE CREATE FHANDLE ELSE STOP

Schalk van Zyl


Al DeWitt wrote:

I GET THE FOLLOWING MESSAGE [FATAL ERROR: - Cannot open file
C:\OUTPUT\APCHECKS1002] and I'm sent to the colon prompt. 



Al DeWitt



Schalk van Zyl
GWK Beperk
Tel+2753 298 8231
Fax+2753 298 2445
Mobile


Hierdie e-pos en sy inhoud is onderhewig aan 'n regskennisgewing oor 
elektroniese pos wat gelees kan word by  
http://www.gwk.co.za/DisclaimerVrywaring.asp






. -Original Message-

From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan McGrath
Sent: Wednesday, September 08, 2010 7:20 PM
To: U2 Users List
Subject: Re: [U2] Sequential Files Question

If you run this code:

OPENSEQ FNAME TO OUTFILE ON ERROR
   STOP 'FATAL ERROR: - Cannot open file ':FNAME END THEN
   STOP 'FATAL ERROR: - Already exiting file called: ':FNAME END ELSE
   CRT FILE OPEN SUCCEEDED!
   WRITESEQ Dummy data ON OUTFILE THEN NULL END

What happens?


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Al DeWitt
Sent: Thursday, September 09, 2010 10:03 AM
To: U2 Users List
Subject: Re: [U2] Sequential Files Question

I forgot to mention that I'm on Windows.

My output path is: C:\OUTPUT\
My file name isAPCHECKS where is a counter that gets incremented
each time the program is run.

FNAME would be C:\OUTPUT\APCHECKS so that my statement would read:
OPENSEQ FNAME TO OUTFILE...

However, since APCHECKS would be unique each time it doesn't exist.


BTW when I try to display OUTFILE it gives me an Unitialized Variable,
zero assumed error.

Al DeWitt

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan McGrath
Sent: Wednesday, September 08, 2010 6:29 PM
To: U2 Users List
Subject: Re: [U2] Sequential Files Question

Yes, it will. 


Note: It will drop into the 'ELSE' clause if the file didn't exist to
start with.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Al DeWitt
Sent: Thursday, September 09, 2010 8:55 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] Sequential Files Question

Unidata 7.1.20
 
I've never dealt with sequential files, but I have a need to output

records to a text file.  Each record will be a series of fixed-length
fields.  Each file will need to be created at the time of opening.  The
destination will be a Windows folder on one of our servers.  I will be
using OPENSEQ to open the file.  However, since each file needs to be
created at time of opening what do I use to create the file?  My reading
of OPENSEQ doesn't indicate that it will create it automatically if it
doesn't exist.
 
Thanks.
 
Al DeWitt
 
 
___

U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__

###
The information transmitted in this message and attachments (if any) is
intended only for the person or entity to which it is addressed. The
message may contain confidential and/or privileged material.  Any
review, retransmission, dissemination or other use of or taking of any
action in reliance upon this information by persons or entities other
than the intended recipient is prohibited.  If you received this in
error, please contact the sender and delete the material from any
computer.

The intended recipient of this e-mail may only use, reproduce, disclose
or distribute the information contained in this e-mail and any attached
files with the permission of IMB.

###
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__

###
The information transmitted in this message and attachments (if any) is
intended only for the person or entity to which it is addressed. The
message may contain confidential

Re: [U2] Dymanic vs Dimensioned

2005-05-18 Thread Schalk van Zyl
Wow, Noah! - you MUST be old!


On Wed, 2005-05-18 at 06:25 -0400, [EMAIL PROTECTED] wrote:
 Gyle,
  
 64KB?  ROTFLMAO! The first Microdata machine I worked on had 16KB, and  ran a 
 medical billing service bureau. It had 1 50MB disk drive and ran as slow  as 
 molasses. I ran into the same machine many years later in a tech college  
 museum. I verified the serial number to be sure. Ouch, the bones are feeling 
 old  
 today.  ;^)
  
 Regards,
 Charlie Noah



-
GWK BEPERK/LIMITED (REG: 1997/022252/06)
POSBUS 47 PO BOX 8730
DOUGLAS

Direkteure/Directors: NB Jacobs, FJ Lawrence, J v/d S Botes,
JH Coetzee, JGD Smit, JF Jacobs, AO M|ller, JW Smit,
WG M|lke, JG Stander, JH van Dyk(MD/BD), JG Jacobs, A M|ller,
M van Zyl, Sekr/Secr: HA Nolte.


Hierdie e-pos is onderworpe aan `n vrywaring beskikbaar by:
http://www.gwk.co.za/DisclaimerVrywaring.asp
This e-mail is subjected to the disclaimer that can be viewed at:
http://www.gwk.co.za/DisclaimerVrywaring.asp
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] UV: Select statement problem

2005-01-12 Thread Schalk van Zyl
Any active Index? Indices up to date on both boxes?

Schalk van Zyl

On Wed, 12 Jan 2005 13:45:13 -0500, Dianne Ackerman [EMAIL PROTECTED] 
wrote:

 Is it possible that the UV accounts you're running on are different 
 flavors?  SELECTs in different flavors definitely work differently.
 -Dianne

 [EMAIL PROTECTED] wrote:

 I have come across a problem with select statements behaving differently
 between my two RISC boxes.

 I have two RS6000 machines : one for production and the other for
 development.

 Both UV 10.0.14 and AIX 5.2

 While testing a program change on the development box, I came across a
 situation where a SELECT statement gave me different results when 
 compared
 to production.  To get around this, I had to break up the SELECT 
 statement
 into two parts.

 My question is: Is there a setting somewhere that is not in synch 
 between
 production and development machines that could cause this. If so, what?

 Please accept the fact that the contents of the SELECT statement are 
 good
 (I'd rather not  explain the definitions of the dictionary items or the
 contents of the phrase PHRASE



 0117:   STATEMENT = 'SELECT DB.PSES WITH SUB.ID = ':ACTUAL.ID:' 
 AND
 WITH  TRANS.DT =  AND WITH ISSUE.DT = ':ISSUE.DT:' AND WITH 
 ACCOUNT #
 600 AND WITH ACCOUNT # 506 AND WITH @ID UNLIKE DEL... ':PHRASE

 0118:   STATEMENT:[EMAIL PROTECTED]:SAVE.LIST 
 PSES.TAPE.:ISSUE.DT:.:SUB.ID

 0119:   EXECUTE STATEMENT

 0 record(s) selected to SELECT list #0.

 0 record(s) SAVEd to SELECT list PSES.TAPE.03/31/02.M.


 This does work:


 0117:   STATEMENT = 'SELECT DB.PSES WITH SUB.ID = ':ACTUAL.ID:' 
 AND
 WITH  TRANS.DT =  AND WITH ISSUE.DT = ':ISSUE.DT:''

 0118: STATEMENT:[EMAIL PROTECTED]:'SELECT DB.PSES  WITH ACCOUNT # 600 AND 
 WITH 
 ACCOUNT #
 506   AND WITH @ID UNLIKE DEL... ':PHRASE:' SELECT.ONLY'

 0119:   STATEMENT:[EMAIL PROTECTED]:SAVE.LIST 
 PSES.TAPE.:ISSUE.DT:.:SUB.ID

 0120:   EXECUTE STATEMENT

 265 record(s) selected to SELECT list #0.

 265 record(s) selected to SELECT list #0.

 265 record(s) SAVEd to SELECT list PSES.TAPE.03/31/02.M.


 On my production machine, the first statement works and yields the same
 results as the second statement from development


 Thanks

 Jim
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/




-- 
Schalk van Zyl

-
GWK BEPERK/LIMITED (REG: 1997/022252/06)
POSBUS 47 PO BOX 8730
DOUGLAS

Direkteure/Directors: NB Jacobs, FJ Lawrence, J v/d S Botes,
JH Coetzee, JGD Smit, JF Jacobs, AO M|ller, JW Smit,
WG M|lke, JG Stander, JH van Dyk(MD/BD), JG Jacobs, A M|ller, M van Zyl, 
Sekr/Secr: E van Niekerk.

Hierdie e-pos is onderworpe aan 'n vrywaring beskikbaar by:
http://www.gwk.co.za/DisclaimerVrywaring.asp
This e-mail is subjected to the disclaimer that can be viewed at:
http://www.gwk.co.za/DisclaimerVrywaring.asp
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] UV wish list

2004-11-18 Thread Schalk van Zyl
Will,

But your wish had been true all the way!
I do it .  I am telnet(ting) from a Linux-box to the host AIX-box and UV 
10.1
Up and down arrows works, and I can go through the stack and enter on any 
one
(or change any and then enter)

Schalk van Zyl


On Wed, 17 Nov 2004 16:11:18 -0500, [EMAIL PROTECTED] wrote:

 I'd really love to be able to use the ^ and v arrows to scroll through
  my command stack, like in bash. I keep hitting ^ instead of .x!!

 My TCL stacker can be modified in any way you wish including use of 
 arrow keys.
 Will Johnson
 ---
 u2-users mailing list
 [EMAIL PROTECTED]
 To unsubscribe please visit http://listserver.u2ug.org/




-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

-
GWK BEPERK/LIMITED (REG: 1997/022252/06)
POSBUS 47 PO BOX 8730
DOUGLAS

Direkteure/Directors: NB Jacobs, FJ Lawrence, J v/d S Botes,
JH Coetzee, JGD Smit, JF Jacobs, AO M|ller, JW Smit,
WG M|lke, JG Stander, JH van Dyk(MD/BD), JG Jacobs, A M|ller, M van Zyl, 
Sekr/Secr: E van Niekerk.

Hierdie e-pos is onderworpe aan 'n vrywaring beskikbaar by:
http://www.gwk.co.za/DisclaimerVrywaring.asp
This e-mail is subjected to the disclaimer that can be viewed at:
http://www.gwk.co.za/DisclaimerVrywaring.asp
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Universe/AIX Spooler Management

2004-07-29 Thread Schalk van Zyl
Is this double talk or what?


On Thu, 29 Jul 2004 07:54:33 -0700 (PDT), Louis [EMAIL PROTECTED] wrote:

 Does a user need administrator privileges (su/root) in order to manage 
 all spool entries in the system?
 Does a user need administrator privileges (su/root) in order to manage 
 all spool entries in the system?

 We would like to have our tech person handle all spooler matters, but we 
 don't want to give him administrator rights.

 Please advice on the best way to handle this.

 Thanks again.
 We would like to have our tech person handle all spooler matters, but we 
 don't want to give him administrator rights.

 Please advice on the best way to handle this.

 Thanks again.

 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around
 http://mail.yahoo.com
 ---
 u2-users mailing list
 [EMAIL PROTECTED]
 To unsubscribe please visit http://listserver.u2ug.org/




-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

-
GWK BEPERK/LIMITED (REG: 1997/022252/06)
POSBUS 47 PO BOX 8730
DOUGLAS

Direkteure/Directors: NB Jacobs, FJ Lawrence, J v/d S Botes,
JH Coetzee, JGD Smit, JF Jacobs, AO M|ller, JW Smit,
JP Snyman, JG Stander, JH van Dyk(MD/BD), JG Jacobs, A M|ller, M van Zyl, Sekr/Secr: E 
van Niekerk.

Hierdie e-pos is onderworpe aan 'n vrywaring beskikbaar by:
http://www.gwk.co.za/DisclaimerVrywaring.asp
This e-mail is subjected to the disclaimer that can be viewed at:
http://www.gwk.co.za/DisclaimerVrywaring.asp
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/