Input Preparation
Parameters for the user-supplied input to the file management table are taken from two sources:
The table below presents the correspondences between VSAM data set definitions and FMT compiler statements.
|
|
|
FMT compiler statement |
|---|---|---|
|
KSDS |
DEFINE CLUSTER INDEXED (IXD) |
FILE TYPE IS KSDS |
|
ESDS |
DEFINE CLUSTER NONINDEXED (NIXD) |
FILE TYPE IS ESDS |
|
RRDS |
DEFINE CLUSTER NUMBERED (NUMD) |
FILE TYPE IS RRDS. |
|
PATH |
DEFINE PATH PATHENTRY (alternate index or base cluster) |
FILE TYPE IS PATH |
|
Key length |
DEFINE CLUSTER KEYS (length, displacement) |
KEY LEN IS length |
|
Key position |
DEFINE CLUSTER KEYS (length, displacement) |
KEY POS IS displacement |
|
Buffer space |
DEFINE CLUSTER BUFSPC (size) |
BUFFERSPACE IS size |
|
Record size (fixed-length record) |
DEFINE CLUSTER RECSZ (min length, max length) |
VSAM REC LEN IS max length |
|
Record size (variable-length record) |
DEFINE CLUSTER RECSZ (min length, max-length) |
VSAM REC LEN IS VAR UP TO MAX max-length |
|
Relative-record -number position |
Not defined |
REL REC NUM POS IS position |
|
Reusable file |
REUSE |
FILE IS REUSABLE |
|
Nonreusable file |
NOREUSE |
FILE IS NOT REUSABLE |
The following table provides the correspondences between CA IDMS/DB schema definitions and FMT compiler statements.
|
|
|
Sample FMT statement |
|---|---|---|
|
Record name |
ADD RECORD NAME IS DEPARTMENT. |
REC IS DEPARTMENT. |
|
Set name |
ADD SET NAME IS DEPARTMENT-NDX |
SET IS DEPARTMENT-NDX |
|
Copyright © 2014 CA.
All rights reserved.
|
|