The Accessroutines specification designates the title of the Accessroutines code file for the database.
The following diagram illustrates the syntax for specifying the Accessroutines code file:
<Accessroutines specification>
── ACCESSROUTINES ── = ──<file title>──────────────────────────────────┤
The default title for the Accessroutines code file is SYSTEM/ACCESSROUTINES.
Another title can be specified in the DASDL statements for user specification, family specification, or user-compiled Accessroutines where the released SYSTEM/ACCESSROUTINES code file cannot be used because of different global database options (such as statistics and audit reset).
The Accessroutines code file is shared by all databases with the same DASDL specification or with the default title. If a database contains partitioned structures, it must use the Accessroutines code file SYSTEM/ACCESSROUTINES/FULL.
Family substitution occurs at run time for this title.
This file title is contained in the control file. At run time, the title is used to initiate the correct version of the software. Both the usercode of the running task and the family substitution have an effect on which version, if any, of the software is found. It is recommended that this software title be explicitly specified, including a usercode and a family name.
Example
The following statement defines the name of the Accessroutines code file as SYSTEM/<release>/ACCESSROUTINES. The code file is located under the USER1 usercode on the PACK1 pack.
ACCESSROUTINES = (USER1)SYSTEM/<release>/ACCESSROUTINES ON PACK1;