define sort? and its syntax?

Answers were Sorted based on User's Feedback



define sort? and its syntax?..

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

define sort? and its syntax?..

Answer / swetha p rao

Sort in the sense ? there is an opcode for sorting array

SORTA sorts the array in ascending order

Is This Answer Correct ?    5 Yes 1 No

define sort? and its syntax?..

Answer / tim austin

There is no need in an as400 COBOL shop to ever use a sort.
Data is organized by keyed physical files or alternate
logical paths over the physical path. The most Inefficient
thing you can do in as400 cobol is to have the program
attempt to sort data

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More COBOL400 Interview Questions

What is the syntax of sort?

0 Answers  


i have two programs 1.cobol program 2.copy book program can i move bouth program in to the production or single single program?

1 Answers   UHG,


what is the difference between SEARCH and SEARCHALL?

2 Answers  


It's possible use %TRIM statement like rpgile?

2 Answers  


can i anyone tell me how to use copybooks in cobol

1 Answers  






What is the actual use of fillers?

0 Answers  


Deleting a record from a Sequential file.

2 Answers   Polaris,


Explain the difference between section, paragraph and sentences?

0 Answers  


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

0 Answers  


Can we open close file in COBOL any number of times?

2 Answers   Kanbay,


how array can be declare in cobol?

6 Answers  


What is perform?

0 Answers  


Categories