Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 to unpack a feild shr_amar DFSORT/ICETOOL 7 Fri Jul 07, 2017 4:32 am
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts Optimize sort inrec parse vishwakotin DFSORT/ICETOOL 6 Mon Jun 26, 2017 11:15 pm
No new posts Reduce CPU Times for Join Sort santoshn SYNCSORT 12 Sat Jun 10, 2017 1:40 pm
No new posts Db2 load job abending in SORT mistah kurtz DB2 4 Mon Jun 05, 2017 3:58 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us