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
how to move the records from file to array table. give with code example
Why did you choose to work with ibm mainframe cobol programming?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
What are the pertinent COBOL commands?
What are the different rules to perform a Search?
Whats the difference between search & search ALL?
What is the Purpose of Pointer in the string?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
What is the compute verb? How is it used?
Explain how to differentiate call by context by comparing it to other calls?
Name some of the examples of COBOl 11?
What is rmode(any) ?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
How to know whether the module is dynamical or statistical?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......