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 have two questions here. 1. How to read a flat file in reverse order? 2. How to read a VSAM KSDS file in reverse order? In both the cases we donot know the total number of records.
) What is the use of IGNORE?
How to read the last 100 records from a COBOL file. The file contains N number of records.
what is Reentrancy and Quasi-reentrancy?
i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?
What is the mode in which you will OPEN a file for writing?
can we use reference modification an arry.
What are the pertinent COBOL commands?
Can we put move statement in COBOL copybook
What are decleratives in COBOL ?
How many types of sorts are there in cobol?
Sending data is aplhabetic size 7 (value 3000), I wantated this value to be stored in database, which is defined as s9(7)v9(2)comp-3.