Search found 37 matches

by matom
16 Oct 2017 11:59
Forum: Job Definition
Topic: determine last working day on job command line...
Replies: 2
Views: 20452

Re: determine last working day on job command line...

Hi wrenchos, Below an example to calculate the last working day of a month : MyJOB run every working day except the last one. I'm looking for the last working day for MyJOB in December, 2017 : ctmcalc_date -FOLDER MyFOLDER -NAME MyJOB -date 20180101 -shift -1 -ONLY_WORKING_DAYS Y -OUTPUT_FORMAT DATE...
by matom
05 Aug 2014 11:26
Forum: Control-M Agents
Topic: sysout log permissions - Linux
Replies: 2
Views: 4370

Re: sysout log permissions - Linux

Hi,

Update the agent file $HOME/ctm/data/OS.dat:

SYSOUT_MODE 0644



Regards
by matom
10 Jun 2014 5:11
Forum: Exploitation / Operation
Topic: Deletion of a plan by shell script
Replies: 6
Views: 4983

Bonjour, L'expression du besoin ne me semble pas claire. " Je veux supprimer la défintion d'un plan dans le Control-M Server afin qu'il ne soit plus utilisé (pour l'instant, la définition dans l'EM est conservé). [/color]" Faut-il comprendre que vous souhaitez supprimer une table de la base de défin...
by matom
28 May 2014 10:43
Forum: Job Definition
Topic: Control-M/Server Security.
Replies: 4
Views: 3222

Hi DocGoo,

On your Control-M/Server :

ctmsys
then
2) System Parameters (main menu)
5) Full Security (System parameters page1)

Regards
by matom
28 May 2014 10:27
Forum: Exploitation / Operation
Topic: Deletion of a plan by shell script
Replies: 6
Views: 4983

Bonjour, Que souhaitez-vous faire ? Le "Desktop" vous permet de créer et de faire des mises à jour de jobs. Si vous travaillez en mode "espace de travail local" la durée de vie des jobs est le temps d'ouverture de votre "Desktop" (d'où le "write", ou la sauvegarde, pour ne pas perdre ce qui a été fa...
by matom
19 May 2014 11:04
Forum: End of Support from BMC
Topic: how to move a file to new location with time stamp
Replies: 5
Views: 3642

Hi SKSKD,

Use two consecutive « . » to include one in your file name.

Your command is :
move D:\ABCD.txt D:\DD\ABCD.%%TIMEST..txt

Regards
by matom
16 May 2013 4:23
Forum: Job Definition
Topic: Schedule a job for working day of the month
Replies: 2
Views: 2282

Hi cheli,

If a workday calendar (Sat & Sun non business days) was available:
Month Days: 16 (Do not fill calendar field)
Confirmation Calendar : WorkDaysCal Shift : Next Day

Regards
by matom
08 Feb 2013 8:52
Forum: Control-M Enterprise Manager
Topic: Problème p_ctmtr "tracker"
Replies: 2
Views: 3626

Bonjour, Vous n'aves pas de décalage dans l'enchainement des jobs vu que la Post procédure du 1er job est exécuté à 12h23m08s et que le Control-M/Serveur sollicite son agent pour la soumission du successeur à 12h23m09s. Regardez sur le serveur de l'agent à quelle heure le job a réellement démarré. E...
by matom
11 May 2012 11:23
Forum: Job Definition
Topic: Setting Time in Auto-Edit
Replies: 1
Views: 4319

One way of doing it with AutoEdit : %%MonHeureSys _____________ 2%%SUBSTR %%TIME 1 4 %%MaskMinutes _____________ 0000004444 %%MaskHeures ______________ 02400 %%HeureInter _______________ %%MonHeureSys %%MINUS 5 (<== 0< minutes to subtract <41) %%PosDansMaskMin __________ %%SUBSTR %%HeureInter 4 1 %%...
by matom
06 Apr 2012 3:54
Forum: Exploitation / Operation
Topic: Finished job doesn't turn green
Replies: 14
Views: 9550

HI chookgate, "Job children inside object" (JOB_WAIT in Registry) is a flag to "say" : job ends only when all invoked procedures were ended, or not. Exemple: Control-M job MyJob with 'FileName' MyBatch.bat . MyBatch.bat invoke a cmd.exe window. If MyBatch.bat ends and cmd.exe window wasn't closed : ...
by matom
17 Feb 2012 8:41
Forum: Exploitation / Operation
Topic: Finished job doesn't turn green
Replies: 14
Views: 9550

Your job will end after stopping "Server".

Update your agent configuration :
Turn "Job children inside object" to "N" (run => cmd => ctmwincfg => 3 => "Enter the new value:" N => s)

Regards
by matom
05 Jan 2012 10:54
Forum: Job Definition
Topic: Defining a job to run 1st Sunday of every month
Replies: 2
Views: 2043

another way,

Month day NONE
Or
Week day D0W1

Regards
by matom
10 Nov 2011 11:29
Forum: Job Definition
Topic: Definig Weekday Variable
Replies: 2
Views: 3547

Hi osafr71,

another way:

%%DayList=Sunday0000Monday1111Tuesday222Wednesday3Thursday44Friday5555Saturday66
%%WDayPlus1=%%WDAY %%PLUS 1
%%Position=%%WDay1.0 %%MINUS 9
%%WeekDay=%%SUBSTR %%DayList %%Position 3


Regards
by matom
06 Nov 2011 4:06
Forum: Job Definition
Topic: Use of Variables in paths including \
Replies: 5
Views: 2592

Hi BreakFik,

Add a point after variable name, like below.

\\server01\E$\reports\%%A.\%%B.\

Regards
by matom
05 Oct 2011 2:06
Forum: Job Definition
Topic: Every day EXCEPT first sunday.
Replies: 3
Views: 2008

Hi,

Below, another way :

Week-Days field : 1,2,3,4,5,6,D0W2,D0W3,D0W4,D0W5

Regards