VSAM Interview questions
VSAM Interview questions 10-20
-
Q11: What is the purpose of the FILE STATUS clause in the SELECT statement?
- Answer : The FILE STATUS field identifies the field that VSAM uses to provide information about each I/O operation for the file.
- Answer : The START command is used read other than the next VSAM record. A value must be moved into the RECORD KEY. The KEY clause is optional, but it can be used to specify a relational (equal, less than, etc.) operator.
- Answer : It's rarely used. It means one program uses both sequential and random processing for a VSAM KSDS file
- Answer : A relative record dataset (RRDS) consists of a specified number of areas called slots. Each slot is identified by a relative record number (RRN) which indicates its relative position in the file.
- Answer : They are DEFINE CLUSTER, DATA and INDEX.
- Answer : 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.
- Answer : IDCAMS is the Access Method Services program. You run the IDCAMS program and supply AMS commands thru SYSIN. (examples of AMS commands are DELETE, DEFINE, REPRO etc..).
- Answer : Yes
- Answer : Coded in the DEFINE as FREESPACE(ci ca) where ci is the percentage of each control interval to be left free for insertions, ca is the percentage of control intervals in each control area to be left empty.
- Answer : Use the LISTCAT command