Page 1 of 1

NO KEYWORDS Message (WER275A)

PostPosted: Tue Dec 22, 2009 10:58 pm
by gmosley
This message is pretty obtuse: NO KEYWORDS FOUND ON CONTROL STATEMENT
The explanation: "A required keyword has not been specified on a Sync-Sort control statement."
It would be helpful to know which one.
Here's the code:
SORT FIELDS=(1,2,CH,A,                   ** BATCH NUMBER   
             3,4,BI,A,                             ** ACCOUNT NUMBER 
             7,2,CH,A,                            ** STMNT LINE TYPE
             12,10,CH,A)                         ** CLAIM #/ACTY DTE
INCLUDE COND=(1,2,CH,EQ,C'01',                                       
       OR,1,2,CH,EQ,C'02',                                           
       OR,1,2,CH,EQ,C'05',                                           
       OR,1,2,CH,EQ,C'06')                                           
DYNALLOC=(SYSDA,6) 


Can anyone spot what's wrong? Or even offer a clue as to where to look?
Thanks.
George

Re: NO KEYWORDS Message (WER275A)

PostPosted: Tue Dec 22, 2009 11:47 pm
by Alissa Margulies
DYNALLOC is not a control statement. It must be specified either as a runtime parameter on the EXEC statement, in the $ORTPARM DD statement, or on the SORT control statement.

Re: NO KEYWORDS Message (WER275A)

PostPosted: Wed Dec 23, 2009 3:02 am
by gmosley
Thanks, Alissa. Passed your comment on to my user and she reports back: success!

Re: NO KEYWORDS Message (WER275A)

PostPosted: Wed Dec 23, 2009 3:32 am
by Alissa Margulies
Glad to hear it. Thanks for letting us know.