Frank,  The INCLUDE statement used
INCLUDE COND=((5,1,CH,EQ,C'X'),
       AND,
              ((164,8,CH,EQ,C'SHELF'),
       AND,
              (1326,5,CH,LT,C'    2')),
       AND,
              (156,8,CH,EQ,C'VLT1'),
       OR,
              (156,8,CH,EQ,C'DR2H'),
       OR,
              (156,8,CH,EQ,C'DR8H'),
       OR,
              (156,8,CH,EQ,C'DR8A'),
       OR,
              (156,8,CH,EQ,C'DR8B'),
       OR,
              (156,8,CH,EQ,C'DR8C'))
should have avoided including any record which did NOT have 'X' in column
5.  Maybe I read the AND and OR logic wrong, but seems that the first 3
fields must all be true, and the final field can be any one of the  6
values.  Will a short record be included regardless of the INCLUDE logic?

Mike Wood   RMM Development

On Wed, 26 Oct 2005 10:19:50 -0700, Frank Yaeger <[EMAIL PROTECTED]> wrote:

<snip>
>Without seeing your data, I can only guess that you're getting V records
>that have DR2H, DR8H, DR8A, DR8B or DR8C in 156.  Your INCLUDE statement
>has ORs for that, so if those ORs are satisfied for records other than X
>records, you'll get those other records.
</snip>
>
>Frank Yaeger - DFSORT Team (IBM)
> Specialties: ICETOOL, IFTHEN, OVERLAY, Symbols, Migration
> => DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort/

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to