× 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.



For 20k-30k records, more time has been spent on this thread than will be used in the next ??? years of running this process.

Roger Harman
COMMON Certified Application Developer - ILE RPG on IBM i on Power

 

From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxx> on behalf of Peter Dow <petercdow@xxxxxxxxx>
Sent: Friday, October 20, 2017 12:46 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: Questionable practice in file handling in CL
 
I've done something similar to speed up processing -- instead of
deleting the logical files, simply remove the logical file members and
add them after reloading the physical. With today's hardware, you'd
probably need a lot more then 20-30K records to see the difference.

--
*Peter Dow* /
Dow Software Services, Inc.
909 793-9050
petercdow@xxxxxxxxx <mailto:petercdow@xxxxxxxxx>
pdow@xxxxxxxxxxxxxx <mailto:pdow@xxxxxxxxxxxxxx> /


On 10/20/2017 11:39 AM, Duane Scott wrote:
I'm looking at a CL that:

    1.  deletes the 6 logicals on a single physical file
    2.  deletes the physical file
    3.  recreates the physical from the DDS
    4.  runs an RPG program that writes (20k to 30k) records to the physical
    5.  recreates the 6 logicals

The only explanation I can come up with is that it once was thought that the system would be faster if the logicals were built one at a time after the physical was built rather than during the running of the RPG program.

Does anybody have stats to back this up.

I think it's not needed and that a CLRPFM on the physical is all that would be necessary and allow each logical to remain during the run of the RPG build program.

Duane

CONFIDENTIALITY NOTICE: This electronic message transmission is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. If you have received this transmission, but are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this information is strictly prohibited. If you have received this e-mail in error, please contact NALC Health Benefit Plan at 703-729-4677 and delete and destroy the original message and all copies.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.