|
Hi Jerry,I assume you meant the USEDATE parm of the RTVOBJD command (I don't know what the RTVOBJA cmd is). And you're compiling the CLLE subproc as a module and using the CRTPGM command to bind it with the RPGLE program. And in the RPGLE pgm you prototyped the call to the CLLE subproc. What does the prototype look like? Does it expect a returned value, or are you using one of the parameters to get the returned value?
Keep in mind that parameters passed to CL should be by reference, not by value (i.e. either use the CONST keyword or nothing - do not use the VALUE keyword). And if you were trying to pass a 1-byte parm there would be additional considerations, but the date in question should be 7A, right?
*Peter Dow* / Dow Software Services, Inc. 909 793-9050 pdow@xxxxxxxxxxxxxxx <mailto:pdow@xxxxxxxxxxxxxxx> / GKern@xxxxxxxxxxxxxxxx wrote:
I have a CLLE subproc that's only function is to used the passed library & object values in an attempt to return the 7 byte (Char) value for date last used via RTVOBJA.I'm calling the CLLE subproc from an RPG program. Problem is that the value being returned is garbage. Even in debug of the CLLE (when called from the RPG), the LASTUSE return value always appears blank, even though the object does have a valid date last used attribute.I know there are restrictions as to where you can use RTVOBJA but I had hoped that by using a subproc to a clle that I could return the date last used.What am I missing? Thanks! Regards, Jerry Gerald Kern - MIS Project Leader Lotus Notes/Domino Administrator IBM Certified RPG IV Developer The Toledo Clinic, Inc. 4235 Secor Road Toledo, OH 43623-4299 Phone 419-479-5535 gkern@xxxxxxxxxxxxxxxxThis e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized use, disclosure or distribution is prohibited. If you are not the intended recipient, please inform the sender by reply e-mail and destroy this and all copies of this message.
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.