Connie The FUNCTION RANDOM that is documented in chapter 10 to the Cobol manual. You should be able to generate a number of whatever size desired. Bob Schlosser Melbourne, Florida (407) 727-5893