Page 1 of 1

Probleme using ctmpsm -FULLUPDATE

Posted: 10 Mar 2011 5:19
by jejedelbarro
Hi,

i would like to change by script the "time from" parameter of a job in the controlm Entreprise.

I use this command :

ctmpsm -FULLUPDATE 01npj -TIMEFROM 0100

it works BUT is it normal it deletes the OUT condition of the job ?

log :

Code: Select all

 ctmpsm -LISTFULLDETAILS 01npj
 Job full details for order number:00001npj

Jobname: CHKFANION
Mem Name: CHKFANION
Group: OGD
Application: Y07CALL00
Owner: ****
NodeGroup:****
Task Type: C
Cyclic: N
Priority: AA
Critical: N
Max Rerun:  0
Interval: 00000M

Time From: 0000
Until:
Time Zone:
Max Wait: 99
Mem Lib :
Over Lib:
Sysout Option:
Sysout Parm:
Command Line:****

Out Condition: Y07CALL00CHKFANION-OK | date: 0307 | oper: +

ctmpsm -FULLUPDATE 01npj -TIMEFROM 0100
Orderno 00001npj has been Held successfully.
Job 77383 has been saved successfully.
Orderno 00001npj has been Freed successfully.

ctmpsm -LISTFULLDETAILS 01npj
 Job full details for order number:00001npj

Jobname: CHKFANION
Mem Name: CHKFANION
Group: OGD
Application: Y07CALL00
Owner: ogdsvg
NodeGroup:****
Task Type: C
Cyclic: N
Priority: AA
Critical: N
Max Rerun:  0
Interval: 00000M

Time From: 0100
Until:
Time Zone:
Max Wait: 99
Mem Lib :
Over Lib:
Sysout Option:
Sysout Parm:
Command Line:****

Thanks for your help

Posted: 15 Mar 2011 4:00
by jejedelbarro
Can someone try to change the "Time From" parameter with this command :

ctmpsm -FULLUPDATE orderid -TIMEFROM HHMM

and tell me if the "out condition" of the job disapear ?

Posted: 15 Mar 2011 5:21
by Walty
Hi,

Careful with this option because the -FULLUPDATE option parameter is displayed but officially not supported for external use and is also not documented in the official product documentation.

Problem is referenced:
When using the "ctmpsm -FULLUPDATE" command to update a job, existing In conditions, Out conditions and AutoEdit expressions are removed from the job definition.

I've tested and same result of you (v6.3)

Posted: 15 Mar 2011 5:34
by jejedelbarro
OK, thanks for your answer. Do you know if there is an other way to change this parameter (Time From) in command line ?

similar problem

Posted: 25 Jun 2012 8:16
by otsugua
I am using

ctmpsm -FULLUPDATE <orderid> -INTERVAL 10m

and although it is updating the interval to 10 min it also deletes all the entries in the database tab. The job I am trying to update the interval for, executes a stored proc

Thanks in advance for any ideas!!!