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 can we fetch 3 records in cobol pgm any coding pls ?

Answer Posted / ravi

While reading a record from the input file keep ws- count variable for the count of records you read. When ws- count reaches count =3 put condition to terminate program

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are different data types in cobol?

1231


What guidelines should be followed to write a structured cobol prgm?

1091


What is a SSRANGE and NOSSRANGE?

1417


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

1094


What is the difference between perform … with test after and perform … with test before?

1373


What is the usage of comp fields in cobol?

1132


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

1046


What is the problem of ordered sequential files access?

1111


example for sub strings ? and refernce modifications whit output pls

2269


Define static linking and dynamic linking.

1113


What is Pic 9v99 Indicates in COBOL?

1179


What is the Purpose of Pointer in the string?

1028


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

1177


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?

7738


What is the difference between next sentence and continue in cobol programing language?

1163