I want to have a certain number randomly chosen every time a certain
program runs.
I have this in WORKING-STORAGE:
77 RANDUM PICTURE S9V9(10).
I have this statement:
COMPUTE RANDUM = FUNCTION RANDOM(0).
Every time I run the program the value of RANDUM is the same. If I
change the seed then I get a different number but that is repetitious
also. If I leave off the seed it acts as if the seed was zero.
--
John Culleton, Wexford Press
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
open-cobol-list mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/open-cobol-list