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 Difference between TWALENG and TWASIZE Arunkumar Chandrasekaran CICS 3 Tue Jan 03, 2017 12:57 pm
No new posts Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm


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