|
Thanks Mark and Rob, What was throwing me was that the error message specifically complained about parameter 2. Had it said something like "Parameters 5 and 6 are required" or " Incorrect number of parameters passed" then I would have headed in a different direction. What I ended up doing was calling the API with all 6 parameters as follows: DCL &Usr *CHAR LEN(10) DCL &Pwd *CHAR LEN(10) DCL &Err *CHAR LEN(1024) DCL VAR(&PH) TYPE(*CHAR) LEN(12) CALL PGM(QSYGETPH) PARM(&USR &PWD &PH &ERR 10 37) We have a 10 character password and use CCSID 37 Worked like a charm! Thanks for your help. Pete Helgren Value Added Software,Inc. 801.581.1154 x202
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.