In a network environment, you should be able to access the system's
STATION_ID or WORKSTATION_ID variable (I forget which). This can be
available in the generic LOGIN script by doing "SET ID=STATION_ID" (or
whatever the variable is called). Your program should then be able to
access the variable directly. We used to have our LOGIN name set in the
variable ID using this method. Not having a hard disk makes this more
difficult, 'coz I don't know how you would do that in COBOL. Now that I
think about it, I'm not sure if this gives a unique number for each
workstation or just per LOGIN session. Since they have to boot from either
the LAN or a diskette, the diskette could contain "SET ID=xxx", where
"xxx" is a unique id, but this assumes that nobody boots from anybody
else's PC using the boot disk.
I hope this has helped in some small way.
--
James Coons, Programmer, Inventor-At-Large
(Remove "/NOSPAM" from my eMail address to respond).
"There are 2 secrets to success: (1) Never tell anyone everything you know
and (2) Never tell anyone secret #1."