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...

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

Answer Posted / lu

Hi Guys,
when you say "sequential" it means you have to read from 1
to 9999...Never say sequential file and read randomly !!!!!
use read util the field you want....
Perform 100-read until ws-field = 'yes'.......

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1206


How many bytes S(8) comp field occupy and its maximum value?

2146


Difference between array and sub-script ?

1669


What is the difference between PIC 9.99 and 9v99 in COBOL?

1337


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2554


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

1246


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1412


Are you comfortable in cobol or jcl?

1055


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

3234


Describe the cobol database components?

1183


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

1222


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

9901


What is the difference between PIC 9.99 and PIC9v99?

1348


How many sections are there in data division in COBOL?

1144


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

1112