Ed:
In addition to the SHR;GMULTI Stan specified, I'd add LOCK and then use the
EXCLUSIVE/
UN-EXCLUSIVE verbs in the COBOL program(s) to logically lock the file when
writing
to it. I'd also add the FILE STATUS clause to the SELECT statement and
interrogate
the file status after each I/O operation (OPEN/EXCLUSIVE/WRITE/...). We do
a similar
process with MSG files (N writers and 1 reader) from COBOL programs and
this is what
works for us. YMMV.
Jim Phillips Manager of Information Systems
Voice: (330) 527-2124 Therm-O-Link, Inc.
Fax: (330) 527-2123 PO Box 285; 10513 Freedom St.
Email: [log in to unmask] Garrettsville, Ohio 44231