|
Because, Elvis, you can have the same function name, in the same library, multiple times. A function is not the same as an object. A poor comparison would be a CRTPGM that created a program XYZ in library MYLIB. Now suppose you could create multiple programs called XYZ in the same library, but with different parameters. If XYZ already existed, it would create one called XYZ001. However it would call the right XYZ based on what parameters you passed it. If you passed it alphanumeric parameters it might call XYZ001, numeric XYZ002, 15 digit numeric XYZ003 and so on. Now, if you do a DLTPGM XYZ and there's only one, no problem. But if you do a DLTPGM XYZ and there's multiples, it gets confused. Which one do you really mean: XYZ001, XYZ002...? So, that's where DROP SPECIFIC comes into play. Either do the SELECT * FROM SYSFUNCS... or use iSeries Navigator to look at the library for functions. Even though there is no physical function object in the library, iSeries Navigator will do a nice job of breaking down SYSFUNCS and show you what's in that library. Rob Berendt
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.