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?

Answers were Sorted based on User's Feedback



created cluster using IDCAMS ..that is empty ..when i write a program for read using Input ..wil i..

Answer / pramod

Open statement itself fails when u try to open an empty
file.

Is This Answer Correct ?    8 Yes 0 No

created cluster using IDCAMS ..that is empty ..when i write a program for read using Input ..wil i..

Answer / 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

More COBOL Interview Questions

I have a sequential file of 100 records. How do I load the records into a two dimensional array ?

3 Answers   IBM, Xansa,


What is the reference modification.

2 Answers  


What are the pertinent COBOL commands?

0 Answers   Satyam,


What is the difference between Call and a Link?

0 Answers  


what is call by value and call by reference ?

3 Answers   Infosys, ITC Indian Tobacco Company,






Discuss about changing dataset name in proc.

0 Answers  


SSRange is used to do a range check on which of the Following. SUBSCRIPT,INDEX,REFERENCE MODIFICATION,Run-time option.

3 Answers   Lehman Brothers,


consider the following piece of code 01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05 ALLOWENCES PIC 9(3) if BASIC-PAY has a value 1000 and ALLOWENCES has a value of 250,what will be displayed by the statement DISPLAY GROSS-PAY a.1250 b.01000250 c.01250 d.1.250

3 Answers   TCS,


Differentiate COBOL and COBOL-II?

0 Answers  


The hierarchy of the execution of logical operators is (a) NOT AND OR (b) AND OR NOT (c) OR AND NOT (d) OR NOT AND

10 Answers   Huawei, IBM, TCS,


in cobol perform stmt whether it first checks the condition or not

9 Answers  


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

0 Answers  


Categories