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






Below is an email from one of our developers about the problem that we are having.
System is V5R4 with iSeries Access V5R4M0 Service level SI26879.


Some questions:

1) how do we determine the CCSID of the information being passed from the iSeries Access side to the password validation exit point?

2) Is iconv() the correct API to call for translating the information in the buffer, or should we use CDRCVRT?

- sjl
--------------------------

The problem we are having is that when the user executes the CHGPWD command from the command line the password validation program gets executed form exit point QIBM_QSY_VLD_PASSWRD ok and the exit information passed to the validation program is correct.

However, when the user executes the change password function from the Ops Navigator or Client Access interface, the exit information passed to the validation program is corrupted.

IBM's response was to translate the exit information from one ccsid to another before passing it to the validation program.

They recommended using API CDRCVRT but for RPGIV I believe iconv() is more suitably recommended.

The real question in my mind at this point is how can I capture the CCSID of the information being passed from the Client Access interface in order to know what ccsid to translate "from".





From: IBM System i supportSent: Wednesday, January 21, 2009 4:48 PMTo: Chris,Subject: PMR 45908,004,000
Chris,We had a customer about a year ago that ran into this same problem. In this they found that Client Access passes the user id and passwords in unicode ccsids such as 13488 (UCS-2). Green screen uses CCSID 37. This particular customer ended up using the CDRCVRT API to translate. He translates any exit request, even if it is from the green screen. This is working for him.Take a look at the documentation on the CDRCVRT API, you can find it in the infcenter, go to :http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp and search on CDRCVRT.Look this over and let me know how it goes. Don't hesitate to call if you need further assistance.Thanks,Eric
_________________________________________________________________
Windows Live™: E-mail. Chat. Share. Get more ways to connect.
http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_allup_howitworks_012009

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.