Search found 37 matches
- 12 Sep 2011 4:39
- Forum: Job Definition
- Topic: Autoedit var. for Month in Alphabet like Janua. in Control-m
- Replies: 2
- Views: 2994
Hi, Months in alpahbet format are not avaliable with AutoEdit Variables. Below, one way to get "YYMonDD" date : %%ListeMois=Jan1111111Feb2222222Mar3333333Apr4444444May555555 5Jun6666666Jul7777777Aug8888888Sep9999999OctAAAAAAANovBBBBBBBDec %%Jour=%%SUBSTR %%ODATE 5 2 %%Mois=%%SUBSTR %%ODATE 3 2 %%Ann...
- 23 Aug 2011 7:30
- Forum: Control-M Server
- Topic: Automatically clean JOBS HOLD, ... on AJF
- Replies: 1
- Views: 3188
Hi voici un/here is an example #!/bin/sh #-- Indiquer le nombre de jours pendant lesquels les jobs en HOLD doivent etre conserves JoursConservation=10 #-- Calcul de la date avant laquelle on supprime les jobs en HOLD DateLimite=`ctmstvar 0 '%%$CALCDATE %%ODATE -'${JoursConservation}` #-- On charge d...
- 18 Aug 2011 9:52
- Forum: Control-M Enterprise Manager
- Topic: Unable to order jobs from Control-M EM
- Replies: 4
- Views: 5511
Hi, On your Control-M/Server execute : ctmorder -SCHEDTAB 'PCRDLY-P1' -JOBNAME 'AU_PAL_pl' -ODATE ODAT If : 1°) 5703 SCHEDULING TABLE PCRDLY-P1 DOES NOT EXIST table wasn't uploaded 2°) Jobname AU_PAL_pl2 not found in table PCRDLY-P1, or incorrect job sequence number. table was updated without upload...
- 06 Jun 2011 3:50
- Forum: Job Definition
- Topic: Specify the format of the {counter} field in template
- Replies: 1
- Views: 2023
- 19 Apr 2011 4:11
- Forum: Job Definition
- Topic: [ctmcreate] Embedded Script
- Replies: 6
- Views: 10871
- 07 Apr 2011 7:08
- Forum: Job Definition
- Topic: Varaible for a previous day in Mmm-DD-YY (Apr-01-11) format
- Replies: 7
- Views: 9783
Another way without scripting: %%ListeMois=Jan1111111Feb2222222Mar3333333Apr4444444May5555555Jun6666666Jul7777777Aug8888888Sep9999999OctAAAAAAANovBBBBBBBDec %%UneDate=%%CALCDATE %%DATE -1 %%Jour=%%SUBSTR %%UneDate 5 2 %%Mois=%%SUBSTR %%UneDate 3 2 %%Annee=%%SUBSTR %%UneDate 1 2 %%Position=%%Mois.0 %...
- 04 Feb 2011 5:51
- Forum: Control-M Enterprise Manager
- Topic: exportdeftable error !!
- Replies: 5
- Views: 5613
- 04 Feb 2011 5:34
- Forum: Job Definition
- Topic: script into job CTRLM : trouble Treatment awk
- Replies: 3
- Views: 3214
- 06 Jan 2011 11:56
- Forum: Exploitation / Operation
- Topic: Has anyone ever successfully run ctmsweep utility?
- Replies: 2
- Views: 3262
Hi, Here is an example : intctm-ctrlm64 [2] ctmsweep -date 20100901 CTM6921 -> main_p_ctmsweep: Retrieving obsolete definitions from CONTROL-M/Server database using date criteria: 20100901 CTM6922 -> WriteReport: Found 1 table(s) that contain obsolete jobs CTM6923 -> WriteReport: Generate report fil...
- 29 Dec 2010 4:09
- Forum: Control-M Enterprise Manager
- Topic: Logging onto EM in Different Environments
- Replies: 2
- Views: 3639
Create two shortcuts, one for each environment, on your desktop! How to do (EM 6.2 example) : Go to « C:\Program Files\BMC Software\CONTROL-M EM 6.2.01\Default\etc\domains » 1. make a save copy of your confg.xml file 2. make two other config.xml file copies; call them config_EMPROD.xml and config_EM...
- 23 Nov 2010 12:01
- Forum: Exploitation / Operation
- Topic: Probleme Trapping messages in sysout
- Replies: 4
- Views: 3621
Hi, The searched string must be in the first 132 chars, even if SYSOUT_WINDOW_SIZE 80 (sysout display parameter). e.g.: shell: #!/bin/sh echo "12345678910 345678 20 345678 30 345678 40 345678 50 345678 60 345678 70 345678 80 345678 90 345678 100 45678 110 45678 120 45678 130 4TOTO1er zzzzzzz" cat E/...
- 17 Nov 2010 11:33
- Forum: Control-M Server
- Topic: cd $HOME on server UNIX
- Replies: 2
- Views: 2970
- 04 Nov 2010 10:25
- Forum: Control-M Server
- Topic: control sysout
- Replies: 3
- Views: 3377
- 24 Jun 2010 9:50
- Forum: Control-M Links
- Topic: how to run the dos commands from control-m job
- Replies: 6
- Views: 31940
- 12 Nov 2009 7:53
- Forum: Scripts
- Topic: Récupérer une variable d'un script dans control-M
- Replies: 4
- Views: 12572
Bonjour, Voici un exemple d'utilisation avec une globale variable: Dans votre script : 1°) initialiser les variables d'environnement (sur un agent par exemple CONTROLM=HomeDirAgent/ctm; mettre dans PATH et LIBPATH ou LD_LIBRARY_PATH,suivant l'OS, HomeDirAgent/ctm et HomeDirAgent/ctm/scripts) 2°) Ini...