use the RANDOM function introduced in Cobol 85. See p 10.49 of Cobol Ref
manual pn 31500-90001.
> -----Original Message-----
> From: Curt Brimacomb [mailto:[log in to unmask]]
> Sent: Wednesday, February 28, 2001 11:55 AM
> To: [log in to unmask]
> Subject: COBOL PROGRAM
>
>
> Hello all,
>
> I need to write a COBOL program that generates a random
> number (to use in a
> voter registration system). I can't seem to find any
> reference on how to do
> this in COBOL. Can someone enlighten me?
>
> TIA
>
> Curt Brimacomb
> Systems Manager
> Idaho Computer Services, LLC
> [log in to unmask]
> 208-734-2245 x 114
> The opinions expressed here are not mine or my employers.
>