Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to find whether a Flat file is empty or not without
Reading a file in COBOL Program. (not using JCL)

Answer Posted / vinodh

Goto ISPF 3.4, give the dataset name hit enter.
Press F11 until you see '%used', if its zero then the file
is empty. This will be useful if you want to validate many
GDG's for emptiness.

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

1251


How do you define a variable of comp-1 and comp-2?

1202


how to refer the data field?

2280


Explain the configuration section of a cobol program with examples of syntax.

1206


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

1154


Explain what you understand by passing by value.

1157


i want a program using by if, evaluate , string, unstring, perform, occurs?

4727


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

1246


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?

1651


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

1176


Write the code implementing the perform … varying.

1076


Define cobol?

1412


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

2084


I have a File that has duplicate records. I need only those records that occur more than thrice.?

9898


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

1353