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 / adarsh

just sort the input file in descending order..

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i need a small 3d program using inline and outline.

1890


Give some examples of command terminators?

947


A table has two indexes defined. Which one will be used by the SEARCH?

1014


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2358


What is a report item?

901


What is the problem of ordered sequential files access?

906


what are decleratives in cobol?

1999


How do get the result of your program directly on your pc?

2067


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1410


explain sorting techniques in cobol program?

889


What is the LINKAGE SECTION used in COBOL?

1191


How do define dynamic array in cobol.

857


how do you reference the esds vsam file formats from cobol programs

871


What are the different rules to perform a Search?

810


Which mode is used to operate the sequential file?

928