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

I have two questions here. 1. How to read a flat file in reverse order? 2. How to read a VSAM KSDS file in reverse order? In both the cases we donot know the total number of records.

2 Answers   L&T,


) What is the use of IGNORE?

1 Answers   IBM,


How to read the last 100 records from a COBOL file. The file contains N number of records.

11 Answers   IBM,


what is Reentrancy and Quasi-reentrancy?

1 Answers  


i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?

5 Answers   HCL,






What is the mode in which you will OPEN a file for writing?

4 Answers  


can we use reference modification an arry.

1 Answers  


What are the pertinent COBOL commands?

0 Answers   Satyam,


Can we put move statement in COBOL copybook

3 Answers   Global Logic,


What are decleratives in COBOL ?

1 Answers   Xansa,


How many types of sorts are there in cobol?

5 Answers   Cap Gemini,


Sending data is aplhabetic size 7 (value 3000), I wantated this value to be stored in database, which is defined as s9(7)v9(2)comp-3.

2 Answers  


Categories