@Peter do you mean alphanumeric (A-Z, 0-9) or do you mean "any bit combination 00 to FF"? I read it as "any bits" but you did say alphanumeric.
If you mean alphanumeric then you need a table of the 36 or 62 or whatever characters comprise your set. Then take my method, generate a number 0 to 35 or 61, and use it to index into the table, and store that in each character position. Alphanumeric guaranteed. Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Paul Gilmartin Sent: Friday, March 19, 2021 11:58 AM To: [email protected] Subject: Re: Contents of TOD Programmable Field under z/OS? On Fri, 19 Mar 2021 18:20:04 +0000, Farley, Peter wrote: > >The actual application requirement is for alphanumeric random values of a >certain length. I can’t say more than that without revealing company IP. > 708 $ head -c16 /dev/random | uuencode -m Random.string begin-base64 644 Random.string bpREwrn14giB65RLelIW5A== ==== (but alphanumeric not guaranteed.) ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
