like this i have some reference number. This number i want to have randomly for output records which is of sequential file.In This WS-FIELD2
I am using the todays date which is coming from the input file in my program. All others are constant values and the last one WS-FIELD5 is of ascending order.So I am getting all the reference numbers which are satisfying the criteria.
Here the problem I am facing is, this program will run once in a day.
In some cases this may run more than once as per the neccesity.So when we run this program first time we are getting the refernce numbers perfectly.But when we run the second time also we are getting the same reference numbers.Here I want to have the reference number randomly means should not have the same refernce number even when we run the program more than once in a day.Is there anu possibility to know some random value which will change some time to time or else which meets the above criteria???