Search found 149 matches
- 14 Jan 2010 7:58
- Forum: Control-M Enterprise Manager
- Topic: Alert Log
- Replies: 9
- Views: 4872
ajomarquez, It seems your script is called via a job defined with TASKTYPE Command. Otherwise, I don't see how the script could internally resolve an AutoEdit variable, while the command line of the job could resolve both AutoEdit and envirpnment variables. In that case, %%A is necessarilly resolved...
- 14 Jan 2010 7:23
- Forum: Job Definition
- Topic: Ending OK and submitting table with ret code
- Replies: 1
- Views: 1509
Hubba, Its not so easy to automate the removal of jobs that have been already ordered. The most direct reply to your need is, as you suggest yourself, to order the successors when needed. ON STMT * CODE COMPSTAT != 0 DO OK ON STMT * CODE COMPSTAT = 0 DO FORCEJOB TABLE <TABLE> JOBNAME <JOBNAME> You c...
- 14 Jan 2010 6:37
- Forum: Control-M Enterprise Manager
- Topic: Alert Log
- Replies: 9
- Views: 4872
- 14 Jan 2010 9:51
- Forum: Control-M Enterprise Manager
- Topic: Alert Log
- Replies: 9
- Views: 4872
- 13 Jan 2010 9:17
- Forum: Monitoring
- Topic: Problem with the Alert Window
- Replies: 2
- Views: 3274
- 12 Jan 2010 5:49
- Forum: Control-M Server
- Topic: Batch ended-ok even if .bat hasn't run
- Replies: 5
- Views: 9438
Diablau, The sysout does exist, so we can assume that the .bat specified in the job did run. We can imagine that the one which did not execute is actually D:\was\runtime\Start_Deferred.bat. Whichever the rc of the psexec can be, the subsequent echo and exit /B will always return a RC=0, and the job ...
- 11 Jan 2010 12:27
- Forum: Control-M Server
- Topic: Doubt
- Replies: 3
- Views: 3641
Nancy, There was a slight mistake in my previous post. Instead of: ON STMT * CODE * DO SETVAR %%\COMP=%%COMPUTERNAME .. which refers to an unexisting %%COMPUTERNAME AutoEdit variable, One should have read: ON STMT * CODE * DO SETVAR %%\COMP=%COMPUTERNAME% .. which refers to the environment variable ...
- 11 Jan 2010 10:42
- Forum: Monitoring
- Topic: Batch schedule monitoring
- Replies: 8
- Views: 10679
Well, the idea is to focus on exceptional events. Once notified, the operator should act on the job, probably using a more standard viewpoint. Since this particular viewpoint is only intended to catch attention, the best is to exclude ended jobs (OK or NOTOK) from the viewpoint, and leave the modifi...
- 09 Jan 2010 9:56
- Forum: Job Definition
- Topic: %%PATH Autoedit variable Overrides Shell PATH
- Replies: 5
- Views: 5840
- 08 Jan 2010 7:59
- Forum: Monitoring
- Topic: Batch schedule monitoring
- Replies: 8
- Views: 10679
Admin007 , All suggestions conduct to specifying shouts, and I don’t see any other way to dynamically “mark” those jobs which run for too long. I understand that if you send them messages to the alert window, they could be lost in the traffic. I tested a little trick which works and might help you. ...
- 08 Jan 2010 3:36
- Forum: Job Definition
- Topic: ctmfw timeout value
- Replies: 6
- Views: 6596
ttb_uk, I think you misplaced the absolute stop time, which should be the 10th positional parm. Actually, you did not specify the 8th (monitor file size when wildcard is used) and the 9th (starting time for detecting files). You should try this syntax: ctmfw %%filename CREATE 0 60 10 3 0 N NOW 20100...
- 07 Jan 2010 11:50
- Forum: Control-M Server
- Topic: Doubt
- Replies: 3
- Views: 3641
Nancy, A good trick is to define those global variables every day using a service job, which runs daily. Typically, this is a Dummy job which includes the following code: ON STMT * CODE * DO SETVAR %%\VAR1=<the> In addition, some control-m parms can be directly specified as environement variable. In...
- 07 Jan 2010 11:34
- Forum: Job Definition
- Topic: SQL is not executing
- Replies: 8
- Views: 3823
Venkat, First the target you specified is not the correct one. You should select the ORDERNO which is the unique Id of the job in the AJF (CMR_AJF), while the JOBNO you specified is the unique Id in the definitions (CMS_JOBDEF). You might go in trouble with that request in case the job is available ...
- 07 Jan 2010 11:30
- Forum: Job Definition
- Topic: Problem when scheduling a chain.
- Replies: 3
- Views: 2205
futre25, If I understand well, the requirement is as follows 1) All predecessors must complete with either RC=0 or RC=77 2) At least one must complete RC=0 The conditions from the 5 preds to the unique successor are individual events which are linked to every single predecessor end. The statement th...