What is File Status in VSAM?



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

Post New Answer

More VSAM Interview Questions

What is the purpose of control intervals in vsam?

0 Answers  


How are records stored in an ESDS, entry sequenced dataset?

1 Answers   IBM,


what is the difference b/w sequential and ESDS

6 Answers   EDS, IBM, Maples,


What is the procedure for running the batch job in mainframe?

1 Answers  


Suppose 3 generations of a GDG exist. How would you reference the 1st generation in the JCL?

2 Answers   IBM,






what is the difference between vsam and dataset how do u create vsam dataset which file you r used?

2 Answers   Fidelity,


what is the meaning of each of the values in shareopts(2 3)?

0 Answers   IBM,


In the COBOL SELECT statement for a KSDS what are the three possibilities for ACCESS?

3 Answers  


What is a ci split?

0 Answers  


Is CA(Control Area) is part of CI(Control Interval)

1 Answers  


How to createing new version of GDG with out loosing the data in preaves GDG version?

7 Answers   Patni, Satyam,


What is Control Interval, Control Area?

1 Answers  


Categories