× 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, Feb 24, 2016 at 1:43 PM, Buck Calabro <kc2hiz@xxxxxxxxx> wrote:

On 2/24/2016 11:39 AM, Steve Richter wrote:

Trying to be the candle, I get much of my 'what's new' from this list.
What resources do other people use to stay abreast?



does the title iNext mean there were be useful features added to the core
OS?

What version are you using?


V7R1



CL support for sub procedures

Do you mean CRTCLMOD?
V5R2 has one example:
http://publib.boulder.ibm.com/iseries/v5r2/ic2924/books/c415721506.htm


you mean CALLPRC ? That is ok. Better would be calling the procedure as
you do from RPG FREE. Procedure name, open paren, and then parms and close
paren.

but I meant being able to code procedures in the CL module itself. And
export those procedures. I use SUBR but I need to be able to pass parms to
the subroutine.


and even exported procedures.


right, the CL module can be bound and called from another ILE module. But
better is to have a name longer than 10 characters. I have never found a
use for calling a CL module other than as a PGM.


SQL supported In CL.

Like RUNSQL? Or do you mean that you want CL to become a full HLL with
complete database I/O capabilities? Have you tried ReXX or Python for
that?

use SQL just like it is used in RPG. With substitution variables. And
return variables. I pass an SQL statement to an RPG procedure from CL.
But that is too time consuming to write the code to build the SQL statement.

I understand CL has its domain that it operates in. RPG has its domain. And
SQL procedures also is a domain. Would be good to have all 3 as equal ILE
languages. I am duplicating too much code between SQL procedures and ILE
RPG. Same with CL. Often times I want to call an RPG procedure from CL but
I cannot because the RPG proc has a parm that is varying and CL does not
support such a data type.

-Steve

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.