Page 1 of 1

NO KEYWORDS FOUND ON CONTROL STATEMENT - Error

PostPosted: Tue Apr 15, 2014 7:58 pm
by adoanand
My sortcard and my error, I have posted here,
I cannot figure out what is the issue.
My input file is a GDG and Output file has DCB=(RECFM=FB,LRECL=400,BLKSIZE=16000)
based on input GDG,

SORTIN is DISP=SHR
SORTOUT is
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,SPACE=(TRK,(15,30),RLSE),
// DCB=(RECFM=FB,LRECL=400,BLKSIZE=16000)


**********My issue************

SORT FIELDS=COPY
     *
INCLUDE COND=(2,3,CH,EQ,C'FMX',OR,2,3,CH,EQ,C'FMP'),
        *
OUTFIL REMOVECC,NODETAIL,
       *
TRAILER1=(1:C'TR01,',6:COUNT+1=(M10,LENGTH=9)),
        VLTRIM=X'F0'
        *
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
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE

Coded

Re: NO KEYWORDS FOUND ON CONTROL STATEMENT - Error

PostPosted: Tue Apr 15, 2014 8:32 pm
by enrico-sorichetti
the WER message prefix suggests that You are using SYNCSORT ... NOT IBM DFSORT

and SYNCSORT has it' s own section

if You had cared to use the code tags ( without )

             if You had cared to use the code tags ( with )
note that leading blanks have been mantained


we could have found if You could have spacing errors,
unfortunately we cannot tell because forum formatting eats/chomps leading blanks
and as You kno sort control statements must start in column 2 ( at least )

Re: NO KEYWORDS FOUND ON CONTROL STATEMENT - Error

PostPosted: Tue Apr 15, 2014 8:45 pm
by adoanand
Thanks enrico-sorichetti,

my tags had no spaces but "as You kno sort control statements must start in column 2 ( at least )" has solved my issue.

Re: NO KEYWORDS FOUND ON CONTROL STATEMENT - Error

PostPosted: Wed Apr 16, 2014 3:12 pm
by NicC
Moving to Syncsort