Answer Posted / 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 View All Answers
Differentiate between ci split and ca split?
What is the function of linear dataset in vsam?
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 does the keyranges parameter in define cluster command do?
can you specify some the distinctive features of a ksds, key sequenced dataset?
what is the use of the file status clause in the select statement in vsam?
What is the main function of linear dataset?
in a cobol select statement, can you tell what is the organization for a ksds?
what do you mean by define model parameter?
what do you mean by idcams? Explain its purpose?
What is speed parameters in define cluster command?
Explain the difference between lds and esds?
what is meant by s0c-07 system abend codes?
what do you mean by the cobol record key clause in vsam?
Explain about the file objects in vsam?