d additionaldata_Template...
d ds qualified based(dummy_ptr)
d data likeds(data_Template) dim(9)
d
d data_Template ds qualified based(dummy_ptr)
d name 32a
d value 32a
*;
My code is as below , my declaration of DS is as above. The second parameter in lookup I coded an array.
Could you please let me know why I am getting this error and how to fix it. Thanks!
Cause . . . . . : The second parameter for built-in function %LOOKUP, %LOOKUPGE, %LOOKUPGT, %LOOKUPLE, or %LOOKUPLT must be the name of an array. In addition, it must be the same type and have the same CCSID as the first parameter. The built-in function is ignored.
Recovery . . . : Correct the second parameter for the built-in function. Compile again
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.