Re: [U2] time Verb {Unclassified}

2009-03-11 Thread Anthony W. Youngman
In message 000301c9a111$d8994890$89cbd9...@on.net, Ken Wallis ken_wal...@internode.on.net writes Mike, I'm not sure that is still the way it works. Windows systems may still keep time in localtime, but they have mechanisms to compute UTC or any other localtime from that via the registry.

[U2] OSBWRITE problem

2009-03-11 Thread Charles_Shaffer
I am having a problem with an OSBWRITE statement. We exchange data with Chicago, Japan, the UK, etc. We have worked out a method that we have been using for years withoput problem. On downloads the sender (AS400 or 390) submits a request to run a *nix script on our RedHat server. The script

RE: [U2] OSBWRITE problem

2009-03-11 Thread Larry Hiscock
What are the permissions to all of the directories to the path in which the files reside? The user running the script must have execute permissions on each directory in the path. We do a lot of this sort of thing, via scripts that are started by cron. The only significant difference I can see in

Re: [U2] OSBWRITE NON problem

2009-03-11 Thread Charles_Shaffer
On the other hand, it could be another program downstream clearing the data files nad not the absolute path. Never mind. Charles Shaffer Senior Analyst NTN-Bower Corporation charles_shaf...@ntn-bower.com Sent by: owner-u2-us...@listserver.u2ug.org 03/11/2009 01:56 PM Please respond to

RE: [U2] OSBWRITE problem

2009-03-11 Thread Charles_Shaffer
Thanks Larry, but I was missing a program downstream that was clearing the files. Charles Shaffer Senior Analyst NTN-Bower Corporation --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

[U2] UV Timed INPUT

2009-03-11 Thread Norman, David (Health)
I'm sure I've seen something about this recently, but I've searched the past 2 years with no luck. I want to do a timed INPUT in UV - if after n seconds the Enter key hasn't been pressed, do something. Anyone got any clever ways of doing this ? Thanks, David Norman Senior

Re: [U2] UV Timed INPUT

2009-03-11 Thread Jacques G.
I'm typing this from memory: TM.LIMIT = 5 ;* 5 second time limit DT.START = DATE() TM.START = TIME() LOOP IF INPUT XX,-1 THEN INPUT VAR ELSE TM.PASSED = (DATE() - DT.START) * 86400 TM.PASSED += (TIME() - TM.START) IF TM.PASSED TM.LIMIT THEN EXIT END REPEAT - Original

RE: [U2] UV Timed INPUT

2009-03-11 Thread Bernard Lubin
I think what you are looking for is the INPUTIF statement. We have used this statement for the same type of process. Regards Bernard Lubin -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Norman, David (Health)

Re: [U2] UV Timed INPUT

2009-03-11 Thread Louis Windsor
I think this process will hog the processor. I would imagine you would need a SLEEP' si the loop. Louis - Original Message - From: Jacques G. jacque...@yahoo.com To: u2-users@listserver.u2ug.org Sent: Thursday, March 12, 2009 1:24 PM Subject: Re: [U2] UV Timed INPUT I'm typing