One issue to look at when dealing with files in CL is the
performance. The performance of the file I/O in RPG is better than the
performance of file I/O in CL. It may be beneficial to use an RPG program
to manipulate records instead of CL.
Just a thought.........
_________________________________
Mike Silvers Hainey Business Systems 8 E. Canal
St Dover, PA 17315 Phone: (800)
932-3380 Http:\\www.hbs-inc.com Fax: (717) 292-9474 Branch
Office: (410) 397-8739 _________________________________
----- Original Message -----
Sent: Wednesday, August 30, 2000 2:27
PM
Subject: Re: Re(2): Re(2): File in CL
Program
Hi Mike,
While I don't know of anyway to do the
equivalent of a CHAIN in CL either, you can use the OVRDBF command with the
POSITION parameter prior to the initial RCVF to effectively do a SETLL. It
works best with character key fields -- anything else can get
tricky.
Regards,
Peter Dow Dow Software Services, Inc. 909
425-0194 voice 909 425-0196 fax
From: Mike Naughton <mnaughton@juddwire.com> >
end-of-file. AFAIK, the only thing you can do with "pure" CL is to
read > records sequentially -- there is no way to read a specific record
by key > or record number (or add, update, or delete records) without
going > "beyond" CL as others have described in their postings. . .
.
> +--- > | This is the RPG/400 Mailing List! > | To
submit a new message, send your mail to RPG400-L@midrange.com. > | To
subscribe to this list send email to RPG400-L-SUB@midrange.com. >
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. >
| Questions should be directed to the list owner/operator: david@midrange.com >
+---
_________________________________________________________ Do
You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
+--- | This
is the RPG/400 Mailing List! | To submit a new message, send your mail to
RPG400-L@midrange.com. | To
subscribe to this list send email to RPG400-L-SUB@midrange.com. | To
unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. |
Questions should be directed to the list owner/operator: david@midrange.com +---
|