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 retrive the 9th records out of ten records using the
cobol program ?

Answer Posted / kk

Hi,

just use count variable in working storage.then when read
the file add 1 to count.after that u give if statement if
count = 9 display rec.

Is This Answer Correct ?    20 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write the code implementing the perform … varying.

1122


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?

2632


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

3278


State the various causes of s0c1, s0c5 and s0c7.

1145


what happens if parmparameter passes zero bytes to the program

2185


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?

8031


What is the LINKAGE SECTION used in COBOL?

1602


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

1501


How to use the same COBOL program in Batch and CICS on lines? explain with an example

2438


Write a cobol program making use of the redefine clause.

1229


How are the next sentence and continue different from each other?

1340


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

1260


What are the different data types in cobol?

1515


Explain how you can characterize tables in cobol?

1115


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2429