|
What you have there is called a user defined function. As near as I can tell, these cannot be executed directly but must be part of a "Select" statement. Am I mistaken? If not, how do I do this? Thanks. Donald R. Fisher, III Project Manager Roomstore Furniture Company (804) 784-7600 extension 2124 DFisher@xxxxxxxxxxxxx <clip> stored procedures do work with service programs: Create function mkrfxil2s( InCent decimal(2,0), InYr decimal(2,0), InSsn char(2), InBrand char(1), InMdm char(2), InItmnu char(4)) returns char(256) external name 'LIBRARY/SRVPGM(PROCEDURENAME)' Language RPGLE <clip>
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.