|
Yes,
Copy the routine locally into the project and modify it to handle
what you need, then
include the local project version....
I have had to do this many times over the years of working with the
400 C / C++
environment. Also, by putting it in the project, a PTF/Release update will
not undo your update/Modification.
JMS..
------------
Jeffrey M. Silberberg
Independent Consultant
CompuDesigns, Inc.
Atlanta. GA.
AS SOON AS I KNOW THE ANSWERS
THEY CHANGE THE QUESTIONS
----- Original Message -----
From: Westdorp, Tom <Tom.Westdorp@StationCasinos.com>
To: <midrange-l@midrange.com>
Sent: Thursday, August 30, 2001 3:21 PM
Subject: Changing qsysinc/h(stdlib)
> If I understand the 'rand' C function correctly, it returns a
pseudo-random
> number limited on the high end by the value set in qsysinc/h(stdlib) as
> follows " #define RAND_MAX 32767".
>
> I have a requirement for a (much) higher max number. In trying to update
I
> find the file is protected from update/add/delete by attribute.
>
> 1. Is it possible to change it to " #define RAND_MAX 524272"
> 2. If so, how?
>
> I'm calling it as an extproc from RPGIV on r510 and will limit the
LoRange -
> HiRange as previously discussed in the archives at midrange.com.
>
> TIA
>
> Tom Westdorp
> Station Casinos
> _______________________________________________
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
> To post a message email: MIDRANGE-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
> or email: MIDRANGE-L-request@midrange.com
> 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 mailing list archive is Copyright 1997-2025 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.