Search found 185 matches

by Dilbert
25 Nov 2008 12:45
Forum: Job Definition
Topic: Copy from Testing region to Production
Replies: 6
Views: 3122

Only one suggestion, Nancy.

The best practice is always use naming conventions for distinguish jobs between test and production.

For example, you have the job on test: BACKUP_JOB_TEST
On production side, you should use the similar: BACKUP_JOB_PROD

[/quote]
by Dilbert
25 Nov 2008 10:56
Forum: Scripts
Topic: Control-M JOB DETAILS
Replies: 1
Views: 3012

Look here: https://www.scheduler-usage.com/forum/document/files/Poster-SGBD/V6.3.01/BMC_ControlM_SVR_v6.3.01_DB_Poster.pdf and here: https://www.scheduler-usage.com/forum/document/files/Poster-SGBD/V6.3.01/BMC_ControlM_EM_v6.3.01_DB_Poster.pdf and try to create valid SQL "SELECT" statement to get in...
by Dilbert
25 Nov 2008 10:50
Forum: Scripts
Topic: CONTROL-M/Enterprise Manager 6.2.0.1 - Windows Installation
Replies: 2
Views: 5162

Try to install Oracle client version 10g.
by Dilbert
25 Nov 2008 10:48
Forum: Job Definition
Topic: Copy from Testing region to Production
Replies: 6
Views: 3122

In that case, and if I understand you correctly, you can do the follwowing: 1. Save your current jobs definitions as draft file (test). 2. Use Find&Update function and change CONTROL-M parameter (for example, from CTMtest to CTMprod) - in case you have one CTM server for test, and separated CTM serv...
by Dilbert
24 Nov 2008 10:46
Forum: Monitoring
Topic: Monitory Unix Log File
Replies: 2
Views: 2911

Here is the principles:

1. Install Agent on Unix machine
2. create "tail" job, (and redirect output to file - optional)
3. In the "tail" job, set "On" parameter, when find anything you want in output, "Do" anything you want. :) (alert, corrective actions...)
by Dilbert
17 Nov 2008 9:17
Forum: Control-M Enterprise Manager
Topic: passing values
Replies: 1
Views: 2078

Re: passing values

Here is the explanation from BMC KB. It works, I tested it once. First code the batch file such that it can accept a value to be passed in. We can generally reference these positional parameters as %1, %2, and so-on. If you have a file called myscript.bat in c:\scripts that contains the following li...
by Dilbert
17 Nov 2008 9:13
Forum: Job Definition
Topic: Can Control-M understand the arrival of an e-mail?
Replies: 4
Views: 2373

Re: Can Control-M understand the arrival of an e-mail?

I used Outlook (not Outlook Express!) for that. Use Outlook Rules to create rule based on specific subject/person or whatever you want and which will run script/exe file. Inside that file you can put CONTROL-M utility you need: ctmcreate, ctmcontb... it's your choice! :) In fact, you can use any mai...
by Dilbert
30 Oct 2008 2:13
Forum: Job Definition
Topic: Pass variable from sysout/script
Replies: 1
Views: 4916

Pass variable from sysout/script

Hello all, I know how to pass variable to script, but now I need opposite way... how to pass variable from script to CONTROL-M and define it as autoedit variable. Main goal ic to control system time on Linux machine through system time on Windows machine. So, I created bat script which can pick curr...
by Dilbert
28 Oct 2008 1:59
Forum: Job Definition
Topic: Resolve %%TIME variable without seconds...?
Replies: 3
Views: 2580

mauriziog wrote:In set panel:

RESULT=%%SUBSTR %%TIME 1 4

and the %%RESULT variable is "HHMM" .
Thanks, already solved it with %%SUBSTR, after little reading documentation and experimenting. :)
by Dilbert
28 Oct 2008 1:13
Forum: Job Definition
Topic: Advanced analyzing of CONTROL-M sysout?
Replies: 1
Views: 2421

Advanced analyzing of CONTROL-M sysout?

Is there any possibilities for analyzing CONTROL-M's sysout on more advanced way, using STEPS panel? Some cases scenario: 1). CTM must analyze the particular line of sysout for string "6250", and if found anything different than "6250" must finish with NOTOK. In fact, we need Boolean logic functiona...
by Dilbert
27 Oct 2008 2:03
Forum: Job Definition
Topic: Resolve %%TIME variable without seconds...?
Replies: 3
Views: 2580

Problem solved, using %%SUBSTR variable. ;)

Anyway, thnx all!
by Dilbert
27 Oct 2008 1:22
Forum: Job Definition
Topic: Resolve %%TIME variable without seconds...?
Replies: 3
Views: 2580

Resolve %%TIME variable without seconds...?

Hello, ppl! How I can pass %%TIME auto-edit variable withous seconds, only in HHmm format? I need to pass current system date and time to unix command prompt and set date/time on unix machine. I successfully resolved variables for date (using $$DAY, %%MONTH, %%$YEAR), but i can't set variable for ti...
by Dilbert
23 Oct 2008 4:05
Forum: Job Definition
Topic: Question about scheduling
Replies: 4
Views: 2961

There are 3 possibilities (4 with the dummy job). 1) If all jobs in the schedgroup1 finished then starts the second schedgroup: put conditions in the scheduling group panel instead off in the job. 2) use the utility " cmdldnrs " see the documentation for the sintax. There are many ways to use it, d...
by Dilbert
23 Oct 2008 12:17
Forum: Job Definition
Topic: Question about scheduling
Replies: 4
Views: 2961

Hello all, I'm still having problem with "adjust condition" between jobs in 2 different scheduling group. Here is the problem explanation, I can send .drf file for better understanding: SCHED_GRP_1 Job_1_1-->Job_1_2-->Job_1_3-->Job_1_4 Job_1_1, Job_1_3 and Job_1_4 running every day. Job_1_2 running ...
by Dilbert
24 Sep 2008 10:13
Forum: Job Definition
Topic: Read var from sysout
Replies: 8
Views: 4588

If I understand correctly, jremo77 wants to read variable from script sysout and pass that variable to Control-M?
Your suggestion is OK, but this mean you must define variable manually in Control-M, without reading it from sysout. I think jremo77 want to avoid manual definition of variable.