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

What is the use of intialize verb?

1180


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

7733


Name some of the examples of COBOl 11?

3082


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

1081


How do you differentiate between cobol and cobol-ii?

1129


) how do u code after getting data?

2074


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

3206


what happens if parmparameter passes zero bytes to the program

2082


how to access the file from prodution from changeman tool and to submit a file to production

7441


IF I mention stop run in CICS what happens?

2304


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

1185


What the difference is between continue and next sentence?

1103


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

1291


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

1179


how can i see junk values in dclgen or in hostvariable of comp ?

2933