garunmj
New User
Joined: 10 Jul 2014 Posts: 3 Location: USA
|
|
|
|
HI,
Needed help with the following problem. I am trying to write the counts (only) of records which satisfies certain conditions in to 3 different files. the following is the SORT card I am using.
Code: |
SYSIN :
SORT FIELDS=COPY
OUTFIL FILES=01,
INCLUDE=(52,2,CH,EQ,C'LS',AND,(138,3,CH,EQ,C'ACT',OR,
138,4,CH,EQ,C'TACT'),AND,
1109,20,CH,EQ,C'OAK ISLAND'),NODETAIL,
TRAILER1=(COUNT=(M10,LENGTH=10))
OUTFIL FILES=02,
INCLUDE=(52,2,CH,EQ,C'LS',AND,(138,3,CH,EQ,C'ACT',OR,
138,4,CH,EQ,C'TACT'),NODETAIL,
TRAILER1=(COUNT=(M10,LENGTH=10))
*
OUTFIL FILES=03,
INCLUDE=(138,3,CH,EQ,C'ACT',OR,
138,4,CH,EQ,C'TACT'),NODETAIL,
TRAILER1=(COUNT=(M10,LENGTH=10))
WER268A OUTFIL STATEMENT : SYNTAX ERROR
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
|
Can you tell me the correct syntax?
Thanks
George
Code'd |
|