OMIT Condition is not working in SORT



Support for NetApp SyncSort for z/OS, Visual SyncSort, SYNCINIT, SYNCLIST and SYNCTOOL

OMIT Condition is not working in SORT

Postby usp343 » Wed Apr 03, 2013 4:50 am

Hi,

I've wrote one OMIT SORT but some how its not working,find below the condition where its failing:-

(1,25,CH,EQ,C'005011..056868900001022 ',AND,120,5,BI,EQ,X'00164C'),OR,
(1,25,CH,EQ,C'005011..067660567001022 ',AND,120,5,BI,EQ,X'00110C'),OR,
(1,25,CH,EQ,C'005011..077624936001022 ',AND,120,5,BI,EQ,X'00547C'),OR,
(1,25,CH,EQ,C'005011..080568411001022 ',AND,120,5,BI,EQ,X'00133C'),OR,
(1,25,CH,EQ,C'005011..080568411001022 ',AND,120,5,BI,EQ,X'00134C'),OR,
(1,25,CH,EQ,C'005011..080581557001022 ',AND,120,5,BI,EQ,X'00602C'),OR,
(1,25,CH,EQ,C'005011..087563162001022 ',AND,120,5,BI,EQ,X'00678C'),OR,
(1,25,CH,EQ,C'005011..099643477001022 ',AND,120,5,BI,EQ,X'00648C'),OR,
(1,25,CH,EQ,C'005011..099689453001022 ',AND,120,5,BI,EQ,X'00699C'),OR,
(1,25,CH,EQ,C'005011..105605181001022 ',AND,120,5,BI,EQ,X'00520C'),OR,
(1,25,CH,EQ,C'005011..106829358001022 ',AND,120,5,BI,EQ,X'00204C'),OR,
(1,25,CH,EQ,C'005011..116445108001022 ',AND,120,5,BI,EQ,X'00655C'),OR,
(1,25,CH,EQ,C'005011..117729177001022 ',AND,120,5,BI,EQ,X'00590C'),OR,
(1,25,CH,EQ,C'005011..128740180001022 ',AND,120,5,BI,EQ,X'00644C'),OR,
(1,25,CH,EQ,C'005011..580065879001022 ',AND,120,5,BI,EQ,X'00154C'),OR,
(1,25,CH,EQ,C'005011..604825532001022 ',AND,120,5,BI,EQ,X'00262C'),OR,
(1,25,CH,EQ,C'005667..471784563 ',AND,120,5,BI,EQ,X'00184C'),

SPOOL MSG:-

SYNCSORT LICENSED FOR CPU SERIAL NUMBER 1AD35, MODEL 2097 606             
 SYSIN :                                                                   
  SORT FIELDS=(1,6,CH,A,09,17,CH,A,26,5,BI,A,31,5,BI,A,                   
               36,3,BI,A,39,6,BI,A)                                       
  OMIT COND=((26,5,PD,LT,20120401),OR,                                     
 (1,25,CH,EQ,C'005011  056868900001022  ',AND,120,5,BI,EQ,X'00164C'),OR,   
                                        *                                 
 (1,25,CH,EQ,C'005011  067660567001022  ',AND,120,5,BI,EQ,X'00110C'),OR,   
                                        *                                 
 (1,25,CH,EQ,C'005011  077624936001022  ',AND,120,5,BI,EQ,X'00547C'),OR,   
                                        *                                 
 (1,25,CH,EQ,C'005011  080568411001022  ',AND,120,5,BI,EQ,X'00133C'),OR,   
                                        *                                 
 (1,25,CH,EQ,C'005011  080568411001022  ',AND,120,5,BI,EQ,X'00134C'),OR,   
                                        *                                 
WER268A  OMIT STATEMENT    : SYNTAX ERROR         
WER275A  NO KEYWORDS FOUND ON CONTROL STATEMENT   
WER275A  NO KEYWORDS FOUND ON CONTROL STATEMENT   
WER275A  NO KEYWORDS FOUND ON CONTROL STATEMENT   
WER275A  NO KEYWORDS FOUND ON CONTROL STATEMENT 


Can someone please help me in this.

Thanks!
Uma

Code'd
usp343
 
Posts: 4
Joined: Thu Jan 03, 2013 9:32 pm
Has thanked: 0 time
Been thanked: 0 time

Re: OMIT Condition is not working in SORT

Postby BillyBoyo » Wed Apr 03, 2013 5:30 am

I think your continuation lines are starting in column one. Move them all to the right, at least one character. This can be done with the ))1 block command in the editor.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: OMIT Condition is not working in SORT

Postby NicC » Wed Apr 03, 2013 12:21 pm

As this is a sort problem and not a JCL problem it is being moved to a sort forum - SYNCSORT in this cse as your messages begin WER. Please take the time to post in the correct section of the forum if you want us to tke the time to help you.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times


Return to Syncsort/Synctool

 


  • Related topics
    Replies
    Views
    Last post