That example, unfortunately, is wrong in so many ways... The one thing they
appear to have gotten right is
"IBM accepts *no *responsibility for its correctness".

Pop quiz to those of you familiar with system APIs. Can you find where four
bytes of storage are corrupted by this simple example? (I will admit that
due to current implementation of the RPG compiler this corruption will most
likely go undetected at run-time, but a compiler implementation change in
the future could toast any program using this example as a model for calling
sysem APIs -- corruption is corruption)

I have provided feedback to IBM on the example.

Bruce Vining
On Tue, Dec 22, 2009 at 2:47 PM, Jack Kingsley <iseriesflorida@xxxxxxxxx>wrote:

Here's an example.


http://www-01.ibm.com/support/docview.wss?uid=nas14ac22f0ba11a4e9686256f0f0055d351

Looks like your getting the 1091222 part.




On Tue, Dec 22, 2009 at 3:38 PM, jim t <jim_t_59@xxxxxxxxx> wrote:

Does anybody have an example of the QSYRUSRI API that returns the Days
Until Password Expires?

I have an RPG program that uses the API but get the following data back:

•èZTECJFTPRF1091222150446*ENABLED jV +B)



Thanks
Jim


__________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr!

http://www.flickr.com/gift/

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


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