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



Doug

It's not useful in CL, although it could be called. CL
does not have floating point. It needs to be ILE, in any
case.

pgm

dcl &seed *char 4
dcl &randno *char 8

chgvar &seed x'00000000'
callprc 'CEERAN0' (&seed &randno)

endpgm

The CEE service program is automatically bound into any
ILE program, so it ought to be easy in RPGLE. &seed is 4-
byte binary (signed) and &randno is 8-byte floating
point (double?).
>
>  Would some one want to post sample code (RPG or CL) for the API CEERAN0?
>
>  ---
> Doug Hart


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.