created cluster using IDCAMS ..that is empty ..when i write a
program for read using Input ..wil it open the cluster or
gives any error?

Answer Posted / ganesh

writing the vsam file using the input modeis not possible
as system will find the file as empty and will throw error
that file can not be opened but yes you can write the file
using the outout mode.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the rules of the move verb?

929


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

973


What are all the divisions of a COBOL program?

871


what is difference between cobol and cobol/400

22102


Difference between cobol and cobol-ii?

927






how do you reference the rrds file formats from cobol programs

1123


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

892


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

6072


Are you comfortable in cobol or jcl?

794


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

924


What are the different rules for performing sort operation?

938


How do u write test cases?

1808


What is the difference between PIC 9.99 and 9v99 in COBOL?

958


What is the usage of comp fields in cobol?

859


When is inspect verb is used in cobol?

901