× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thanks, Charles. Good to know (we are still on V5R1 here, but looking to
upgrade soon).

Francis Lapeyre
IS Dept. Programmer/Analyst
Stewart Enterprises, Inc.
E-mail: flapeyre@xxxxxxxx 



-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Wilt, Charles
Sent: Tuesday, November 1, 2005 8:58 AM
To: Midrange Systems Technical Discussion
Subject: RE: CPYF FROMKEY/TOKEY using packed key field

 
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Lapeyre, Francis
Sent: Monday, October 31, 2005 3:22 PM
To: 'Midrange Systems Technical Discussion'
Subject: RE: CPYF FROMKEY/TOKEY using packed key field

Or, as long as you are using SQL, 

DELETE FROM file 

will delete the records using SQL.  Unlike a CPYF, it does not clear the
member, so deleted records are still taking up storage until you reorganize.

<snip>

Note: this is no longer always true at v5r3.

>From the SQL Reference:
"DELETE Performance: An SQL DELETE statement that does not contain a WHERE
clause will delete all rows of a table. In this case, the rows may be
deleted using either a clear operation (if not running under commitment
control) or a change file operation (if running under commitment control).
If running under commitment control, the deletes can still be committed or
rolled back. This implementation will be much faster than individually
deleting each row, but individual journal entries for each row will not be
recorded in the journal."

Some limitations apply, check the manual for more info.

HTH,

Charles

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.