×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




What version of the OS are you on? Is it V5R4? Or earlier? I'm going to take a shot at being Scoot K for a bit - you have integer arguments for this API, you probably can't use it in CL before V5R4. So make an RPGLE module and bind it to your CL.

Vern

At 06:48 PM 12/20/2007, you 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







--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


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-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.