|
Rob, RETURN has exactly the same function as ENDPGM. Write ENDPGM, hit F4 and then F1. The help text confirms it. Regards, Luis Rodriguez > > ------------------------------ > > message: 7 > date: Fri, 26 May 2006 14:30:55 -0400 > from: rob@xxxxxxxxx > subject: CL and LR > > If my CL does a return to exit instead of going all the way to ENDPGM > does > that do anything different? Sort of like not setting on LR in an RPG > program? > Since I started using cl subroutines I do > > ... > return > > subr mysubr > ... > endsubr > > endpgm > > Rob Berendt > -- > Group Dekko Services, LLC > Dept 01.073 > PO Box 2000 > Dock 108 > 6928N 400E > Kendallville, IN 46755 > http://www.dekko.com > > ---------------------------- Luis Rodriguez IBM Certified Systems Expert eServer i5 iSeries Technical Solutions
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.