IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Which sorting is efficient jcl sorting or cobol sorting


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Somasundaram

New User


Joined: 15 Jul 2005
Posts: 3

PostPosted: Sat Jul 30, 2005 11:36 am
Reply with quote

Which sorting is efficient jcl sorting or cobol sorting?
Back to top
View user's profile Send private message
sril.krishy

Active User


Joined: 30 Jul 2005
Posts: 183
Location: hyderabad

PostPosted: Sun Jul 31, 2005 11:51 pm
Reply with quote

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
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Mon Aug 01, 2005 1:50 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top