×

Good News Everybody!

The new search engine is LIVE!

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




That works because you are using small numbers. In RPGLE it should be
defined as 10U 0 for true unsigned binary. Large numbers that turn on
the high order bit become negative and cause all sorts of issues.


Chris Bipes
Director of I.S.
CrossCheck, Inc.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Francis Lapeyre
Sent: Friday, December 21, 2007 11:39 AM
To: Midrange Systems Technical Discussion
Subject: Re: Question about QSYGETPH and long passwords

In RPG IV, code the length as a 10-byte integer (10I 0), instead of
binary.
This is one of those things that confuses the heck out of first-time API
users. I know it doesn't sound like it will work, but trust us, it will
;)

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.