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


Please Help Members By Posting Answers For Below Questions

Whats the difference between search & search ALL?

5243


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

1874


State the various causes of s0c1, s0c5 and s0c7.

656


What is the local-storage section?

673


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

701






For rewrite, why is it mandatory that file needs to be opened?

616


What is cobol?

736


Explain the configuration section of a cobol program with examples of syntax.

650


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

1915


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

812


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

6796


What are literals?

622


how do you reference the printer file formats from cobol programs

648


Write a program that uses move corresponding.

667


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

728