Page 1 of 1

Free day - 1

PostPosted: Mon Aug 22, 2016 6:41 pm
by samb01
Helleo,
i would like the application A not occurs when the day before is FREE.
Is it possible to do tha ?

For example, my application A turns every Tuesday.

If the monday (teh day before) is free, my application A should not turn.

Thank's for your help.

Re: Free day - 1

PostPosted: Mon Aug 22, 2016 7:46 pm
by Akatsukami
How is it determined that a day is free?

Re: Free day - 1

PostPosted: Mon Aug 22, 2016 8:49 pm
by steve-myers
samb01 wrote:Helleo,
i would like the application A not occurs when the day before is FREE.
Is it possible to do tha ?

For example, my application A turns every Tuesday.

If the monday (teh day before) is free, my application A should not turn.

Thank's for your help.
There are three, possibly four, missing items in this post.
  • What is meant by "FREE day?" I presume it means a day when no one is scheduled to work. Correct?
  • When should the application run?
  • Can the application handle this? In other words, if the application is not run in the cycle, will the application need updates?
  • What scheduling package is being used?

Re: Free day - 1

PostPosted: Tue Aug 23, 2016 9:56 am
by NicC
If you do not understand the concept of a "scheduling package" then how do you know about "free day" which is a scheduling package term. Is your scheduling package OPC, TWS, CA-? or something else. You should refer your question to your Batch Scheduling Group.

Re: Free day - 1

PostPosted: Tue Aug 23, 2016 1:20 pm
by samb01
I use Calendar Default to set the free day :


----------------------------- BROWSING A CALENDAR --------- Row 1 to 11 of 18
Command ===>                                                  Scroll ===> CSR
                                                                             
View data below:                                                            
                                                                             
Calendar id       : DEFAULT                                                  
Description       :                                                          
Work day end time : 00.00                                                    
Last updated by   : BVB209  on 16/01/13 at 16.11                            
                                                                             
Specific       Comments                       Status                        
day/date                                                                    
MONDAY                                          W                            
TUESDAY                                         W                            
WEDNESDAY                                       W                            
THURSDAY                                        W                            
FRIDAY                                          W                            
SATURDAY                                        F                            
SUNDAY                                          F                            
03/01/01       Jour de l'An                     F                            
03/04/21       Lundi de Pâques                  F                            
03/05/01       Fête du Travail                  F                            
03/05/02       Pont du 1er Mai                  F                            
  EQQMEP1L -SRCHFOR *EQQTBCA                                                


Re: Free day - 1

PostPosted: Tue Aug 30, 2016 6:33 pm
by Blackthorn
An interesting question. Last time I had to do this I scheduled it in such a way that the application had an input arrival date of the free day, but then with a time dependent operation at the start of the application that waited until the next day. That way, setting it to not run on the free day meant that it didn't actually run the day after the free day.

Not ideal, especially if you have an application that you DO want to run on the free day, but it may work for you.

Re: Free day - 1

PostPosted: Tue Aug 30, 2016 7:02 pm
by Blackthorn
The other option that you could perhaps experiment with is creating a run cycle using a free day rule of 2 (run the next day after the free day) but make it a negative run cycle. That should then cancel out the scheduled run for that day. Just an idea, I haven't tried it myself.