I'm trying to use the clock intrinsic (in Cobol) to generate a number that I
can use for unique file names but I can't figure out what the clock
intrinsic is giving me. The intrinsics manual says I should get Hour,
Minute, Seconds and Tenths of seconds.
Here's the number I get: 220993543. A SHOWTIME command at about the same
time returns MON, JAN 18, 1999, 1:44 PM.
Maybe I'm using the wrong data type/size for the return value: PIC S9(9)
BINARY SYNC. I don't have much experience calling system intrinsics.
If anyone knows of a better way to create filenames that are guaranteed to
be unique, I'd like to hear it.
--
Brad Feazell