View previous topic :: View next topic
|
Author |
Message |
amitc23
New User
Joined: 05 Nov 2014 Posts: 95 Location: India
|
|
|
|
Hi
Are E15 and E35 routines used in Syncsort , basically an alternative to Cobol Input Procedure / Output Procedure.
Thanks |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
SyncSORT has those exits, and more. I'm not sure what you mean by the rest of the question. |
|
Back to top |
|
|
amitc23
New User
Joined: 05 Nov 2014 Posts: 95 Location: India
|
|
|
|
Hi Bill
I mean there is a file sort using cobol as well
SORT FILEA on SORT CRIETARIA using FILEA giving FILEB
INPUT PROCEDURE IS xxxxx
OUTPUT PROCEDURE IS yyyyyy.
I just wanted to know if E15 and E35 do the same work which is done by these Input and Output Procedures.
Basically these procedures too manipulate the record before the sort and after the sort. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
If you locate documentation, you will discover that COBOL sort procedures are E15 and E35 exits.
In SORT itself, INREC manipulates records prior to a SORT and OUTREC does the same post-SORT. OUTFIL can apply further post-SORT processing.
There is an overhead to using exits, and there is no longer a vast realm of things you can do in exits which you can't do outside.
COBOL also has compiler option FASTSRT, which will, if you follow the rules in the manual, give you better performance if you do use the COBOL SORT. |
|
Back to top |
|
|
|