|
I have a procedure that returns a 1A value and is called by a CL. The CL's
variable is defined as *CHAR and LEN(1). The procedure prototype does not
have ExtProc(*CL). So, why is the program working? I've debugged it and
saw that it is getting the correct value.
I went in and changed the variable in CL to be 2 bytes, per a number of
postings I found on the web as a workaround, and instead of getting 'junk'
in the 2nd position of the CL variable, I get it in the first. Which seems
to be the opposite of what the various sites say to do.
One site example:
http://www.itjungle.com/mgo/mgo011003-story01.html
So now I'm left wondering, is ExtProc(*CL) no longer required for 1-byte
return variables on procedures that will be called by CL in IBM i 7.1? If
so, very cool. If not, I'm baffled.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.