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


  • Subject: Re: What is the overhead of using system built-in's
  • From: "Mark S. Waterbury" <mark_s_waterbury@xxxxxxxxx>
  • Date: Sat, 4 Aug 2001 01:30:33 -0600

Hello, Njal:

The only "overhead" is the overhead of starting the "wrapper"
ILE *PGM (CBLLE, CLLE, CLE, or RPGLE).  All of these
"built-in" functions generate "in-line" code, wherever possible.
Of course, some MI instructions are like "macro instructions"
in that they do a lot of work, and the code they generate actually
jumps to some routine inside the OS/400 kernel, via the SEPT,
but this would happen even if you write a routine directly in MI
assembler.  So, you are no worse off...

Assuming the "main" application is written in an ILE language,
and you can issue the MI instruction via a "built-in" declaration,
then you can incorporate this directly in your application, and
you should be able to get the "best possible" performance
in this way.

Regards,

Mark S. Waterbury

----- Original Message -----
From: "Njål Fisketjøn" <n.f@figu.no>
To: "MI400@midrange. com" <MI400@midrange.com>
Sent: Friday, August 03, 2001 2:30 PM
Subject: What is the overhead of using system built-in's


> What is the overhead of using system built-in's (e.g. in ILE RPG)
> in stead of MI?
>
> With the ability to run many MI functions directly from any ILE language
> it's tempting to use system built-ins as some kind of "inline MI".
>
> Does anyone know how much this will impact performance?
>
>
> +---
> | This is the MI Programmers Mailing List!
> | To submit a new message, send your mail to MI400@midrange.com.
> | To subscribe to this list send email to MI400-SUB@midrange.com.
> | To unsubscribe from this list send email to MI400-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator:
dr2@cssas400.com
> +---


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

+---
| This is the MI Programmers Mailing List!
| To submit a new message, send your mail to MI400@midrange.com.
| To subscribe to this list send email to MI400-SUB@midrange.com.
| To unsubscribe from this list send email to MI400-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: dr2@cssas400.com
+---

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.