[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of John Jenkins
Sent: Tuesday, May 29, 2007 2:35 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] [BB] U2 Enhancement Request - WRITE
And of course:
If you are using EDA to select/read/write/insert/update (sapristi spon:
shades of ACLs) data in a U2
Martin Phillips wrote:
When I teach U2 programming courses, I suggest that the ON ERROR
clause is almost useless to most applications. I get very annoyed when
I see live applications the have something like
WRITE REC TO FVAR, ID ON ERROR ABORT Write failed as this message
is significantly
Hi Keith,
It seems to me this should have been addressed years ago - wasn't the
Spectrum Manfacturers' thing a waste of space? IBM, holding 2 big
cards at the multivalue game, ought to be taking a lead on this, but
they'll probably leave it to Martin
I haven't been following this thread too
:09
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] [BB] U2 Enhancement Request - WRITE
What is less obvious to most developers is that ON ERROR might just be
useful on a DELETE too as it is technically possible to run out of disk
space while deleting a record. (How? Think about a dynamic file
It's always annoyed me that WRITE permissions were not handled better.
Even under R83, one could set up a file with a user able to read, but
not write to it (file definition attributes 5 and 6, I think?). If a
WRITE was encountered and the permission was not correct, the program
would just crash
There is, of course, the -W compiler switch that does exactly that. Well,
warns that there is a dangling ELSE associated with a WRITE.
- Original Message -
From: Brian Leach [EMAIL PROTECTED]
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] [BB] U2 Enhancement Request - WRITE
Taylor [mailto:[EMAIL PROTECTED]
Sent: 23 May 2007 21:08
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] [BB] U2 Enhancement Request - WRITE
Be wary of ON ERROR. There are a few conditions under which ON ERROR is not
taken where I really think it should and some anomalous return values from
I personally wouldn't want that much 'power' in the write command.
Wouldn't the overhead be too intense for some of our older platforms?
Karl
quote who=Susan Joslyn
When a BASIC program in either U2 flavor attempts a write to a file that
cannot be written to the program bombs completely out to
UD:
WRITE expr {ON|TO} [file.var,] record.ID.expr [ONERROR]
UV:
WRITE[U] expression {ON | TO} [file.variable,] record.ID
[ON ERROR statements] [LOCKED statements]
[THEN statements] [ELSE statements]
Susan Joslyn wrote:
When a BASIC program in either U2 flavor attempts a write to a file that
How about variations on the OPEN statement so one could check for the
needed permissions up front:
OPENR - open for read only
OPENW - open for write only
OPENRW - open for read write
(OPEN - same as today for backward compatibility)
the ELSE clause would taken if you don't have the
Susan Joslyn wrote:
When a BASIC program in either U2 flavor attempts a write to a file that
cannot
be written to the program bombs completely out to TCL and no information
is
given about the file, nor about the specifics (is it the owner, the
group,
the RWX permissions?).
I don't know
Like anyone could ever know that!
Thanks,
Nick Cipollina
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Karen Bessel
Sent: Wednesday, May 23, 2007 1:11 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] [BB] U2 Enhancement Request - WRITE
Use
: Wednesday, May 23, 2007 2:48 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] [BB] U2 Enhancement Request - WRITE
Like anyone could ever know that!
Thanks,
Nick Cipollina
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Karen Bessel
Sent: Wednesday, May
@listserver.u2ug.org
Subject: RE: [U2] [BB] U2 Enhancement Request - WRITE
Well, I would hope that you would know that, Mr. UniBasic Smarty-Pants
Who Thinks He's So Smart
And by the way it's could EVEN know that, not could EVER know that.
Gosh!
-Original Message-
From: [EMAIL PROTECTED]
[mailto
@listserver.u2ug.org
Subject: RE: [U2] [BB] U2 Enhancement Request - WRITE
Well, I would hope that you would know that, Mr. UniBasic Smarty-Pants
Who Thinks He's So Smart
And by the way it's could EVEN know that, not could EVER know that.
Gosh!
-Original Message-
From: [EMAIL
www.zirmed.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Cipollina
Sent: Wednesday, May 23, 2007 2:48 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] [BB] U2 Enhancement Request - WRITE
Like anyone could ever know that!
Thanks,
Nick Cipollina
Bill;
It *should* be checked on the write. From the time it's opened to the
time the write occurs circumstances might well have changed. For
example, a long running processes (like our overnight run) can start and
open files which are fine. As it runs the O/S backup routine starts to
run and
PROTECTED] On Behalf Of Nick Cipollina
Sent: Wednesday, May 23, 2007 1:59 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] [BB] U2 Enhancement Request - WRITE
Time Outed? What? What, are you in first grade?
Gosh!
You gonna eat your tots?
Thanks,
Nick Cipollina
-Original Message
18 matches
Mail list logo