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 9 No

Post New Answer




More COBOL Interview Questions

What is the reference modification.

2 Answers  


can u give result for the fallowing example... 05 a pic 9(2) 05 b redifines a pic x(2). move 'xy' to b. display a,b.

10 Answers   IBM,


what is redefines? where it can be effectively use for the purpose of memory utilization? give an example?

4 Answers   IBM,


What R 2 of the common forms of the EVALUATE STATEMENT ?

1 Answers   Cap Gemini,


Without using move verb how to move one variable to another.

5 Answers  






consider the following piece of code 01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05 ALLOWENCES PIC 9(3) if BASIC-PAY has a value 1000 and ALLOWENCES has a value of 250,what will be displayed by the statement DISPLAY GROSS-PAY a.1250 b.01000250 c.01250 d.1.250

3 Answers   TCS,


How to open and see copy book ?

3 Answers  


Why we are using comp and comp-3 in real time projects?

4 Answers   IBM,


can we use variable picture clause as xx.99 in cobol.

3 Answers  


I have 100 records in a file.. i want to sort the records from 5 to 5o... give the syntax...

2 Answers   DSRC, CTS,


Differentiate COBOL and COBOL-II?

0 Answers  


If by mistake we MOVE a working storage variable into LINKAGE area. What will happen??

4 Answers   Accenture,






Categories