I am trying to call a well-established RPG procedure (function) from a CLLE program. I call this all the time from RPGLE.
When executing the CLLE pgm, I get "Length of varying length variable is out of range"
The ILE RPG procedure is defined as follows:
P Ast_GetRf B Export Procedure to Get
D Ast_GetRf pi 800a Reference File Data
D incat 4a Const Input Category
D inslc 16a Varying Const Input Selection
I've tried all different iterations within the CL pgm. I don't do this very often... so I know I'm missing something.
The CLLE looks like this:
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.