In this step, do the following to create a new database (all jobs are described in more detail below):
This job allocates and formats the Adabas Audit Data Retrieval definition database and uploads the data dictionary.
This job updates the database definition file with values you provided when running the installation REXX, allocates and formats the Adabas Audit Data Retrieval VSAM databases, and loads customized data.
Required (at the latest before running B97DBFOR):
Job B97DBDEF has one step and does the following:
The loaded data provides the structure information (databases, tables, keys, and fields) on the entire Adabas Audit Data Retrieval database.
B97DBDEF must run to completion with RC=0.
Job B97DBFOR requires the Beta SVC and must run to completion with RC=0.
B97DBFOR has three steps:
The BSA program BST05UPF updates the database definition file with customized data from member S#97UDEF.
S#97UDEF contains one definition statement for each Adabas Audit Data Retrieval database component. Continuation signs ( - ) are used if the definition statement spans several lines.
This is the syntax of the definition statement:
DEFINE UPDATE FILE logicalfilename -
DSNAME datasetname -
VOLUME volser -
UNIT unit -
BUFFER nn -
SPACE no_of_cyl -
HWM high_water_mark_in_percent
Use the following syntax for SMS-managed databases:
DEFINE UPDATE FILE logicalfilename -
DSNAME datasetname -
STORAGECLASS storclas -
MANAGEMENTCLASS mgmtclas -
DATACLASS dataclas -
BUFFER nn -
SPACE no_of_cyl -
HWM high_water_mark_in_percent
For more information on BST05UPF and its parameters, see "BST05UPF: Updating file information in the database definition file" in BSA Installation and System Guide.
If there is a problem when defining the Adabas Audit Data Retrieval database, for example, not enough space, job B97DBFOR ends with RC=16. In this case, find out what caused the problem and proceed as follows:
The following table shows which datasets are created for the Adabas Audit Data Retrieval database. It describes their purpose and shows default dataset names and size.
Dataset name |
Short name |
3390 space |
Purpose |
BETA97.DB.DEF |
B97DEF |
5 cyl |
Database definition |
BETA97.DB.MAIN |
B97MAIN |
20 cyl |
Main database containing definitions |
BETA97.DB.LIST |
B97LIST |
100 cyl |
List index database |
BETA97.DB.MSG |
B97MSG |
20 cyl |
Message log database |
BETA97.DB.NOTES |
B97NOTES |
10 cyl |
Notes database |
BETA97.DB.ARC |
ARCDATA |
60 cyl |
Archive database |
BETA97.DB.SPOOLn |
SPnnnnnn |
100 cyl |
Lists |
BETA97.DB.CACHEn |
CACHEn |
100 cyl |
Reloaded 4-MB blocks of list data |
BETA97.DB.INDEXn |
INDEXn |
100 cyl |
Indexes |
BETA97.DB.GLOBLn |
GLOBLn |
100 cyl |
Global indexes |
BETA97.DB.RELODn |
RELODn |
100 cyl |
Reloaded lists |
BETA97.DB.SFR |
B97SFR |
10 cyl |
Spool file recovery information |
BETA97.DB.LGF |
LGFDATA |
20 cyl |
Information used with _beta smf |
BETA97.DB.LOG |
LOGFILE |
20 cyl |
Temporary processing information |
BETA97.DB.SYNC |
SYNCFILE |
1 cyl |
Synchronization file |
If you use different values, you should ensure that spool files of one type (SPOOL, INDEX, CACHE, or GLOBAL) have the same CIsize.
The size of a database depends on the maximum number of records that are to be stored in this database. To calculate the required space for a database, you need to know the structure of the Adabas Audit Data Retrieval database, for example:
Because the structure of the Adabas Audit Data Retrieval database is similar to the structure of the _beta doc|z database, refer to the _beta doc|z Installation and System Guide for information on calculating the required space for a database.
The maximum number of spool files (cache, spool, and index) that can be opened by Adabas Audit Data Retrieval is 32000.
Important: The operating system may have a lower limit for the maximum number of open files. For more information, see the description of the task I/O table (TIOT) in the IBM publication MVS Initialization and Tuning Reference, chapter "ALLOCxx (allocation system defaults)".