Free day - 1



Ask queries about other IBM Tools like Tivoli, COBTEST, Fault Analyzer, z/OS File Manager, Workload Simulator, APA, SCLM, Merge & Migration Tools etc...

Free day - 1

Postby samb01 » Mon Aug 22, 2016 6:41 pm

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.
samb01
 
Posts: 431
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time

Re: Free day - 1

Postby Akatsukami » Mon Aug 22, 2016 7:46 pm

How is it determined that a day is free?
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: Free day - 1

Postby steve-myers » Mon Aug 22, 2016 8:49 pm

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?
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: Free day - 1

Postby NicC » Tue Aug 23, 2016 9:56 am

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.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: Free day - 1

Postby samb01 » Tue Aug 23, 2016 1:20 pm

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                                                

samb01
 
Posts: 431
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time

Re: Free day - 1

Postby Blackthorn » Tue Aug 30, 2016 6:33 pm

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.
Blackthorn
 
Posts: 130
Joined: Tue Feb 01, 2011 7:12 pm
Has thanked: 1 time
Been thanked: 9 times

Re: Free day - 1

Postby Blackthorn » Tue Aug 30, 2016 7:02 pm

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.
Blackthorn
 
Posts: 130
Joined: Tue Feb 01, 2011 7:12 pm
Has thanked: 1 time
Been thanked: 9 times


Return to Other IBM Tools

 


  • Related topics
    Replies
    Views
    Last post