>>> I read that before, but this is not really truth. Dfsort run correctly 
if I write an INCLUDE and an OMIT like this examples:

Hilario,


As Bill woodger kindly pointed out, you should pay attention to your 
sysout messages and if you look closely you will find this 

ICE002I 0 DUPLICATE OR CONFLICTING OMIT     STATEMENT 


Since you had the INCLUDE cond as the first statment, the second OMIT 
statement is discarded. The text between the words "conflicting" and 
"statement" is variable, so DFSORT will fill out what it considers as 
duplicate and fill that variable text. So what you thought as working is 
not what DFSORT did. So please follow the manual and it is correctly 
documented the way DFSORT processed your control cards.

Thanks,
Kolusu
DFSORT Development
IBM Corporation

IBM Mainframe Discussion List <[email protected]> wrote on 
02/08/2016 12:37:02 AM:

> From: Hilario Garcia <[email protected]>
> To: [email protected]
> Date: 02/08/2016 12:37 AM
> Subject: Re: Error ICE007A on ICETOOL OMIT sentence
> Sent by: IBM Mainframe Discussion List <[email protected]>
> 
> Hello,
> 
> On book "Application Programmer Guide" appear the text:
> 
> "You can specify either an INCLUDE statement or an OMIT statement in the 
same
> DFSORT run, but not both".
> 
> I read that before, but this is not really truth. Dfsort run 
> correctly if I write an INCLUDE and an OMIT like this examples:
> 
> INCLUDE COND=(6,1,CH,EQ,X'1E',AND, 
>              178,1,CH,EQ,X'05') 
> OMIT    COND=(239,3,CH,EQ,C'JOB')
> 
> Too work correctly with this syntax: 
> 
> INCLUDE COND=(6,1,CH,EQ,X'1E',AND, 
>              178,1,CH,EQ,X'05') 
> OMIT    COND=(239,3,CH,EQ,C'JOB',OR,239,3,CH,EQ,C'SYS')
> 
> But didn't work this syntax:
> 
> INCLUDE COND=(6,1,CH,EQ,X'1E',AND, 
>              178,1,CH,EQ,X'05') 
> OMIT    COND=(239,3,CH,EQ,C'JOB',OR,
>               239,3,CH,EQ,C'SYS') 
> 
> I will try to put all the logic on INCLUDE statement.
> 
> Thanks in advance
> 
> Kind regards.
> 
> Hilario 
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
> 



----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to