star_dhruv2000
New User
Joined: 03 Nov 2006 Posts: 87 Location: Plymouth, MN USA
|
|
|
|
Hi all,
I am surrounded by a unique problem in DFSORT. I am trying to locate few records based on conditions. There are 9M + records spread among 50+ files.
I had concatenated all 50+ DSN's and scanned through following SYSIN:
Code: |
SORT FIELDS=COPY
INCLUDE COND=(23,6,CH,EQ,C' ---- ',OR,
44,7,CH,EQ,C'STARTED',OR,
44,5,CH,EQ,C'ENDED',OR,
35,5,CH,EQ,C'ENDED',OR,
6,10,CH,EQ,C'**** CYCLE',OR,
38,5,CH,EQ,C'CYCLE')
|
I am missing info. for
Code: |
6,10,CH,EQ,C'**** CYCLE' |
Apparently, When I run only
Code: |
6,10,CH,EQ,C'**** CYCLE' |
I get desired output. However, this is not populating any output with collective CONDs.
I ran few other tests:
1. Works Fine
Code: |
SORT FIELDS=COPY
INCLUDE COND=(6,10,CH,EQ,C'**** CYCLE',OR,23,6,CH,EQ,C' ---- ')
|
2. Fails
Code: |
SORT FIELDS=COPY
INCLUDE COND=(6,10,CH,EQ,C'**** CYCLE',OR,23,6,CH,EQ,C' ---- ',OR,
44,7,CH,EQ,C'STARTED')
|
3. Fails
Code: |
SORT FIELDS=COPY
INCLUDE COND=(6,10,CH,EQ,C'**** CYCLE',OR,44,7,CH,EQ,C'STARTED')
|
|
|