What happens when you open an empty VSAM file in a COBOL
program for input?

Answer Posted / jitendra kumar r

use OPTION key word after the select in file control.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a ci split?

724


Explain what are the optional parameters to the input dataset while loading the empty cluster with the data records?

852


is it required that primary key values have to be unique? Do alternate key values have to be unique?

807


what do you mean by the cobol record key clause in vsam?

798


What is speed parameters in define cluster command?

736


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

2306


Why is it required to have a keyed directed retrieval?

821


What is the biggest disadvantage of using a vsam dataset?

869


what do you mean by a shareoptions parameter (shr) in define cluster command?

857


Differentiate between control interval (ci) and control area (ca)?

749


if you wish to use the rewrite command how must the vsam file be opened?

912


explain how many ways you can load data in a vsam cluster?

794


Describe the uses of ams?

772


explain the information contained in ci

778


Using alternate indexes in batch program?

828