Hi all! I am trying to generate some data records using DFSORT based on a
previous discussion here, and want to generate random date fields in
YYYYMMDD format.

I have specific years that need to be in the data (2015 and 2016), but
there can also be other years as well. I think I can do this by specifying
BUILD=(...,
              C'201',
              SEQNUM,1,ZD,START=0,INCR=1,
              ...)

To get me a range of records from 2010 through 2019, but how can I generate
random MMDD values?

Also if you have any other ideas for generating random dates (YYYYMMDD)
overall, I would welcome your thoughts!

Thanks!
B

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to