Day check



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Re: Day check

Postby enrico-sorichetti » Tue Jun 14, 2011 2:50 am

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
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Day check

Postby Kitz » Tue Jun 14, 2011 2:58 am

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
Kitz
 
Posts: 47
Joined: Thu Mar 17, 2011 3:46 am
Has thanked: 0 time
Been thanked: 1 time

Re: Day check

Postby Kitz » Tue Jun 14, 2011 3:00 am

ODAY is something I never heard of it. I will try this as well tomorrow.

Thanks a lot Enrico.

Thanks & Regards,
Kitz
Kitz
 
Posts: 47
Joined: Thu Mar 17, 2011 3:46 am
Has thanked: 0 time
Been thanked: 1 time

Re: Day check

Postby enrico-sorichetti » Tue Jun 14, 2011 3:13 am

look here for the exact variable to use ( could be CDAY )
http://publib.boulder.ibm.com/tividd/td ... tm#idx1323
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Day check

Postby Kitz » Tue Jun 14, 2011 5:19 pm

Fantastic, it worked !

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

Thanks & Regards,
Kitz
Kitz
 
Posts: 47
Joined: Thu Mar 17, 2011 3:46 am
Has thanked: 0 time
Been thanked: 1 time

Re: Day check

Postby enrico-sorichetti » Tue Jun 14, 2011 6:29 pm

Fantastic, it worked !


good ... the OPC hint also ?
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Day check

Postby Kitz » Wed Jun 15, 2011 3:39 pm

Yes, both logics worked well.

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

Thanks & Regards,
Kitz
Kitz
 
Posts: 47
Joined: Thu Mar 17, 2011 3:46 am
Has thanked: 0 time
Been thanked: 1 time

Re: Day check

Postby enrico-sorichetti » Wed Jun 15, 2011 4:58 pm

glad to have been helpful, thank You for telling us !
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Previous

Return to JCL

 


  • Related topics
    Replies
    Views
    Last post