|
As long as it is compilable as it is written, you can use CALL 'PROCNAME'. If it is not compilable, then I believe you have to use the copy. Elonna Thompson CHCS Services, Inc. Information Technologies 850-432-1700 x2204 THarteau@felkerbr others.com To: rpg400-l@midrange.com Sent by: cc: rpg400-l-admin@mi Subject: ILE Question drange.com 06/07/02 10:59 AM Please respond to rpg400-l Hi, I have a section of code I have to write that will be used in several programs. Great chance to try ILE! I took a deep breath and broke out the books. I don't want to use bind by copy because some of the compare criteria I will be using can change. My question is, can I just write a subprocedure, then within an IF statement use a prototyped call to get the value I need? Or do I need to put the subprocedure into a service program? Does any bound by reference procedure need to be in a service program? Thanks. <===================================================> Terri Harteau Felker Brothers Corp. **************** "There's no point in being grown up if you can't be childish sometimes." - Dr. Who **************** _______________________________________________ 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 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.