what is sort? whis is internal & external sort ?when do u go
for inter sort & external sort? tell about some sort utilites?

Answers were Sorted based on User's Feedback



what is sort? whis is internal & external sort ?when do u go for inter sort & external sor..

Answer / sreedevi

external sort is done by jcl using dfsort,icetool utilities
internal sort is done by cobol sort

Is This Answer Correct ?    12 Yes 0 No

what is sort? whis is internal & external sort ?when do u go for inter sort & external sor..

Answer / vikash chawla

Sort is a utility using which we can sort a VSAM/ NON-VSAM
file in a perticuler order i.e Assending or Discendin.

Internal Sort - It is a process to sort the file using JCL
External Sort - It is a process to sort the file using
cobol program .

Sort Utilites

sort INREC " select the fields then sort then"
sort OUTREC " sort the fields then select the records out
of them

Include " include a perticuler record
omit " except the perticuler record"

Sum fields = NONE to elemintae duplicate records

sort fields = (start postion , number of characters , type,
order )

Is This Answer Correct ?    6 Yes 10 No

Post New Answer

More COBOL Interview Questions

Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

0 Answers  


What is the difference between a binary search and a sequential search what are the pertinent cobol?

0 Answers  


if you code move high-values to variable,can you move it into numeric variable or alphanumeric variable?

1 Answers   Patni,


What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(9) VALUE SPACES. 01 WS-VARN REDEFINES WS-VARX PIC 9(9).

8 Answers  


With in these three which one is the default one Call Reference, Call By Value, Call By Content.-Which one is default?

4 Answers   IBM,






What is Comm?

2 Answers   IBM, Kemper Corporation,


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

0 Answers  


How to resolve the soc4 and soc7 errors?

5 Answers   IBM, RBS,


What is the LINKAGE SECTION used in COBOL?

0 Answers   UGC Corporation,


what is ASRA, AEY9?

2 Answers   IBM,


01 ws-p pic 9(2). 01 ws-q pic 9(2) value 01. 01 ws-r pic 9(2) value 99. p.d. compute p = q + r what will be result of p ans(00) but my question is that how i got 10 on the place of 00. (truncation will ocuure on right side not left). please tell me ?

6 Answers   L&T,


How to read records in reverse order in flat file? I know we can do it by reading all records into an array.... Then read records in reverse order by using subscript or index but can any body give me the exact code.

5 Answers   TCS,


Categories