what is sort? whis is internal & external sort ?when do u go
for inter sort & external sort? tell about some sort utilites?
Answer Posted / 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 View All Answers
How do you define a variable of comp-1 and comp-2?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
what is difference between cobol and cobol/400
What is the utilization of copybook in cobol?
Which mode is used to operate the sequential file?
What is redefines clause in COBOL?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
What is the difference between structured cobol programming and object alternativelyiented cobol?
When is inspect verb is used in cobol?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What is perform what is varying?
Explain how you can characterize tables in cobol?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
explain sorting techniques in cobol program?