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



Since other solutions other than REXX mentioned - I'll add CEERAN0 (that's a
zero at the end of the name..)
which is bindable in RPGLE.

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

I've used it in regulatory reporting where you had to use a documented
random generator and pass a sample test with it.

Jim

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Raul
A Jager W
Sent: Tuesday, July 04, 2017 10:51 AM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: REXX - returning a value

SQL has a random function, also CGIDEV2.


On 07/03/2017 11:30 PM, Booth Martin wrote:
Random generating a 16-digit number: An easy task in Rexx. Or so I
thought. I can not figure out how to return that value to the calling
program. QREXQ seemed the right way but I can not make it happen.

Or is there another way to generate a random number?

I figured there'd be plenty of examples but so far, no luck.



-- Este e-mail fue enviado desde el Mail Server del diario ABC Color --
-- Verificado por Anti-Virus Corporativo Symantec --
--
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.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link:
http://amzn.to/2dEadiD


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.