|
>> Realizing that there is no free form version of *entry plist, is there a way to create another type of parameter interface that CLLE could use? Yup - use a PI (procedure interface) to replace the *Entry PList. The following is a slightly modified version of a PI/PR combo that has appeared a few times on the list today. I've lost track of whose code it was! D getlast pr extpgm('PRR353') d like(ssno) d like(last) D getlast pi d ssnox like(ssno) d best like(last) The important thing is to make sure that the EXTPGM keyword is specified and points to the actual program name. Using a different name on the prototype means you can have a more meaningful name than PRR353 on an RPG CallP. Since CL doesn't understand protos, it doesn't help when you call from CL but .... Jon Paris Partner400
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.