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

How is record management performed in vsam?

0 Answers  


In vsam why we use export-import utility?

3 Answers  


max how many AIX coded in a vsam dataset??

2 Answers  


can you specify some the distinctive features of a ksds, key sequenced dataset?

0 Answers   IBM,


What are all the ways we can create datasets?

7 Answers   IBM,






What are the optional parameters to the input dataset While loading the empty cluster with the data records?

1 Answers   IBM,


FREESPACE can be specified for which type of cluster? a.LDS b.RRDS c.ESDS d.KSDS

2 Answers  


What is the purpose of having vsam data space?

0 Answers  


what is the purpose of the verify function of idcams?

0 Answers   IBM,


What makes vrrds different from vsam?

0 Answers  


Define gdg?

0 Answers  


What is VERIFY command ? when do you use this command?? What actually it does ??

2 Answers   Xansa,


Categories