HP3000-L Archives

November 1997, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jim Phillips <[log in to unmask]>
Reply To:
Jim Phillips <[log in to unmask]>
Date:
Fri, 21 Nov 1997 21:31:43 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (19 lines)
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

ATOM RSS1 RSS2