NaturalONE Version 8.3.7
 —  Predefined Object Types in Predict  —

VSAM

This document covers the following topics:

See also section VSAM in the Predict and Other Systems documentation.


Physical VSAM File - File Type V

Attributes

Note:
Parameters not listed below are described in other sections of this documentation: Parameters common to all object types, for example Keys, are described under Global Attributes. Parameters common to all file types, for example Literal name, are described under Common File Attributes. See also Common Parameters for SQL File Types.

Parameters
Sequence field

The descriptor to be used by Natural for logical sequential reading.

Determines the sequence in which records are delivered by the READ LOGICAL statement.

The function Generate DDM uses this attribute as the default READ LOGICAL field in the Natural data definition module.

VSAM attributes
VSAM DD name This parameter refers to a DD card in batch mode, or to a CICS FCT object. See the Natural Operations documentation.
VSAM file org
Valid values:
K KSDS (key-sequenced data set)
E ESDS (entry-sequenced data set)
R RRDS (relative-record data set)
Compressed file
Only applicable to files with organization K (KSDS).
Y The record will be truncated if the trailing byte positions are unused.
Numeric zones Valid entries are C and F. This field affects the representation of positive numbers in packed decimal format. The sign position holds hexadecimal C or F respectively.
Location
Volume 1 - 5 The volume(s) on which the file is located. Up to five volumes can be specified.
Data set attributes
CI size - Data The data control interval size.
CI size - Index The control interval size for the primary index.
Recsize - Min The minimum record size.
Recsize - Max The maximum record size.
Free space The free space to be allocated (in percent).

Top of page

VSAM Logical Files, VSAM Userviews - File Types L, W and R

Attributes

Note:
Parameters not listed below are described in other sections of this documentation: Parameters common to all object types, for example Keys, are described under Global Attributes. Parameters common to all file types, for example Literal name, are described under Common File Attributes. See also Common Parameters for SQL File Types.

Parameters
VSAM prefix

Only applicable to files of types L and R.

If this field is left blank, the last 3 digits of the file number are taken as the prefix. Otherwise, a string of up to 20 characters can be specified. The records in the corresponding physical VSAM file (type V) whose primary keys begin with the specified prefix string will be considered as belonging to the logical VSAM file. The length of the primary key specified for the logical VSAM file must be equal to the length of the primary key specified for the physical VSAM file minus the length of the prefix.

A dummy field (corresponding to the prefix) preceding the primary key in the logical VSAM file must be defined for the field offsets to be calculated correctly.

Sequence field

The descriptor to be used by Natural for logical sequential reading.

Determines the sequence in which records are delivered by the READ LOGICAL statement.

The GENERATE DDM function will use this field as the default READ LOGICAL field in the Natural data definition module.

Top of page