Page 1 of 1

Error WER268A while using SORT

PostPosted: Tue Apr 01, 2014 11:41 am
by Ronak
Hi,

I am trying to execute below step
//S1 EXEC PGM=SORT                                             
//SYSOUT DD SYSOUT=*                                           
//SORTIN DD *                                                   
16011986                                                       
//SORTOUT DD SYSOUT=*                                           
//SYSIN DD *                                                   
  OPTION COPY                                                   
  INREC IFTHEN=(WHEN=INIT,BUILD=(5,4,3,2,1,2)),                 
    IFTHEN=(WHEN=INIT,BUILD=(1,8,Y4T,SUBDAYS,+1034,TOGREG=Y4T)),
    IFTHEN=(WHEN=INIT,BUILD=(7,2,5,2,1,4,80:X))                 
/*                                                             

--------------------------------------------------------------------------------------------------
But I am getting below error:
SYSIN :                                                         
  OPTION COPY                                                   
  INREC IFTHEN=(WHEN=INIT,BUILD=(5,4,3,2,1,2)),                 
    IFTHEN=(WHEN=INIT,BUILD=(1,8,Y4T,SUBDAYS,+1034,TOGREG=Y4T)),
                                 *                             
    IFTHEN=(WHEN=INIT,BUILD=(7,2,5,2,1,4,80:X))                 
WER268A  INREC STATEMENT   : SYNTAX ERROR                       
WER211B  SYNCSMF  CALLED BY SYNCSORT; RC=0000                   
WER449I  SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE     

-------------------------------------------------------------------------------------------------

Can anyone help me out on this?

Thanks in Advance!
Rony

Code'd

Re: Error WER268A while using SORT

PostPosted: Tue Apr 01, 2014 12:13 pm
by BillyBoyo
You have SyncSortt, not DFSORT. Have you looked up Y4T in your SyncSorrt manual?

Re: Error WER268A while using SORT

PostPosted: Fri Apr 04, 2014 9:14 pm
by Alissa Margulies
Hello Rony.

Support for SUBDAYS was included in Syncsort MFX for z/OS 1.4.2.0. Which release of Syncsort are you currently running?

Regards,