by Kitz » Tue Jun 14, 2011 1:55 am
Thanks Dick, Enrico
Sorry for the confusion. I am interested to know how can we identify the current DAY (Mon, Tue etc) of the current date.
For instance, I can directly use OPC date variables like '&CDD.&&CMM.&CYY' in my JCL and it gives current date.
//*%OPC SCAN
.
.
//SYSIN DD *
&CDD.&&CMM.&CYY'
/*
Probasbly, similarly we can get the current date using system date etc in the JCL (though I didn't work on this).
However, to my knowledge, there is no such variable available which directly gives current DAY(Mon, Tue etc). I am interested to know how can we know the current DAY.
I believe there are some SYMNAMES DD statment of SORT can be used to determine the DAY. But, I am not so sure how to use it.
Any sort of help how to determine the DAY in a JCL is more appreciated.
Thanks & Regards,
Kitz