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 use of access method services in vsam?
Suppose a generation of GDG gets created in a particular step of a proc. How would you refer the current generation in a subsequent step? What would be the disposition of this generation now?
What is the COBOL RECORD KEY clause?
when u r using repro command what happens if both infile and outfile names same
What are the information stored in ci?
OPEN INPUT StudentFile READ StudentFile AT END SET EndOfStudentFile TO TRUE END-READ PERFORM UNTIL EndOfStudentFile DISPLAY StudentId SPACE StudentName SPACE CourseCode SPACE YOBirth READ StudentFile AT END SET EndOfStudentFile TO TRUE END-READ END-PERFORM CLOSE StudentFile STOP RUN what will be output
What is IDCAMS? and what is the purpose of it?
If you wish to use the REWRITE command haw must the VSAM file be opened?
What is the procedure for running the batch job in mainframe?
How many Alternate Indexes you can have on a dataset?
What is the difference between CI( Control Interval)and CA (Control Area)?
Is CA(Control Area) is part of CI(Control Interval)