I believe this will work for you in D3:  IF ASSIGNED(FILEVAR) . . .
where FILEVAR is the file handle variable used in the OPEN statement

Rick Ramsey
Healthpac Cumputer Systems
Savannah,  GA

-----Original Message-----
From: Allen E. Elwood (CA) [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 31, 2004 5:39 PM
To: [EMAIL PROTECTED]
Subject: [U2] [PICK] File handle opened?


I've done this in U2 before, but in a Raining Data Pick Env, does anyone
know how to interrogate a file handle to see if it has been properly
opened?

I'm writing a LOCK.RECORD subroutine with all kinds of nifty options and
it
would be nice to be able to not blow out to debugger if a handle is not
opened.  Even the ON ERROR clause will not stop it from blowing out if
the
file is unopened and you try to read, or if the file is opened and you
do
any BUT a file operation.

Thanks!
Allen
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to