ADBFILE Statement

Specifies the file number of the ADABAS file to be accessed.
Type: Optional statement
Applies to: access descriptor or view descriptor
Interaction: DDM, SECURITY

Syntax

ADBFILE (NUMBER | NUM = Adabas-file-number
PASSWORD | PW = Adabas-password
CIPHER|CC = Adabas-cipher-code
DBID =Adabas-database-identifier);

Details

The ADBFILE statement enables you to specify an ADABAS file number and optional password, cipher code, and database identifier for the ADABAS file to be used when reading the access descriptor. If you specified a NATURAL DDM using the DDM= statement in an access descriptor, then the file number is supplied by the DDM and the ADBFILE statement is not needed.
If you specified SECURITY=YES in the access descriptor, you cannot change the values for the password and cipher code in the view descriptor. However, if no values were entered in the access descriptor, you can enter them in the view descriptor, even if the SECURITY=YES statement has been issued.
Adabas-file number
is the ADABAS file number of the file to be accessed. The ADABAS file number is a number from 1 to the lower of 5,000 or the Association block size minus one. It is assigned when the ADABAS files are created with the ADABAS ADACMP utility.
Adabas-password
is an ADABAS password, which provides security protection at the file or data-field level, or on the basis of a value at the logical-record level. The value is not displayed as you enter it, and it is written to the access descriptor in encrypted form.
Adabas-cipher code
is an ADABAS cipher code, which is a numeric code for ciphering and deciphering data into and from an ADABAS file. The value is not displayed as you enter it, and it is written to the access descriptor in encrypted form.
Adabas-database identifier
is the ADABAS database identifier (number) to be accessed. The database identifier is a numerical value from 1 to 65,535 that is assigned to each ADABAS database.