define sort? and its syntax?
Answers were Sorted based on User's Feedback
Answer / chandana
Here the sort is considered as an internal sort that is we
want to manipulate the data before feeding it to sort.Else
in rest of the cases we use external sort.
The syntax is :
SORT SORTFILE ON ASCENDING/DESCENDING KEY
USING FILE1,FILE2/ INPUT PROCEDURE PARA-1
GIVING FILE3/ OUTPUT PROCEDURE PARA-2
| Is This Answer Correct ? | 8 Yes | 1 No |
Answer / swetha p rao
Sort in the sense ? there is an opcode for sorting array
SORTA sorts the array in ascending order
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / tim austin
There is no need in an as400 COBOL shop to ever use a sort.
Data is organized by keyed physical files or alternate
logical paths over the physical path. The most Inefficient
thing you can do in as400 cobol is to have the program
attempt to sort data
| Is This Answer Correct ? | 2 Yes | 0 No |
How to Convert 2010/02/11 to m/dd/yyy.. with string and without string if any other method... code
Trying to help a friend... How do you code screen I/O without a DDS? I know it can be done, because for a short time, I worked for a company that did it. It was just too long ago for me to remember what was involved.
WHAT ALL THE CONDITIONES REQUIRED FOR USING OPEN OPCODE ON A FILE?
what is INPUT PROCEDURE and OUTPUT PROCEDURE?
Can we open close file in COBOL any number of times?
Explain the difference between search and searchall?
Define redefine and its syntax?
What is the actual use of fillers?
When search all is used in cobol program without sorted input data
can i anyone tell me how to use copybooks in cobol
What is comp?
what is PERFORM? and its types?