× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Jack,

The API documentation has this:

*Length of password*
INPUT; BINARY(4)

The length, in bytes, of the password contained in the user profile
password parameter. If optional parameter group 2 is not specified,
a default of 10 is used.

You'll need to use the "optional" parameters if the password is greater than 10 chars

Pete Helgren



Jacktucky wrote:
I'm trying to call QSYSGETPH from a CL. If I test with a password that is
10 characters or less, the code works.


If I try a long password, it fails with incorrect password.


Is there some special way to call that API in CL? The length parm is
correct.


We are using code from iseriestools.com. I just modified the CMD and CLP to
use 128 character length for the password


CALL PGM(QSYGETPH) PARM(&USERID &PASSWORD &HANDLE
&ERRORCODE +

&PWDLEN &CCSID)


Thanks


Jack





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

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.