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



Great article!

For the several years, I have been deleting the prototypes for INTERNAL procedures in The code, NOT NEEDED! Less of maintenance overhead headache too!

If I want to see all the "prototypes", I merely look at the outline view with RDI 9.5.0.3!

I only have to maintain the procedure parameters in one place, the Internal Procedure!

Which is great when writing code, you do NOT have to bother to make sure the Prototype & procedure parameters are in synch! Only update the Internal procedures! (Single place to define INTERAL proc parameters)

Of course for Service programs, you still need the copy-book (/include) to the have the prototypes/dcl-pr. Since they are EXTERNAL to the program.



-Ken Killian-

-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Kevin Bucknum
Sent: Friday, May 20, 2016 9:51 AM
To: Rational Developer for IBM i / Websphere Development Studio Client forSystem i & iSeries <wdsci-l@xxxxxxxxxxxx>
Subject: Re: [WDSCI-L] Error in Outline view processing?

Of course Jon and Susan have a great article that explains the changes that went in with 7.1. You don't always need a prototype now.
http://www.ibmsystemsmag.com/ibmi/developer/rpg/prototyping-best-practices/





Kevin Bucknum
Senior Programmer Analyst
MEDDATA/MEDTRON
Tel: 985-893-2550

-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Kurt Anderson
Sent: Friday, May 20, 2016 8:39 AM
To: Rational Developer for IBM i / Websphere Development Studio Client forSystem i & iSeries
Subject: Re: [WDSCI-L] Error in Outline view processing?

I don't have an answer, but I do have a question.
What do you mean by: " internal subprocedure with only a PI"

Are you saying you don't have a dcl-proc and end-proc? (Doesn't compile for me.) Or are you saying that your subprocedure is empty aside from the dcl-pi? (Shows up in outline for me.) Or something else I'm missing entirely.

Thanks,

Kurt Anderson
Lead iSeries Developer – Application Development, Service Delivery Platform

-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Jon Paris
Sent: Wednesday, May 18, 2016 6:18 PM
To: Wdsci-L <wdsci-l@xxxxxxxxxxxx>
Subject: [WDSCI-L] Error in Outline view processing?

Before I go to the trouble of opening a PMR can someone else please confirm this for me to make sure it is not just me.

It seems that when the compiler rules re Prototypes were changed, the code that builds the Outline view was not updated.

If I have an internal subprocedure with only a PI definition then it simply doesn’t appear in the outline view at all. In my case this particular subproc was used as the handler for XML-SAX so I thought that might be the cause - but I have since checked with another ordinary subproc and the result ins the same.

Interestingly the same outline view has also “lost” at least one stand-alone field. It just isn’t there despite being used in a number of places.

P.S. The code compiles just fine.


Jon Paris

www.partner400.com
www.SystemiDeveloper.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.