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
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
Have you used comp and comp-3 in your project? And how?
how do you reference the variable block file formats from cobol programs
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
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.
Write the code to count the sum of n natural numbers.
What type of SDLC u followed? Why?
i want a program using by if, evaluate , string, unstring, perform, occurs?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
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
What are the rules of the move verb?
What rules are to be followed while using the corresponding options?
What is a scope terminator give example?
What are the different data types in cobol?
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...)