Unconfigured Ad Widget

Collapse

Announcement

Collapse
No announcement yet.

Generation of aleatory numbers

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Generation of aleatory numbers

    Eugenia wrote: > Hello, I would like to know if there exists a function or a program > for generating aleatory numbers with the purpose to grant no > dupliactes for a field in a file, and if so, would you please send me > the CL or RPG code for doing it. Thank you. Eugenia, Are you looking for logic that will generate random numbers in order to access random records in a file, or are you looking to generate random numbers in order to populate a field's value? Bill

  • #2
    Generation of aleatory numbers

    I don't have the ol' Calculus book available, but here is a place to start: http://en.wikipedia.org/wiki/Aleatory_variable

    UNDERSTANDING AND CALCULATING THE ODDS.pdf

    Comment


    • #3
      Generation of aleatory numbers

      Hello, I would like to know if there exists a function or a program for generating aleatory numbers with the purpose to grant no dupliactes for a field in a file, and if so, would you please send me the CL or RPG code for doing it. Thank you. Eugenia Echeverry email: gestion.entsoft@gmail.com

      Comment


      • #4
        Generation of aleatory numbers

        This is an example with Generate Pseudorandom Numbers (Qc3GenPRNs) API.

        Comment

        Working...
        X