Thank Barbara, I'll give that a try.

Pete Helgren
GIAC Secure Software Programmer-Java
AWS Certified Cloud Practitioner
Microsoft Certified: Azure Fundamentals
Twitter - Sys_i_Geek IBM_i_Geek

On 8/8/2022 5:51 PM, Barbara Morris wrote:
On 2022-08-05 12:20 p.m., Pete Helgren wrote:
Working with a PCML call that I *almost* have working....the issue seems to be that one of the parameters is the length of the structure which I am not sure how to calculate/get.  The API being called is:

In this example of calling QSYRUSRI, they call getOutputSize() to get the size of an output parameter.

Assuming getOutputSize() only works with usage="output", maybe you could define another dummy program with the struct defined with usage="output", and get the size of that parameter.

Something like this, a bit kludgy, but maybe it will work ...

  <program name="rnwc0300Size">
    <data name="rnwc" type="struct" struct="rnwc0300"



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

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