IBM COBOL400 Question:
Download Job Interview Questions and Answers PDF
Define sort? and its syntax?
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
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 Interview Questions And Answers
PDF
Previous Question | Next Question |
What is INPUT PROCEDURE and OUTPUT PROCEDURE? | What is the difference between section,paragraph and sentences? |