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

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

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

3931


I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1337


how do you reference the variable unblock file formats from cobol programs

986


In COBOL, what is the different between index and subscript?

930


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

905






What is the difference between PIC 9.99 and PIC9v99?

1019


explain sorting techniques in cobol program?

874


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

1811


Explain about different table spaces.

844


What are the various section in data division and briefly explain them.

900


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1394


What is difference between static and dynamic call in cobol?

1005


Differentiate between structured cobol programming and object-oriented cobol programming.

820


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

855


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2323