Answers

Question and Answer:

  Home  IBM COBOL400

⟩ Define sort? and its syntax?

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

 145 views

More Questions for you: