You have unintentionally confused "the step runs to the end" with "run 
correctly".

If I put in your three sets of Control Cards, in the SYSOUT output for each I 
get "ICE002I 0 DUPLICATE OR CONFLICTING OMIT     STATEMENT".

That's an informational message, and it doesn't explicitly tell you what it has 
done, but it has discarded the line. 

When the line being discarded has a continuation, the next line is not good 
syntax, so you get told that.

You have two cases: complete Control Card discarded because you are not allowed 
to do that; partial Control Card discarded because you are not allowed to do 
that.

DFSORT is correct, your Control Cards (when no syntax error) do not do what you 
think, but what DFSORT tells you they do.


On Monday, 8 February 2016 07:37:12 UTC, Hilario Garcia  wrote:
> 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

Reply via email to