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
What is the usage of comp fields in cobol?
What is the difference between comp and comp-3 usage?
What is the Purpose of Pointer in the string?
how to access the file from prodution from changeman tool and to submit a file to production
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
What is link edit in cobol?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
What rules are followed by the search verb.
What is redefines clause in COBOL?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
how to move the records from file to array table. give with code example
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
what is difference between cobol and cobol/400