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

What is the advantage of Internal SORT over JCL SORT


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
praneethgokul

New User


Joined: 06 May 2005
Posts: 20
Location: Bangalore

PostPosted: Tue Sep 20, 2005 7:05 pm
Reply with quote

Hi all,

I got a small doubt. Please clarify me

What is the advantage of Internal SORT (COBOL) over the External SORT (JCL) ?


Thanks in advance.
Back to top
View user's profile Send private message
prasad_kdd

New User


Joined: 17 Aug 2005
Posts: 5

PostPosted: Thu Sep 22, 2005 10:30 am
Reply with quote

Hi praneeth,
An external sort is not COBOL; it is performed through JCL and PGM=SORT. It is understandable without any code reference.
An internal sort can use two different syntax?s:
1) USING, GIVING sorts are comparable to external sorts with no extra file processing;
2) INPUT PROCEDURE, OUTPUT PROCEDURE sorts allow for data manipulation before and/or after the sort
Back to top
View user's profile Send private message
Sridevi_C

Active User


Joined: 22 Sep 2005
Posts: 104
Location: Concord, New Hampshire, USA.

PostPosted: Sat Oct 01, 2005 12:32 pm
Reply with quote

Hi,
Simple sort(USING,GIVING) is comparable to external sort. Complex sort (INPUT/OUTPUT PROCEDURE) is comparable to external sort (by using INCLUDE,OMIT,INREC,OUTREC and others). External sort is faster and advantageous.I don't find internal sort advantageous in any way compared to external sort. Experts,help!
Thanks,
Sridevi.
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Sun Oct 02, 2005 12:52 pm
Reply with quote

Its EXTERNAL SORT.....

You would like to see this topic discussed earlier .....

http://ibmmainframes.com/viewtopic.php?t=2037
http://ibmmainframes.com/viewtopic.php?t=1589

Regards,

Priyesh.
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
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
No new posts how to calculate SUM for VB file usin... JCL & VSAM 1
Search our Forums:

Back to Top