Need Help in finding the date difference.



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

Need Help in finding the date difference.

Postby gokulNmf » Mon Nov 05, 2012 10:02 am

Hi,
i am trying to find the difference between 2 dates.Please find below the JCl step.
//SORT1 EXEC PGM=SORT,PARM='CENTWIN=80'               
//SORTIN  DD *                                         
120401120101                                           
121101120101                                           
//SORTOUT DD SYSOUT=*                                 
//SYSOUT  DD SYSOUT=*                                 
//SYSIN   DD *                                         
  OUTREC FIELDS=(1,6,Y2T,DATEDIFF,7,6,Y2T)             
  SORT FIELDS=COPY                 


And i getting abend, below is the error message.
with this statement I think the
SYNCSORT FOR Z/OS 1.4.0.1N
its MFX1.4 version. So this should support the datediff function.

SYNCSORT FOR Z/OS  1.4.0.1N    U.S. PATENTS: 4210961, 5117495   (C) 2010 SYNCS
                                                      z/OS   1.13.0           
SYNCSORT LICENSED FOR CPU SERIAL NUMBER 10EAD, MODEL 2817 406             LICE
SYSIN :                                                                       
  OUTREC FIELDS=(1,6,Y2T,DATEDIFF,7,6,Y2T)                                   
                         *                                                   
  SORT FIELDS=COPY                                                           
WER268A  OUTREC STATEMENT  : SYNTAX ERROR                                     
WER211B  SYNCSMF  CALLED BY SYNCSORT; RC=0000                                 


Can anyone help me on this.
TIA,
Cheers,
Gokul
User avatar
gokulNmf
 
Posts: 114
Joined: Sat Mar 28, 2009 6:41 pm
Location: India
Has thanked: 0 time
Been thanked: 0 time

Re: Need Help in finding the date difference.

 

Re: Need Help in finding the date difference.

Postby BillyBoyo » Mon Nov 05, 2012 1:09 pm

BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 264 times

Re: Need Help in finding the date difference.

Postby gokulNmf » Mon Nov 05, 2012 1:47 pm

Thanks Billy!!
Cheers,
Gokul
User avatar
gokulNmf
 
Posts: 114
Joined: Sat Mar 28, 2009 6:41 pm
Location: India
Has thanked: 0 time
Been thanked: 0 time


Return to Syncsort/Synctool

 


  • Related topics
    Replies
    Views
    Last post