Search found 15 matches
- 13 Apr 2015 2:38
- Forum: Job Definition
- Topic: Holiday scheduling
- Replies: 3
- Views: 10703
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...
- 31 Jul 2014 4:03
- Forum: Job Definition
- Topic: Assign global variable from job Command: using ctmvar
- Replies: 3
- Views: 5917
Re: Assign global variable from job Command: using ctmvar
Thanks ... I was missing the #
- 29 Jul 2014 6:25
- Forum: Job Definition
- Topic: Assign global variable from job Command: using ctmvar
- Replies: 3
- Views: 5917
Re: Assign global variable from job Command: using ctmvar
In addition, the "abc123" is actually the result from piped grep and cut statements
- 29 Jul 2014 4:12
- Forum: Job Definition
- Topic: Assign global variable from job Command: using ctmvar
- Replies: 3
- Views: 5917
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|...
- 28 Jul 2014 8:29
- Forum: Job Definition
- Topic: Is it possible to assign autoedit variables from sysout?
- Replies: 2
- Views: 4334
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
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
- 28 Jul 2014 8:24
- Forum: Job Definition
- Topic: How to pass Unix hostname to ctm variable
- Replies: 2
- Views: 3941
- 25 Jul 2014 6:02
- Forum: Job Definition
- Topic: How to pass Unix hostname to ctm variable
- Replies: 2
- Views: 3941
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
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
- 23 Apr 2010 7:40
- Forum: Job Definition
- Topic: *****Job turns to blue***
- Replies: 4
- Views: 4445
- 15 May 2009 6:34
- Forum: Control-M Enterprise Manager
- Topic: Control-M Just stops
- Replies: 1
- Views: 1948
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...
- 07 May 2009 12:32
- Forum: Control-M Server
- Topic: NON-Global variables
- Replies: 5
- Views: 3339
THAN YOU!
Yes
I totally missed the SET tab in the Scheduling Group!!!
Thanks Heaps!
I totally missed the SET tab in the Scheduling Group!!!
Thanks Heaps!
- 06 May 2009 2:05
- Forum: Control-M Server
- Topic: NON-Global variables
- Replies: 5
- Views: 3339
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...
- 05 May 2009 2:11
- Forum: Control-M Server
- Topic: NON-Global variables
- Replies: 5
- Views: 3339
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 ...
- 21 Oct 2008 2:05
- Forum: Exploitation / Operation
- Topic: Newbie - How to return variables from Oracle SQL script
- Replies: 4
- Views: 3384
- 14 Oct 2008 11:21
- Forum: Exploitation / Operation
- Topic: Newbie - How to return variables from Oracle SQL script
- Replies: 4
- Views: 3384
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...
- 10 Oct 2008 3:53
- Forum: Exploitation / Operation
- Topic: Newbie - How to return variables from Oracle SQL script
- Replies: 4
- Views: 3384
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...