define sort? and its syntax?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the syntax of redefine?

669


why icetool be used in programmer view?

2335


Explain the input procedure?

694


Explain the input procedure and output procedure?

679


What is the syntax of sort?

693


What is redefine?

806


I like to know if possible to use %TRIM or any statement with prefiv "%" like RPG ile programs. thanks

2248


Define sort?

844


Explain how to update data area in cobol 400 program?

780


Explain how to convert 2010/02/11 to m/dd/yyy.. With string and without string if any other method... Code?

869


How to update data area in cobol 400 program?

775


Explain the output procedure?

786


What are fillers?

791


What is the actual use of fillers?

699


What is input procedure?

764