What is File Status in VSAM?
Answer / guest
The FILE STATUS clause of the FILE-CONTROL paragraph allows
for each file to be associated with a file status key (i.e.,
the 2-character data item specified in the FILE STATUS
clause). If the FILE STATUS clause is specified for a given
file, a value indicating the status of each I/O operation
against that file is placed in the associated file status
key. This value is stored in the file status key as soon as
the I/O operation is completed (and before execution of any
EXCEPTION/ERROR declarative or INVALIDKEY/AT END phrase
associated with the I/O request).
Note: This element may behave differently when the CMPR2
compiler option is used. The file status key is divided
into two status keys: the first character is known as file
status key 1; the second character is file status key 2.
| Is This Answer Correct ? | 3 Yes | 0 No |
what is the difference b/w sequential and ESDS
What is the difference between sequential files and ESDS files?
what will happen if there is no secondary allocation made for datasets?
What are the advantages of vsam over isam?
What is the procedure for running the batch job in mainframe?
How Vsam was evolved? What was the equivalent file for ESDS,KSDS and RRDS prior to evolution? What were their disadvantages of those file which leads to evolution of ESDS,KSDS and RRDS files ?
Define a path?
how do you create an alternate index ?
Common VSAM Error conditions and codes
How to insert values for variables that are declared as COMP-3 variables in COBOL program in an already created VSAM file.
How do you define a KSDS ?
What is SHAREOPTS ?