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

Define gdg?

802


Explain the function of the relative record data set?

744


what will happen if there is no secondary allocation made for datasets?

905


what do you mean by gdg in vsam?

975


If fspc(100 100) is specified does it mean that both the control interval and control area will be left empty because 100 % of both ci and ca are specified to be empty?

899


what is the syntax of ams modal commands?

989


How does control intervals and control areas related to each other?

800


what is the use of the file status clause in the select statement in vsam?

833


What is the purpose of control intervals in vsam?

760


What is the purpose of idcams?

820


What is a lds (linear data set)?

801


Using alternate indexes in cics program?

818


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

815


what are the codes returned by the ams (access method services) command during the execution in vsam?

1059


Yes. Because the alternate key would first locate the primary key, which in turn locates the actual record. Needs twice the number of I/Os.

2160