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



The limit on procedure names is much higher than 15 positions. I'm not
sure of the limit, but I think it is either 64 or 256 characters.
In RPG use an extended name for more than 15 positions.

P MyVeryLongProcedureNameThatIsUniqueInThisProgramAndAllOthers...
P                     B                          EXPORT
D MyVeryLongProcedureNameThatIsUniqueInThisProgramAndAllOthers...
D                     PI
D  parm1                                 10A

Use 3 periods after the name on the D and P specs when you want to have
a name longer than 14 or 15 positions.
In the calc specs if the name needs to be broken across multple lines
(not a good idea!) then you can break the
Name anywhere by using an elipse as well.

C           Eval   MydataField = MyVeryLongProcedureName...
C                     ThatIsUniqueInThisProgramAndAllOthers(CustNo)


Bob Cozzi


> -----Original Message-----
> From: rpg400-l-admin@midrange.com
> [mailto:rpg400-l-admin@midrange.com] On Behalf Of Bartell,
> Aaron L. (TC)
> Sent: Friday, September 27, 2002 4:44 PM
> To: 'rpg400-l@midrange.com'
> Subject: Qualified sub-procedures
>
>
> IBM'ers
>
> I know this has been asked before awhile ago, but what is the
> outlook on getting qualified subprocedure names?  The
> corporation I work for is currently re-writing a vast
> majority of their software and ILE is going to be used
> heavily.  This is a big concern for us because we want to try
> and leverage ILE as much as possible but this has come up as
> a major road block. We are now trying to find ways to make
> our sub-procudures unique in 15 spaces (I think that's how
> many there are in V5R1) but still make them understandable
> and that is next to impossible when designing a large system.
> We have too much knowledge invested in RPG to use a language
> more suited to OO design so switching is for the most part
> out of the question. (even though I wouldn't mind;-)
>
> I put this on my RPG voting ballot as a requested enhancement
> and feel that it is a necessity vs. something that should
> even be voted on.  What is the outlook on something like
> this?  How many others would like this same enhancement?
>
> I can't wait for overloading!!!! (assuming it made the cut;-)
>
> Thanks in advance for any answers you can provide,
> Aaron Bartell
> _______________________________________________
> This is the RPG programming on the AS400 / iSeries (RPG400-L)
> mailing list To post a message email: RPG400-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
> or email: RPG400-L-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/rpg400-l.
>
>
>



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.