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



The docs state that the "length of password" fields are lengths measured in *bytes* (not characters!). So perhaps the GUI interfaces are giving you double-byte characters or 16-bit unicode characters? So that there's 2 bytes per character?

Check the CCSID you're receiving...


sjl wrote:
(not sure where this belongs, posted to both RPG400-L and Midrange-L)

Perplexing problem -

(V5R4M0)

We are testing our new password validation program, and have found a difference in the way that the program works when executed via green-screen versus from a GUI panel.

The value of 'length of new password' (and 'length of old password') passed by the exit point to the password validation program doubles when it is executed via the iSeries Access GUI panel for changing the password (via Navigator or when starting a 5250 session, when the password is expired or about to expire).

For example, if I enter a new password of AAAAAAAA on the green screen CHGPWD, the variable LenOFNEW has a value of 8, but if I enter AAAAAAAA on the GUI password change screen, LenOFNEW has a value of 16.

See code example and description of the problem here:
http://code.midrange.com/b5e4e02b63.html

- sjl




As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.