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



I don't think that's quite true, I use subprocedures in CL all the time.
There may be a confusion between a module (an ILE object that is bound to
the program) and an internal in line subprocedure. It's actually called a
subroutine but the same thing happens. In CL you use "CALLSUBR" ,
"SUBR", and "RTNSUBR", or "ENDSUBR".


--
Jim Oberholtzer
Agile Technology Architects


-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Jeff Young
Sent: Wednesday, February 08, 2017 8:22 AM
To: Rational Developer for IBM i / Websphere Development Studio Client for
System i & iSeries
Subject: Re: [WDSCI-L] Slow opening CLP's?

Ken,
This information is very useful, but there is still no support for "inline"
procedures in a CLLE program. They all need to be external.
It would be very useful to be able to define a subprocedure in a CLLE
program that I could call with parms to preform an action without having to
first load the work fields that would be acted on.

Jeff Young
Sr. Programmer Analyst

On Wed, Feb 8, 2017 at 8:23 AM, Ken Killian <kkillian@xxxxxxxxxxxx> wrote:

Short link on Using CL Procedures:
http://www.rpgpgm.com/2015/08/using-cl-procedures.html


Since 5.4, that could run on the discontinued AS400 from Last Century.
CL can do structure programming, such as DO WHILE, DO UNTIL and has
subroutines. The AS400 was last manufacture over 18-years ago. Wow
almost 2-decades!
http://www.ibm.com/support/knowledgecenter/ssw_i5_54/cl/dountil.htm
http://www.ibm.com/support/knowledgecenter/ssw_i5_54/cl/dowhile.htm


There is No Excuses to use "GOTO" in CL programs. Except if you have a
love for spaghetti code!

Of course, the defunct hardware AS400, is INCAPABLE of running a
powerful OS like IBM i 7.1, 7.2, 7.3 or even IBM i 6.1.

The IBM Power system can run OS IBM i 6 & 7 (6.1, 7.1, 7.2, 7.3)

PS. I like to point that out to the punch-card hold outs, who love
discontinued hardware. Just as they remember punch card machine Model
Numbers. Welcome to the 21st Century!


-Ken Killian-

-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Mark
Murphy/STAR BASE Consulting Inc.
Sent: Wednesday, February 8, 2017 7:01 AM
To: Rational Developer for IBM i / Websphere Development Studio Client
for System i & iSeries <wdsci-l@xxxxxxxxxxxx>
Subject: Re: [WDSCI-L] Slow opening CLP's?

Wouldn't that be called sub-procedures? CLLE can do that now!

Mark Murphy
Atlas Data Systems
mmurphy@xxxxxxxxxxxxxxx


-----Roger Harman <roger.harman@xxxxxxxxxxx> wrote: -----
To: "Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries" <wdsci-l@xxxxxxxxxxxx>
From: Roger Harman <roger.harman@xxxxxxxxxxx>
Date: 02/07/2017 04:54PM
Subject: Re: [WDSCI-L] Slow opening CLP's?


I like that thought. I'm inferring something like RDi interpreting a
tag in a standard comment.

Not sure how much investment is going into CL. If CL gets
improvements, I'd prefer things like parameter passing to subroutines and
local variables.

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







From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxx> on behalf of Barbara
Morris < bmorris@xxxxxxxxxx>
Sent: Tuesday, February 7, 2017 7:52 AM
To: wdsci-l@xxxxxxxxxxxx
Subject: Re: [WDSCI-L] Slow opening CLP's?

On 2017-02-03 7:56 PM, Roger Harman wrote:

I'd sure like the ability to insert a tag to tell the parser not to
auto-indent or align.
Of course, the compiler needs to accept it too.

If it was a special form of comment, the compiler wouldn't need to
know about it.

--
Barbara

--
This is the Rational Developer for IBM i / Websphere Development
Studio Client for System i & iSeries (WDSCI-L) mailing list To post a
message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l


WDSCI-L Info Page - midrange.com
lists.midrange.com
WDSCI-L -- Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries : About WDSCI-L

or email: WDSCI-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/wdsci-l.


midrange.com -- WDSCI-L mailing list archive archive.midrange.com
midrange.com WDSCI-L mailing list archive


--
This is the Rational Developer for IBM i / Websphere Development
Studio Client for System i & iSeries (WDSCI-L) mailing list To post a
message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/wdsci-l.
--
This is the Rational Developer for IBM i / Websphere Development
Studio Client for System i & iSeries (WDSCI-L) mailing list To post a
message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/wdsci-l.
--
This is the Rational Developer for IBM i / Websphere Development
Studio Client for System i & iSeries (WDSCI-L) mailing list To post a
message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/wdsci-l.

--
This is the Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries (WDSCI-L) mailing list To post a message
email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list
options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/wdsci-l.


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.