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

Discuss about changing dataset name in proc.

0 Answers  


How to convert bunch of words in a line to relvant ASCII values?

2 Answers  


Minimum how many Number of Paragraphs are there in ID- Divison?

7 Answers   IBM,


in real time what is the suitable exp where in-stream procedure is better then catalog procedure.

1 Answers  


what is filler and what is use of filler

3 Answers   Syntel,


what is redefines? where it can be effectively use for the purpose of memory utilization? give an example?

4 Answers   IBM,


What is diff between vsam and db2?what is advantage of db2 over vsam?which is best suited one?

1 Answers   Fidelity,


How to find How Many Lines in Sysin DD * Parameter Thru Cobol Coding? If any one knows the Answer Please Reply .....Thanks From Shree

3 Answers   Merrill Lynch,


Can we dynamically increase the size of occurs clause? i.e In case I an not sure of the size of array and want to increase the size at run time.If yes , how?

1 Answers  


can we use the two 01 level in file discription ?

6 Answers  


I have two files , file1 is input file it contains 10,20,30,....,records but i want to display the records in file 2 as reverse order .how can we do by using jcl& cobol(dont use array) please any one can tell me the answer

3 Answers   GreenTree, IBM,


I have a sequential file. How do I access a record in this sequential file randomly in my program ?

8 Answers   CGI, Xansa,


Categories