Page 1 of 1

system date change during an executing job

Posted: 10 Feb 2010 4:09
by manzoo
hi,

We have to change system date with a job but it hangs in executing.

It seems to make trouble with control-m Agent when we execute this script.


i've search through this forum and google and i've found nothing about...


Do you have some explanations or some tricks to fix this ?


Best regards.

Posted: 11 Feb 2010 4:58
by philmalmaison
hy,
do the following:
right the orderid somewhere, ansd then on controlm server do a p_36 <order_id>, it should give you the exact orderno concerned by the problem, then you can manually modify the CMR_AJF table of your controlm server by using the following sql command :
update CMR_AJF set STATE = '5', OSCOMPSTAT=1, STATUS='N' where ORDERNO = <orderno>

finish by doing a hold/free of the job ,it should then go NOK

regards
philmalmaison

Posted: 12 Feb 2010 9:47
by manzoo
(je pense qu'en français ce sera plus simple)

le problème n'est pas de remettre le job dans un état favorable a continuer la chaine mais entre dans un processus d'industrialisation d'installation applicative qui nécessitent d'être à la date du jour sur des serveurs ou la TRA ont eux besoin de faire des simulation avec une date serveur dans le futur ou le passé.

==================

the problem is not to put the job in a state favorable to continue the chain but enters a process of industrialization installation application that need to be at the time of day on servers or TRA need to have them make simulation with a time server in the future or the past.

Posted: 12 Feb 2010 2:01
by philmalmaison
you're oblige to have a specific controlm server to do that, and play with ctmudlst utility to setup userdaily ODAT... that allow you to load userdaily system even if ODAT is in the past or in the futur.

regards
philmalmaison

Posted: 12 Feb 2010 4:38
by gglau
Have you tried the command to change system interactively that it does not wait for user input to complete?