41⟩ Would you specify FREESPACE CE for an ESDS?
No. Because you cannot insert records in an ESDS, also when you rewrite a record, it must be of the same length. Thus putting any value for FREESPACE does not make any sense.
“VSAM Interview Questions and Answers will guide us now that Virtual storage access method (VSAM) is an IBM disk file storage access method, first used in the OS/VS2 operating system, later used throughout the Multiple Virtual Storage (MVS) architecture and now in z/OS. Originally a record-oriented filesystem, VSAM comprises four data set organizations: KSDS, RRDS, ESDS and LDS. So learn Virtual storage access method by this VSAM Interview Questions with Answers guide”
No. Because you cannot insert records in an ESDS, also when you rewrite a record, it must be of the same length. Thus putting any value for FREESPACE does not make any sense.
Primary key values must be unique; alternate key values need not be.
It specifies how the file may be shared between jobs and between batch and CICS environments.
The maximum condition code generated is returned as the condition code of the IDCAMS step.
ALTER modifies information for a catalog, alternate index, cluster or path. BLDINDEX builds the alternate index, of course. DEFINE is used for ALTERNATEINDEX, CLUSTER or PATH. DELETE removes the catalog entry for a catalog, cluster, alternate index or path. LISTCAT lists information about the dataset. PRINT prints the dataset contents. REPRO copies records from one file to another.
They are DEFINE CLUSTER, DATA and INDEX.
It is a COBOL II enchancement to VSAM batch processing expanding the FILE STATUS field. It is defined in WORKING-STORAGE as a six byte group item with three two byte elements, the normal return code, the function code and the feedback code.
Value of 2 for cross region means that the file can be processed simultaneously by multiple users provided only one of them is an updater. Value of 3 for cross system means that any number of jobs can process the file for input or output (VSAM does nothing to ensure integrity).
It specifies whether Daniela Pestova or Yamila - oops! Wrong models! The MODEL parameter allows you to model your cluster by modeling it after an existing cluster.
IDCAMS, the access mehtod services utility.
It's rarely used. It means one program uses both sequential and random processing for a VSAM KSDS file.
LDS is a VSAM dataset in name only. It has unstructured 4k (4096 bytes ) fixed size CT's which do not contain control fields and therefore from VSAM's standpoint they do not contain any logical records. There is no free space, and no access from Cobol. Can be accessed by DB2 and IMS fast path datasets. LDS is essentially a table of data maintained on disk. The 'table entries' must be created via a user program and can only be logically accessed via a user program. When passed, the entire LDS must be mapped into storage, and then data is accessed via base and displacement type processing.
In the JCL, you must have DD statements for the cluster and for the path9s). In the COBOL program, SELECT ... ASSIGN TO ddname for base cluster RECORD KEY IS... ALTERNATE RECORD KEY IS ...
Use the LISTCAT command.
Give (+1) as the generation number, give (new, catlg) for disp, give space parameter, can give the DCB parameter if you want to override the DCB of the model dataset.
Use GDG name(-2).
No, the DCB of the model dataset can be overridden when you allocate new versions.
Using the REPRO command.
FCT entires must be created for both base cluster and the path. To read using the alternate index, use the DD name of the path in CICS file control commands.
UniqueCase: 5 + (alt-key-length + primary - key )
Non unique Case: 5 + (alt-key-length + n * primary - key ) where n = number of duplicate records for the alternate key