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 |
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What are subroutines ? and how do we pass data to the sub routines?
I know my query will return more than one row but I don't want cursor what should I do?
what are difference organizations in cobol and access mode in cobol? can you expalin what organization means while declaring for ksds,esds,rrds?
How do pass the values to the parameters in cobol
File status must be checked both while opening and reading the file or only while reading the file?
I have a cobol program with a sub program. How ca i find that it is a dynamic call? or static call..?
I hv ten records in ps file and i hv say some 15 records in vsam file .i hv empno and age in ps file n empno,empname,dept n desig in vsam file. i hv 2 read the ps file n check wid matching empno in vsam file and then insert all fields from ps and vsam into db2 table....plz help in writin the procedure division
How does IDMS communicate with CICS?
What are the different rules for performing sort operation?
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 are the error codes in cobol, db2, cics, vsam , and jcl