Page 2 of 2

Re: Day check

PostPosted: Tue Jun 14, 2011 2:50 am
by enrico-sorichetti
that' s not what You asked to start with ...
but from the opc point of view

//*%OPC BEGIN ACTION=INCLUDE,COMP=(&ODAY..EQ.1)

will check if the day of week is 1 ==> monday

Re: Day check

PostPosted: Tue Jun 14, 2011 2:58 am
by Kitz
Yes Frank. Thanks a lot. I am looking for this kind SYMNAMES DD statement approach. I will try this tomorrow and will update you.

Thanks & Regards,
Kitz

Re: Day check

PostPosted: Tue Jun 14, 2011 3:00 am
by Kitz
ODAY is something I never heard of it. I will try this as well tomorrow.

Thanks a lot Enrico.

Thanks & Regards,
Kitz

Re: Day check

PostPosted: Tue Jun 14, 2011 3:13 am
by enrico-sorichetti
look here for the exact variable to use ( could be CDAY )
http://publib.boulder.ibm.com/tividd/td ... tm#idx1323

Re: Day check

PostPosted: Tue Jun 14, 2011 5:19 pm
by Kitz
Fantastic, it worked !

Enrico, Frank, skolusu thanks a lot for all your help on this.

Thanks & Regards,
Kitz

Re: Day check

PostPosted: Tue Jun 14, 2011 6:29 pm
by enrico-sorichetti
Fantastic, it worked !


good ... the OPC hint also ?

Re: Day check

PostPosted: Wed Jun 15, 2011 3:39 pm
by Kitz
Yes, both logics worked well.

I have preferrred to go with OPC - 'CDAY'.

Thanks & Regards,
Kitz

Re: Day check

PostPosted: Wed Jun 15, 2011 4:58 pm
by enrico-sorichetti
glad to have been helpful, thank You for telling us !