system date change during an executing job

Several scripts
Post Reply
User avatar
manzoo
Nouveau
Nouveau
Posts: 3
Joined: 08 Oct 2007 12:00

system date change during an executing job

Post by manzoo » 10 Feb 2010 4:09

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.

User avatar
philmalmaison
Nouveau
Nouveau
Posts: 1148
Joined: 08 Jun 2007 12:00
Location: Ile de France

Post by philmalmaison » 11 Feb 2010 4:58

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

User avatar
manzoo
Nouveau
Nouveau
Posts: 3
Joined: 08 Oct 2007 12:00

Post by manzoo » 12 Feb 2010 9:47

(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.

User avatar
philmalmaison
Nouveau
Nouveau
Posts: 1148
Joined: 08 Jun 2007 12:00
Location: Ile de France

Post by philmalmaison » 12 Feb 2010 2:01

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

User avatar
gglau
Nouveau
Nouveau
Posts: 317
Joined: 13 Jun 2007 12:00

Post by gglau » 12 Feb 2010 4:38

Have you tried the command to change system interactively that it does not wait for user input to complete?

Post Reply