OK, I _might_ be putting my foot in my mouth here, but I'd guess that if I
did 1 million clears of a field using each of these techniques they'd all
perform w/in a couple of seconds of eachother. If I then looked at an "real"
system where a job-run resulted in 1 million clears of a field that job
would run for minutes to hours, so what's a couple of seconds? 

-Walden

------------
Walden H Leverich III
President
Tech Software
(516) 627-3800 x11
(208) 692-3308 eFax
WaldenL@TechSoftInc.com
http://www.TechSoftInc.com 

Quiquid latine dictum sit altum viditur.
(Whatever is said in Latin seems profound.)
 

-----Original Message-----
From: Paul_Miller@TDWH.Co.Uk [mailto:Paul_Miller@TDWH.Co.Uk] 
Sent: Friday, January 10, 2003 5:45 AM
To: mi400@midrange.com
Subject: [MI400] CPU/MI Timings


Newbie again...!

Does anyone know which compiled RPG code is quicker...

So for example is it better to Z-ADD 0 Field or Clear Field or Move 0 Field
or maybe use an Initialise on a data structure, etc.

I am thinking of the cpu time each line will take when compiled. or would
the MI look the same for both...

Paul Miller
TD Waterhouse Bank N.V.
________________________________________
* Exchange Court, Duncombe Street, Leeds, LS1 4AX
+ Paul.Miller@TDWH.Co.Uk
+ Paul@Millennium-Computers.Uk.Com

----------------------------------------------------------------------------
--------------------------------------------------------------------

Notice for email communications.

Confidentiality:  This email and its attachments are intended for the above
named only and may be confidential.  If they have come to you in error you
must take no action based on them, nor must you copy or show them to
anyone; please reply to this email and highlight the error.

Viruses:  Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that in keeping with good
computing practice the recipient should ensure that they are actually
virus-free.

A subsidiary of the Toronto-Dominion Bank, TD Waterhouse Investor Services
(Europe) Ltd is a member of the London Stock Exchange and OFEX and is
regulated by the Financial Services Authority. Registered in England No.
2101863. Registered Office 14/18 Finsbury Square, London EC2A 1DB. VAT
Registered No. 397 1030 51.




_______________________________________________
This is the MI Programming on the AS400 / iSeries (MI400) mailing list
To post a message email: MI400@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo.cgi/mi400
or email: MI400-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/mi400.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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

This mailing list archive is Copyright 1997-2022 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.