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



On Wed, Jun 13, 2018 at 6:52 PM, Alan Campin <alan0307d@xxxxxxxxx> wrote:
If I am working C# or Java or a host of other languages, do I have a
pre-compiler? No, SQL is native.

The precompiler makes it not native? I think I am even more confused
than Jon about what constitutes "native" here.

RPG needs the same thing. Tight integration, not clunky RPG III program
calls.

I don't know what the SQL support is like in C# or Java, but I would
imagine that Python is included in and representative of that "host of
other languages" you were talking about.

In Python, the SQL statements are not (pre)checked for syntax or
semantics. They are just strings. There is no binding of Python
variables with SQL. You can use prepared SQL with placeholders, but to
me that feels like copying parameters by value into SQL, not
"binding". And the values that are output by SQL just arrive in Python
as a sequence of values, also not bound.

Now, it so happens that I find it supremely easy and convenient to
work with SQL in Python. Much, much easier and more pleasant than in
SQLRPGLE. But I wouldn't call Python's SQL support "more tightly
integrated" than RPG's, and I wouldn't call it "native" at all. It's
certainly "calling some other program" to accomplish the SQL.

I did notice that you made a distinction between (OPM-style) program
calls and DLL calls. I don't see how the precompiler favors one and
precludes the other.

John Y.

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.