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
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 |
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 | 10 No |
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
What is the difference between a binary search and a sequential search?
Which of the following EDITind and PICTURE symbols is to be used if a minus(-) is to appear before the value if the value is -ve and a plus(+) is to appear before the value if the value is +ve? (a) + (b) - (c) + OR (d) It is not possible
how to access vsam files in cobol and how to differentiate that this is ESDS file
How many types of sorts are there in cobol?
What is the Purpose of Pointer in the string?
Hi Guys, I have faced one interview question if I have requirement to add 5 new columns to existing table what are prerequisite do i need to take.
I hav vari declaration like..... 77 a pic s9(9).99. 77 b pic s9(9).99 comp. 77 c pic s9(9).99 comp-3. if i use MOVE 123456789.99 to a,b,c what happen every one working fine ?
What is the difference between goback, stop run and exit program in cobol?
I have a Flat file in which certain records are present in a tabular format. I need to extract some of the records on some basis from it and copy them into a flat file...how it can be done ??
how the control comes back from subprogram to mainprogram