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

help:difference between external n internal sort


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
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
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 Developer


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

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

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

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:

Use [URL] BBCode for External Links
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
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 Developer


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

PostPosted: Tue Mar 08, 2005 10:34 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts how to calculate SUM value for VB fil... DFSORT/ICETOOL 1
Search our Forums:

Back to Top