Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
help:difference between external n internal sort

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
priyabrata mohanty

New User


Joined: 04 Mar 2005
Posts: 8
Location: bangalore

PostPosted: Mon Mar 07, 2005 7:03 pm    Post subject: help:difference between external n internal sort
Reply with quote

hi friends,
can anybody say whts the difference between internal and external sort and which one is more effecient to use(i.e. where to use which one)? if cobol sort stmt is converted to jcl dfsort stmt before cobol pgm run, then whts the advantage of using jcl sort ?
thankx n regards,
priyabrata mohanty.
Back to top
View user's profile Send private message

Frank Yaeger

DFSORT Moderator


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

PostPosted: Tue Mar 08, 2005 1:36 am    Post subject:
Reply with quote

See Chapter 6 of "z/OS DFSORT Tuning Guide" for some insight on this. You can access it online at:

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ICE1CT00/6.0?DT=20031124135012

If you prefer the pdf version, you can access it from:

www.ibm.com/servers/storage/support/software/sort/mvs/srtmpub.html
Back to top
View user's profile Send private message
jeyaprakashmN

New User


Joined: 08 Mar 2005
Posts: 4
Location: Bangalore

PostPosted: Tue Mar 08, 2005 9:52 am    Post subject:
Reply with quote

DFSORT two types .
1. MVS Utility called " SORT " also know as "Stand Alone sort.
2. Using High level lanhauage Like Cobol, Fortron know as "Internal Sort ".

If you want to know which one best means " Stand alone sort" is best., .

Advantage : If you want to resequence with different format or different fields, it's very easy to change and memory (Space) also very less and very fast.
Whereas Internal Sort , you have to change the coding in program every time than compilering all the jobs, it will take more time.

Jeya Prakash Narayanan.M
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


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

PostPosted: Tue Mar 08, 2005 10:34 pm    Post subject:
Reply with quote

Jeya,

Actually, the "internal" sort (COBOL SORT statement) calls the "Stand Alone sort" (e.g. DFSORT). And you can use control statements for DFSORT along with the "internal" sort (e.g. with DFSPARM).

Please see the links I mentioned above for more information on this.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts JOINKEYS Paired and Unpaired Sort MFwhiz DFSORT/ICETOOL 4 Fri Sep 29, 2017 1:48 am
No new posts Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 5 Fri Sep 22, 2017 4:56 pm
No new posts OC4 in SORT Mohan Kothakota DFSORT/ICETOOL 2 Tue Sep 12, 2017 6:30 pm
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us