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 |
What are different file OPEN modes available in COBOL?
Have you code any new programs in COBOL ? What is the functionality of the programs?
How do you define a variable of comp-1 and comp-2?
What is the local-storage section?
wirte a pgm in using files in which we hav 10 ,20,30 40...100 records in inputfile and i want them to be send to outputfile in reverse order. PLZ HELP ME OUT .........THIS IS A RECENT QUESTION IN IGATE..
wht is the diff b/w if and evaluate stmts ?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
I have a sequential file of 100 records. How do I load the records into a two dimensional array ?
What guidelines should be followed to write a structured Cobol program?
consider the following two statements MOVE 10 TO N PERFORM PARA-X N TIMES STOP RUN PARA-X MOVE 5 TO N how many times PARA-X willbe exicuted? a.10 b.5 c.infinate d.execution error
what is internal sort and external sort ? which is preferable ?
I have a Main Program which is calling Sub-Program which is a DB2 pgm. What will happen if I am not closing the cursor used in the Sub-program? Please advise..