Hi......
When I am using //Symnames
I am able to define the Current day string using system symbols as CURRDATE,S'&LYR4..&LJDAY'
How to define previous day using the system symbols in the above format (i.e. YY.DDD) ?
BillyBoyo wrote:Which sort product are you using?
skankatala wrote:Hi......
When I am using //Symnames in DFSORT
I am able to define the Current day string using system symbols as CURRDATE,S'&LYR4..&LJDAY'
How to define previous day using the system symbols in the above format (i.e. YY.DDD) ?
NicC wrote:Why not post in the appropriate section of the forum for your sort product? This is NOT a JCL question.
skolusu wrote:if your intention is to get the current day-1 then you can use date3-1 which will give you the desired results.//STEP0100 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD *
ABC
//SORTOUT DD SYSOUT=*
//SYSIN DD *
SORT FIELDS=COPY
INREC OVERLAY=(10:DATE3(.)-1)
//*
the output of this is----+----1----+----2
ABC 2012.033
Return to DFSORT/ICETOOL/ICEGENER