View previous topic :: View next topic
|
Author |
Message |
rahul_jot
New User
Joined: 17 Aug 2005 Posts: 22 Location: Pune
|
|
|
|
Hi,
We have input file with multiple fields.
We have to use conditions to extract only some of the input records.
We want to select only few fields from input.
We will hard code few values in the output.
In such case we are planning to use DFSORT with INCLUDE COND and OUTREC keywords. Also we will use C'XXXXXX' in outrec to hard code the values.
In this requirement scenario, whether DFSORT or COBOL will provide better execution performance?
Thanks,
Rahul. |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
The performance of DFSORT will probably be better than that of a COBOL program, but not by much. Unless you are manipulating sagans of records, you would be better off considering such things as comprehensibility and ease of maintenance. |
|
Back to top |
|
|
|