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 rules are to be followed while using the corresponding options?

1125


What are literals?

1183


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

2288


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

1257


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

1174


What is the Purpose of Pointer in the string?

1125


What type of SDLC u followed? Why?

2048


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

1147


What is the Purpose of POINTER Phrase in STRING command in COBOL?

1299


What is the difference between PIC 9.99 and PIC9v99?

1402


How do define dynamic array in cobol.

1185


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

4209


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

3277


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

1202


i want a program using by if, evaluate , string, unstring, perform, occurs?

4800