Probleme using ctmpsm -FULLUPDATE

Several scripts
Post Reply
User avatar
jejedelbarro
Nouveau
Nouveau
Posts: 3
Joined: 10 Mar 2011 12:00

Probleme using ctmpsm -FULLUPDATE

Post by jejedelbarro » 10 Mar 2011 5:19

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

User avatar
jejedelbarro
Nouveau
Nouveau
Posts: 3
Joined: 10 Mar 2011 12:00

Post by jejedelbarro » 15 Mar 2011 4:00

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 ?

User avatar
Walty
Nouveau
Nouveau
Posts: 473
Joined: 20 Jan 2006 12:00

Post by Walty » 15 Mar 2011 5:21

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)
Best regards
Walty

User avatar
jejedelbarro
Nouveau
Nouveau
Posts: 3
Joined: 10 Mar 2011 12:00

Post by jejedelbarro » 15 Mar 2011 5:34

OK, thanks for your answer. Do you know if there is an other way to change this parameter (Time From) in command line ?

User avatar
otsugua
Nouveau
Nouveau
Posts: 1
Joined: 25 Jun 2012 12:00

similar problem

Post by otsugua » 25 Jun 2012 8:16

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!!!

Post Reply