×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Hi chaps,

Is this right? Are operational descriptors are not passed for arrays?

I have a procedure interface with an array defined as follows:

D pr_MyProc        PI                  opdesc
D  lp_Cli                       10a   const
D  lp_policyNo                   9a   dim(32767) options(*varsize)
D  lp_polCount                   5u 0

I was hoping to determine the length of the passed array without the need for the caller passing in an element count but when I check the length of the second argument (via a call to CEEDOD) I get: CEE0502 - Missing operational descriptor. I put a quick line in to check the first argument and it worked fine.

I have recompiled the caller (which is also a ILE RPG program) and everything else seems right. Are arrays not supported for operational descriptors in ILE RPG?

Cheers

Larry Ducie



This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.