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 care has to be taken to force program to execute above 16 Meg line?

1 Answers  


Did anybody attend the walkin of TCS on 31st July in Gurgaon for any technology,If u have completed 3 round i.e till the HR round,have u received the Offer letter yet? Please let me know.Thanks.

1 Answers  


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length

2 Answers   IBM, Wipro,


what is meant by binary search?

4 Answers  


if you give cylinder(1,1)how many cylinders it will be allocate?

3 Answers   Hewitt,






What is the difference between a binary search and a sequential search?

10 Answers  


What is ASKTIME, SUSPEND

1 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,


Have you used comp and comp-3 in your project? And how?

0 Answers   IBM,


input:-AABBCCDDEFGHIIJ output:- ABCDEFGHIJ Here in input we hav the duplicate characters i.e repeating characters.SO we should eliminate the duplicate characters and should display the output in ascending order.

6 Answers  


) How do u handle errors in BMS macro

0 Answers   IBM,


I had 100 records and i want to execute last three records by using cobol programming?what will be coding?

4 Answers   IBM,






Categories