wirte a pgm in using files in which we hav 10 ,20,30 40...100
records in inputfile and i want them to be send to outputfile
in reverse order.
PLZ HELP ME OUT .........THIS IS A RECENT QUESTION IN IGATE..
Answer Posted / binary logics
*hival setgt pfrec
90 doueq *on 90 is a indicator for End of file
readp pfrec
write newpfrec
enddo
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is static and dynamic call in cobol?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
What are the different open modes available in cobol?
What is the difference between PIC 9.99 and 9v99 in COBOL?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
What is the Purpose of POINTER Phrase in STRING command in COBOL?
How many sections are there in data division in COBOL?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
What is length is cobol?
What is the difference between comp and comp-3 usage?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
) How do u handle errors in BMS macro
What is the difference between binary search and sequential search?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?