"George Gallen" <[EMAIL PROTECTED]> wrote on 10/11/2005 02:01:52 PM:

> Also, I don't use the OCONV() method with corelatives, I use the
> VAR=RAISE(TRANS(filename,itemname,-1,'x')), which is pretty self
> commenting, of course, that requires you to know what the TRANS()
> keyword does.

I'm still trying to see how this is superior to a READ, which is entirely 
self-documenting and efficient, and doesn't require you to know about how 
TRANS behaves.  I suspect that most programmers would have to look at the 
documentation or a help screen to know why you're doing a RAISE, and what 
the -1 and the 'x' are all about.  Maybe I'm wrong about that.

A line that starts out "VAR=" doesn't immediately say to me, "here's where 
we're doing some I/O".  If I'm searching a program for I/O statements, I'm 
not generally looking for something like this.  There's also the overhead 
of doing the RAISE, which is only there to counteract the behavior of the 
TRANS.  On small records this wouldn't be significant, but if you're 
processing many large records, it could make a difference.

I'm not trying to be difficult here - I'm just trying to see the benefits 
of this alternative to a straightforward and standard approach.


Tim Snyder
Consulting I/T Specialist , U2 Professional Services
North American Lab Services
DB2 Information Management, IBM Software Group
717-545-6403
[EMAIL PROTECTED]
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to