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 / santhosh

Read the file and validate the things, once the all the
things are done for the record keep the count of it in an
working storage variable. Everytime when u try to read the
next record check for the count of WS variable, when it
reaches the count of 3 then terminate ur program.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between PIC 9.99 and PIC9v99?

1327


What is the difference between comp and comp-3?

1179


What is rmode(24)

1130


Why did you choose to work with ibm mainframe cobol programming?

1091


How many sections are there in data division in COBOL?

1123


What are the different types of condition in cobol and write their forms.

1108


How do you reference the following file formats from cobol programs?

1149


Discuss about changing dataset name in proc.

1224


Give some examples of command terminators?

1248


Why would you use find and get rather than to obtain?

1173


How you can characterize tables in cobol?

1188


State the various causes of s0c1, s0c5 and s0c7.

1072


Write a program that uses move corresponding.

1128


How do you differentiate between cobol and cobol-ii?

1196


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

1316