I have two files , file1 is input file it contains
10,20,30,....,records
but i want to display the records in file 2 as reverse order
.how can we do by using jcl& cobol(dont use array)
please any one can tell me the answer

Answer Posted / rajesh

using count statement

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

4058


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17037


Are you comfortable in cobol or jcl?

643


What is the difference between PIC 9.99 and 9v99 in COBOL?

732


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

5687






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

1637


What is the compute verb? How is it used?

660


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

897


How to know whether the module is dynamical or statistical?

656


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

932


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

720


Why would you use find and get rather than to obtain?

687


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

2008


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

748


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

684