Search found 15 matches

by Kenton
13 Apr 2015 2:38
Forum: Job Definition
Topic: Holiday scheduling
Replies: 3
Views: 6666

Holiday scheduling

Hello, can I please have some help with holiday calendar maintenance. Newday=midnight 7.0.00 I have a calendar of workdays (which excludes weekends and holidays) and I need to schedule a job that only runs the days after a workday (ie Tue - Sat in a regular week or Wed - Sat if Mon was a bank holida...
by Kenton
29 Jul 2014 6:25
Forum: Job Definition
Topic: Assign global variable from job Command: using ctmvar
Replies: 3
Views: 4374

Re: Assign global variable from job Command: using ctmvar

In addition, the "abc123" is actually the result from piped grep and cut statements
by Kenton
29 Jul 2014 4:12
Forum: Job Definition
Topic: Assign global variable from job Command: using ctmvar
Replies: 3
Views: 4374

Assign global variable from job Command: using ctmvar

Hello I am trying to run this from an OS job type: ctmvar -action set -var "%%\myvar" -varexpr "abc123" but the job fails and the sysout shows: + ctmvar -action set -var 'CTMERR\myvar' -varexpr abc123 Output: Var name 'CTMERR\myvar' in -VAR invalid: it must begin with %% usage: ctmvar -ACTION <LOAD|...
by Kenton
28 Jul 2014 8:29
Forum: Job Definition
Topic: Is it possible to assign autoedit variables from sysout?
Replies: 2
Views: 3176

Is it possible to assign autoedit variables from sysout?

Hello

Say I have a sysout that contains the line (amongst other things)
FILENUM=23

Is it possible to assign the number of files (23) to %%FileNum by reading the sysout somehow?

Thanks
Kenton
by Kenton
25 Jul 2014 6:02
Forum: Job Definition
Topic: How to pass Unix hostname to ctm variable
Replies: 2
Views: 2620

How to pass Unix hostname to ctm variable

Hello

How do I pass the current hostname to a Control-M variable?

I have the hostname defined in nodes/node_groups so that it is transparent when we promote to SIT, UAT and PRD and so it's only hardcoded within configuration manager.

Thanks for your help.

Kenton
by Kenton
23 Apr 2010 7:40
Forum: Job Definition
Topic: *****Job turns to blue***
Replies: 4
Views: 3288

Yes, I get locked "Blue" jobs as well.

I have learned how to clear them with DB intervention but I'm keen to see what's in SLN000000175228.

I don't have access to the KB as this is controlled by the vendor ;-(

Can you skicky me the details?

Thanks Kenton
by Kenton
15 May 2009 6:34
Forum: Control-M Enterprise Manager
Topic: Control-M Just stops
Replies: 1
Views: 1325

Control-M Just stops

Hello E/M 6.3.01 just stops running jobs sometimes. This happened in 6.2 and we were hoping that the upgrade would fix it ... nope. For instance, today a cyclic job just stop running. Selecting "Why?" gives you: Performing 'why' on the job... [and then nothing] In 6.3 if I put the job on hold and th...
by Kenton
07 May 2009 12:32
Forum: Control-M Server
Topic: NON-Global variables
Replies: 5
Views: 1988

THAN YOU!

Yes

I totally missed the SET tab in the Scheduling Group!!!

Thanks Heaps!
by Kenton
06 May 2009 2:05
Forum: Control-M Server
Topic: NON-Global variables
Replies: 5
Views: 1988

Thanks heaps for that

Please excuse my newbieness :oops: So, correct me if I'm wrong, what you're saying is that I add add a variable (say submission_number) in the SET tab of the first job in the group and assign it %%submission_id. From there, wherever I use %%submission_number it will be the same value within that gro...
by Kenton
05 May 2009 2:11
Forum: Control-M Server
Topic: NON-Global variables
Replies: 5
Views: 1988

NON-Global variables

Hello I tried reading the Variable and Params doco but got completely lost. :cry: We have a Group Schedule that is called and uses a variable in every job (submission_id) as a parameter for the commands that are run. ie Command: /script.sh -i %%submission_id Problem is that we need to call the next ...
by Kenton
21 Oct 2008 2:05
Forum: Exploitation / Operation
Topic: Newbie - How to return variables from Oracle SQL script
Replies: 4
Views: 2094

Thanks anyway.

We got it all sorted passing params.

I am surprised by the lack of activity on this forum though. :cry:
by Kenton
14 Oct 2008 11:21
Forum: Exploitation / Operation
Topic: Newbie - How to return variables from Oracle SQL script
Replies: 4
Views: 2094

Thanks for that Henk. Our system is such that we run a "wrapper" script from the desktop command that takes a SID and a sql script as a parameter and sets up all the oracle environment settings before running the script. In this case I am calling a stored proc with out params. As such, I cant pass t...
by Kenton
10 Oct 2008 3:53
Forum: Exploitation / Operation
Topic: Newbie - How to return variables from Oracle SQL script
Replies: 4
Views: 2094

Newbie - How to return variables from Oracle SQL script

Hi PLEASE excuse the newbie question (I did search the forum but couldn't find the answer) Desktop v 6.2.01.200 I need to assign 3 CTL-M variables gained from running an Oracle SQL script. ie select var1,var2,var3 from mytable where rownum = 1 I assume I set these in the <%> Set tab, but how do I co...