Hi everybody,

I'm working on a dataset coming from LISTC LEV something ALL.

I want to extract only a subset of records with the following SYSIN:

//SYSIN    DD *
*INCLUDE COND=(6,4,CH,EQ,C'DATA')                COND #1
*INCLUDE COND=(71,7,CH,EQ,C'TRACKS-')            COND #2
 INCLUDE COND=(6,4,CH,EQ,C'DATA',OR,             COND #1 OR #2
  71,7,CH,EQ,C'TRACKS-')
 SORT FIELDS=COPY
/*

Input is a VBA dataset.

The case I use OR condition only the second condition seems to extract data
to the output file.
If I use COND#1 or COND#2 separately, they both work fine.
Nothing changed swapping the order of the two conditions.

Basically there's something simple I can't see.
Any hint ?

Thanks a lot in advance.
Max.


<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Privo
di virus.www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

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

Reply via email to