|
Im actually coding the array as 10i0, have you seen the attached file ? I just cant figure out which parameter isnt valid becouse the info provided is not enough. -----Mensaje original----- De: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]En nombre de Barbara Morris Enviado el: jueves, 19 de junio de 2003 19:57 Para: rpg400-l@xxxxxxxxxxxx Asunto: Re: Call Service Program Procedure (QZRUCLSP) API Carlos Kozuszko wrote: > > Im trying to call this API and i keep getting CPF226E Parameter value ain't > valid (that would be my translation to "El valor de un parámetro no era > válido.") > > Maybe the problem is with the fourth parameter that is defined as Array(*) > of Binary(4), i not sure if im prototyping it right.... > If you are defining it as an array of 4B 0, that's the problem. Define them as 10i 0. Binary(4) in the API documentation means 4-byte binary. 4B is 2-byte binary, 4 digits. 10-digit integer (10i) is an exact match for the API type, but RPG's "binary" type would also probably work, but only if defined as 9B. I say "probably" because it depends on whether the values might be bigger than 999999999 (9 9s). _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.