Use the ACB macro to generate an access method control block at assembly time.
The format of the ACB macro is:
[label] |
ACB |
[AM=VSAM] |
BSTRNO can influence performance. The VSAM control blocks for the set of strings that is specified by BSTRNO are allocated in contiguous virtual storage. This is not guaranteed for the strings allocated by dynamic extension.
This parameter is only applicable to MACRF=NSR.
This parameter has no effect for z/OS UNIX files. This is the case when an application program uses the VSAM interface to access an z/OS UNIX file.
Additional data buffers benefit direct inserts or updates during control area splits and benefit spanned record accessing. See z/OS DFSMS Using Data Sets for more information on optimizing performance and system-managed buffering.
This parameter is applicable only to MACRF=NSR; it is ignored when MACRF=RLS is specified.
This parameter has no effect for z/OS UNIX files.
Additional index buffers improve performance by providing for the residency of some or all of the high-level index, thereby minimizing the number of high-level index records retrieved from DASD for key-direct processing. For more information on optimizing performance, see z/OS DFSMS Using Data Sets.
The default is the minimum number that is required.
This parameter is only applicable to MACRF=NSR.
This parameter has no effect for z/OS UNIX files.
If the index does not exist or is not being opened, only BUFND, and not BUFNI, enters these calculations.
The BUFFERSPACE must not exceed 16776704.
This parameter is only applicable to MACRF=NSR.
This parameter has no effect for z/OS UNIX files.
To use the exit list, you must code this EXLST parameter. Omitting this parameter means that you have no exit routines. Exit routines are described in z/OS DFSMS Using Data Sets.
Option | Meaning |
---|---|
ADR | Addressed access to a key-sequenced or entry-sequenced data set; RBAs are used as search arguments and sequential access is by entry sequence. VSAM RLS does not support ADR access to a KSDS. |
CNV | Access is to the entire contents
of a control interval rather than to an individual data record. If
the data set is password protected, you must supply the address of
the control or higher-level password in the ACB PASSWD parameter.
Recommendation: Use RACF® or a functionally equivalent program instead of VSAM passwords. For VSAM RLS and z/OS UNIX files, CNV is invalid. If it is specified for a z/OS UNIX file, it results in an OPEN failure. |
KEY | Keyed access to a relative record data set (RRDS) or key-sequenced data set. Keys or relative record numbers are used as search arguments and sequential access is by key or relative record number. KEY processing is not affected by RLS. |
CFX | If you use ICI, OPEN fixes control blocks and I/O buffers and they remain fixed until the ACB is closed. For RLS and z/OS UNIX files, this subparameter has no effect. |
NFX | OPEN does not fix control blocks or I/O buffers. VSAM fixes and unfixes pages dynamically as needed. For RLS and z/OS UNIX files, NFX is assumed. |
DDN | Subtask shared control block connection is based on common ddnames. For RLS and z/OS UNIX files, this subparameter has no effect. |
DSN | Subtask shared control block connection is based on common data set names. For RLS and z/OS UNIX files, this subparameter has no effect. |
DFR | With shared resources, writes for direct PUT requests are deferred until the WRTBFR macro is issued or until VSAM needs a buffer to satisfy a GET request. Deferring writes saves I/O requests in cases where subsequent requests can be satisfied by the data already in the buffer pool. For RLS, DFR is ignored and direct request modified buffers are immediately written to disk and the CF (coupling facility). This subparameter has no effect for z/OS UNIX files. |
NDF | Writes are not deferred for direct PUTs. For RLS, NDF is ignored and direct request modified buffers are immediately written to disk and the CF (coupling facility). |
DIR | Direct access to an RRDS, KSDS, or ESDS. |
SEQ | Sequential access to an RRDS, KSDS, or ESDS. |
SKP | Skip-sequential access to an RRDS or KSDS. Used only with keyed access in a forward direction. |
ICI | Processing is limited to improved
control interval processing; access is faster because fewer processor
instructions are executed. ICI processing is not allowed for extended
format data sets. For RLS and z/OS UNIX files, this subparameter has no effect. |
NCI | Processing other than improved control interval processing. |
IN | Retrieval of records of a RRDS, KSDS, or ESDS; (not allowed for an empty data set). If the data set is password protected, you must supply the address of the read or higher-level password in the ACB PASSWD parameter. |
OUT | Storage of new records in a RRDS,
KSDS, or ESDS (not allowed with addressed access to a KSDS). Update
of records in a RRDS, KSDS, or ESDS. Deletion of records from a RRDS
or KSDS. If the data set is password protected, you must supply the address of the update or higher-level password in the ACB PASSWD parameter. |
LEW | Using LSR, if an exclusive control conflict is encountered, VSAM defers the request until the resource becomes available. |
NLW | With this value specified, instead of deferring the request, VSAM returns the exclusive control return code 20 (X'14') to the application program. The application program is then able to determine the next action. |
NIS | Normal insert strategy. This subparameter has no effect for z/OS UNIX files. |
SIS | Sequential insert strategy (split control intervals and control areas at the insert point rather than at the midpoint when doing direct PUTs); although positioning is lost and writes are done after each direct PUT request, SIS allows more efficient space usage when direct inserts are clustered around certain keys. This subparameter has no effect for z/OS UNIX files. |
NRM | The object to be processed is the one named in the specified ddname. |
AIX | The object to be processed is the alternate index of the path specified by ddname, rather than the base cluster though the alternate index. For RLS, the AIX subparameter is invalid. This subparameter has no effect for z/OS UNIX files. |
NRS | Data set is not reusable. |
RST | Data set is reusable (high-used RBA is reset to 0 during OPEN). If the data set is password protected, you must supply the address of the update or higher-level password in the ACB PASSWD parameter. |
NSR | Nonshared resources. |
LSR | Local shared resources. Each address space may have up to 256 index resource pools and 256 data resource pools independent of other address spaces. Unless you are using the default, SHRPOOL=0, you must specify the SHRPOOL parameter to indicate which resource pool you are using. Specifying LSR causes a data set to use the local resource pool built by the BLDVRP macro. If an index resource pool exists at the time an OPEN macro is issued, the index for a KSDS is connected to the index resource pool. This parameter is invalid for z/OS UNIX files and if specified results in an open failure. |
GSR | Global shared resources; all address spaces may have local and global resources pools, where tasks in an address space with a local resource pool may use either the local resource pool or the global resource pool. This parameter is invalid for compressed format data sets. If specified for a z/OS UNIX file, it results in an open failure. |
RLS | RLS specifies that VSAM record level
sharing protocols are used. RLS and NSR/LSR/GSR are mutually exclusive.
RLS implies that VSAM uses cross system record level locking as opposed
to CI locking, uses CF for buffer consistency, and manages a system
wide local cache. When you specify this parameter, OPEN will fail
for:
|
NUB | Management of I/O buffers is left up to VSAM. For RLS, you must specify NUB. |
UBF | Management of I/O buffers is left up to the user. The work area specified by the RPL (or GENCB) AREA parameter is the I/O buffer. VSAM transmits the contents of a control interval directly between the work area and direct access storage. UBF is valid when OPTCD=MVE and MACRF=CNV are specified. When ICI is specified, UBF is assumed. For RLS, UBF is invalid. |
Data sets which are opened for RLS processing must be SMS-managed data sets which have had password processing ignored.
This parameter has no effect for z/OS UNIX files.
For access modes other than RLS, RLSREAD is ignored.
The rev="r105dq01">The values specified by the RMDE31 parameter have an effect only before issuing an OPEN. At all other times, changing these values has no effect on the residency of the control blocks and I/O buffers.
If MACRF=RLS is specified, RMODE31=ALL is assumed. For RLS and DFSMStvs, VSAM control blocks and buffers are located in a data space owned by the SMSVSAM server address space and are not directly addressable.
STRNO >1 is not supported for z/OS UNIX files. If you specify a value greater than 1, OPEN fails.