Share Specs: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
(Created page with "'Share Specs' can be inserted in a statement's main syntax where specified. It related to how a file can be accessed when shared. 300px ===Default===...")
 
No edit summary
Line 1: Line 1:
'Share Specs' can be inserted in a statement's main syntax where specified. It related to how a file can be accessed when shared.
The "share-spec" parameter indicates that one of four share parameters should be specified at this point in the syntax. The syntax for this parameter can be inserted into any diagram that calls for the share-spec parameter to control how a file is accessed when shared.


[[Image:Sharespec.png|300px]]
[[Image:Sharespec.png|300px]]

Revision as of 22:28, 7 February 2013

The "share-spec" parameter indicates that one of four share parameters should be specified at this point in the syntax. The syntax for this parameter can be inserted into any diagram that calls for the share-spec parameter to control how a file is accessed when shared.

Default

1.) NOSHR

Parameters

NOSHR indicates that the current workstation has exclusive access to the file. No other OPENs are permitted to the open file until the open file has been closed. NOSHR is the Business Rules default.
SHRI allows' others to use the file for input only. It is possible for others to read but not to change a file opened SHRI.
SHR allows' others to read, write and update an open file. An individual record within internal and external files may be locked during use by specifying SHR, OUTPUT or SHR, OUTIN and reading the record.
SHRU operates the same as SHR; it is maintained for IBM System/23 compatibility.