Unconfigured Ad Widget

Collapse

_GENUUID API Alphanumeric Random String Question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • iseriesmohan
    Junior Member
    • Jul 2024
    • 2

    _GENUUID API Alphanumeric Random String Question

    Hello, I need to a generate a random string of 6 bytes. How can i ensure that the random string i get each time, has never been supplied to my program before ?
    I do not see any parameters on the _GENUUID API. Would you recommend anything else ?
  • Terry Winchester
    Senior Member
    • Dec 2007
    • 152

    #2
    A simple solution would be to store each string returned from the API in a physical file. Then check to see if it exists after a call to the API and if found, call the API again...

    Comment

    • iseriesmohan
      Junior Member
      • Jul 2024
      • 2

      #3
      Thank you Terry

      Comment

      Working...
      X