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
Whats the difference between search & search ALL?
How do get the result of your program directly on your pc?
State the various causes of s0c1, s0c5 and s0c7.
What is the local-storage section?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
For rewrite, why is it mandatory that file needs to be opened?
What is cobol?
Explain the configuration section of a cobol program with examples of syntax.
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...)
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
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?
What are literals?
how do you reference the printer file formats from cobol programs
Write a program that uses move corresponding.
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?