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

please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

0 Answers   EDS,


how do u list the abended jobs?

1 Answers   IBM,


what is scope terminator

2 Answers   IBM,


Which Search verb is equivalent to PERFORM…VARYING?

0 Answers  


ZEROES and SPACES are _______ constants (a) Figurative (b) Numeric (c) Non-numeric (d) Alphabete

4 Answers   TCS,


how you will define variables length in cobol.

3 Answers   Temenos,


how can u find out just by seeing wheater it is main program or sub program ? any two ways to identify reply soon ?

2 Answers  


I am getting S00F abend when i try to compare two variable of different pic class,one variable is of 9(09) and another is S9(09) comp-3. First i moved the data from S9(09) comp-3 to 9(09), but no luck. So i tried to move the data from S9(09) comp-3 to X (09) and move to 9(09). I am getting same error message, Please help me to find solution for this ptoblem. ERROR MESSAGE - "The system or user abend S00F R=NULL was issued."

1 Answers  


How to display the index.(displacement from an array)

4 Answers   IBM,


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

0 Answers  


What is the local-storage section?

0 Answers  


What are the steps you go through while creating a COBOL program executable?

3 Answers  


Categories