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

In an array processing what is the thing that can be done by using subscripts but not by using index

4 Answers   JPMorgan Chase,


i have a file which contains records like 10,30,90,50,20,40,80,60,70 i want to display these records in reverse order like 70,60,80,40,20,50,90,30,10 please give me the cobol code (do not sort the records)

3 Answers   Cap Gemini, Mind Tree,


What is the meaning of 'Eject' verb in cobol?

2 Answers   TCS, Wipro,


can any one help -s806

6 Answers  


wht is structured cobol pgm and non structred cobol pgm ?

1 Answers   CTS, DELL,






study the following 01 A PIC 99V0 VALUE 5 01 B PIC 9V9 VALUE 6 01 C PIC 99V9 VALUE 2.5 01 D PIC 99 VALUE 3 COMPUTE A ROUNDED B C = A+B*C/D ON SIZE ERROR PERFORM PRINT-ERROR the comments of A.B.C after execution of the above statement are a.A=10 B=0 C=10 b.A=10 B=9.9 C=9.9 c.A=10 B=0 C=9.9 d.A=10 B=6 C=10

4 Answers   TCS,


What is the difference between performing a SECTION and a PARAGRAPH?

5 Answers   Accenture, Patni,


How do get the result of your program directly on your pc?

0 Answers   UST,


IDENTIFICATION DIVISION. PROGRAM-ID. MOVEPGM. DATA DIVISION. WORKING-STORAGE SECTION. 01 WS-I PIC 9(2). PROCEDURE DIVISION. A1000-MAIN-PARA. PERFORM PARA-X WITH TEST BEFORE UNTIL WS-I= 5 STOP RUN. PARA-X. DISPLAY "BEST2". I m getting error s722,while executing the program, seems getting in loop, can anybody tell me why

3 Answers  


How do you define a sort file in JCL that runs the COBOL program?

6 Answers   Syntel,


What are the differences between OS VS COBOL and VS COBOL II?

1 Answers   IBM,


How is sign stored in a COMP field ?

3 Answers   Accenture,






Categories