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 to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

2543


How you can read the file from bottom?

1197


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5430


What is redefines clause in COBOL?

1351


When is inspect verb is used in cobol?

1319


How do u write test cases?

2111


Which Search verb is equivalent to PERFORM…VARYING?

1108


How do define dynamic array in cobol.

1187


how do you reference the rrds file formats from cobol programs

1663


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2478


Can we change the password using ALTER? anyone tried and changed?

2082


Difference between array and sub-script ?

1710


What is the difference between comp and comp-3 usage?

1265


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

12543


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

3321