Hi,
During the comparing with MFSORT, I've got different results on SORT with only INCLUDE COND.
Example on file with all records that respect the condition:
MFSORT --> INCLUDE COND=(1,3,PD,EQ,0) the output file is equals to input
GCSORT --> INCLUDE COND=(1,3,PD,EQ,0) the output file is empty
MFSORT --> SORT FIELDS=COPY INCLUDE COND=(1,3,PD,EQ,0) the output file is equals to input
GCSORT --> SORT FIELDS=COPY INCLUDE COND=(1,3,PD,EQ,0) the output file is equals to input
MFSORT --> OPTION COPY INCLUDE COND=(1,3,PD,EQ,0) the output file is equals to input
GCSORT --> OPTION COPY INCLUDE COND=(1,3,PD,EQ,0) the output file is equals to input
Is possible to implement the same behavior in GCSORT?
Thank you.
Hello,
revision [contrib:r972] (source job.c) contains the implementation of what is requested.
Now you can also execute the
INCLUDE CONDstatement alone without theCOPYcommand.Greetings.
Sauro
Related
Commit: [r972]
Last edit: Simon Sobisch 2021-09-03
Hello,
I tested the updated version and it's working properly.
Thank you for the prompt fix.
Maksym
Thanks for the report - and the quick fix!