Previous Topic: How to Create an NDB

Next Topic: Calculate Key Length

Define VSAM Data Set

Use IDCAMS to define a VSAM KSDS. The following parameters are required:

INDEXED

Indicates a KSDS

KEYS (len 0)

key length (see Task 2)

RECORDSIZE (avg max)

Indicates average and maximum record size (see Task 3).

Other parameters, such as SPEED, REPLICATE, IMBED, can be used at your discretion.

Do not use SPANNED. Logical records longer than the VSAM data record length are handled automatically.

The REUSE parameter can be used, but, for NDBs used in a production environment, it is not recommended, as omission prevents the accidental emptying of an NDB by use of the UDBCTL OPEN RESET command.