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:
Stan Sieler <[log in to unmask]>
Reply To:
Stan Sieler <[log in to unmask]>
Date:
Fri, 21 Nov 1997 17:54:23 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (32 lines)
Ed asks:
>      I have multiple jobs appending to a flat file.  The file is a
> status
>      file to which we write a line describing how processes are running.
>
>      My COBOL program open mode is EXTEND.  It doesn't like it when
> another
>      job (same program) has the file open.  The job aborts.
>
>      Do I need a shr option?  Should I use suprtool or fcopy to append
>      instead of my cobol program?  Do I need to use intrinsics?  Should
> I
>      have a special type of file (i.e., message)?

I'd try:    ; SHR; GMULTI

SHR says it's ok for multiple people to access the file at the same
time.

GMULTI says please use the same file pointer as all other users who've
specified GMULTI.

(MULTI says "please use the same file pointer as all other users
in the same job/session (as me) who've also specified MULTI")

(NOMULTI says "I want my own file pointer")

(GMULTI/MULTI/NOMULTI have nothing to do with "MR" (which
stands for "Multi-Record"))

SS

ATOM RSS1 RSS2