IBM COBOL400 Question:

Define sort? and its syntax?

Tweet Share WhatsApp

Answer:

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

Download IBM COBOL400 PDF Read All 19 IBM COBOL400 Questions
Previous QuestionNext Question
What is INPUT PROCEDURE and OUTPUT PROCEDURE?What is the difference between section,paragraph and sentences?