How do you sort in a COBOL program? Give sort file
definition, sort statement syntax and meaning.
Answer Posted / mftech
Need to define the SORT-FILE in SD in file section.
Sort SORT-FILE
Using Input-File
Giving Output-File
Can also use inout procedure and output ptocedure inplace
of input fiile and output files.
Is This Answer Correct ? | 14 Yes | 10 No |
Post New Answer View All Answers
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
How are the next sentence and continue different from each other?
Which division and paragraphs are mandatory for a COBOL program?
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?
How do define dynamic array in cobol.
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
Give some examples of command terminators?
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...)
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?
Which Search verb is equivalent to PERFORM…VARYING?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What is difference between static and dynamic call in cobol?
Why would you use find and get rather than to obtain?
What is static and dynamic call in cobol?