BillyBoyo wrote:Which sort product are you using?
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 *
//SORTOUT DD SYSOUT=*
//SYSIN DD *
the output of this is----+----1----+----2