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

What is sort?

529


Define redefine and its syntax?

533


How to detect record is locked in cobol/400?

530


Explain the types of perform?

519


Define sort?

573






What is output procedure?

533


What are fillers?

518


Explain the difference between section, paragraph and sentences?

500


Define redefine?

550


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

2055


seqence numbers in cobol

2652


Explain the input procedure and output procedure?

510


Explain the difference between search and searchall?

503


What is perform?

527


What is the syntax of redefine?

524