View previous topic :: View next topic
|
Author |
Message |
Somasundaram
New User
Joined: 15 Jul 2005 Posts: 3
|
|
|
|
Which sorting is efficient jcl sorting or cobol sorting? |
|
Back to top |
|
|
sril.krishy
Active User
Joined: 30 Jul 2005 Posts: 183 Location: hyderabad
|
|
|
|
The JCL sort is more efficient and easy to handle.Where as the COBOL internal sort I/O operations are slower.The another and biggest disadvantage with the cobol sort is,whenever you want to chage your sort cretiria,then you need to compile and link the program.
But in case of JCL's SORT(DF SORT OR SYNCSORT) ,you just need to change the sysin card.
Thanks
Krishy |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Quote: |
Which sorting is efficient jcl sorting or cobol sorting? |
Actually, the COBOL SORT statement results in a call to DFSORT under the covers. So the performance of COBOL SORT vs PGM=SORT depends on the COBOL and DFSORT features you use (e.g. FASTSRT, NOFASTSRT, USING, GIVING, INPUT and OUTPUT, control statements, etc) .
For more information on the performance implications of using COBOL SORT vs PGM=SORT, see "Chapter 6 Application Considerations" of "z/OS DFSORT Tuning Guide". You can access it online at:
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ICE1CT00/6.0?DT=20031124135012 |
|
Back to top |
|
|
|