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 are INPUT PROCEDURE and OUTPUT PROCEDURE?

1297


Have you used comp and comp-3 in your project? And how?

2484


how do you reference the variable block file formats from cobol programs

1255


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

1109


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.

2221


Write the code to count the sum of n natural numbers.

1208


What type of SDLC u followed? Why?

1999


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

4722


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

2471


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

1537


What are the rules of the move verb?

1269


What rules are to be followed while using the corresponding options?

1068


What is a scope terminator give example?

1110


What are the different data types in cobol?

1440


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

2394