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 amode(31)
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What is the Purpose of Pointer in the string?
Explain the configuration section of a cobol program with examples of syntax.
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.
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
Explain how to differentiate call by context by comparing it to other calls?
HOw can I get the negative sign while deduct high value from low value
Difference between array and sub-script ?
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 ?
What is a SSRANGE and NOSSRANGE?
Define cobol?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue