Utilitaire ctmvar en ligne de commande via CTM.
Utilitaire ctmvar en ligne de commande via CTM.
Bonjour,
Je voudrai mettre ? jour une variable globale avec l'utilitaire CTMVAR en ligne de commande envoy? par Ctm, avez-vous deja effectu? cette action et comment faut-il parametrer l'utilitaire?
Je ne veux pas utiliser un .bat.
La commande que j'ai test?e est la suivante mais cela ne marche pas :
ctmvar -action SET -var "%%#\DPBC" -varexpr OK.
resultat de la sysout :
ctmvar -action SET -var "%DPBC" -varexpr OK
Var name '%DPBC' in -VAR invalid: it must begin with %%
usage: ctmvar
-ACTION <LOAD>
[ -VAR <Variable> ]
[ -VAREXPR <Variable> ]
[ -FILENAME <Filename> ]
[ -QUIET ]
[ -DEBUG <debug> ]
Merci d'avance.
Yves31.
*****************************************************************
Hello,
I would like to update variable with utility CTMVAR in line of order sent by Ctm, did you have already done that command, how you must configure the utility? I do not want to use a .bat.
The command that I tested is as follows but that does not works :
ctmvar -action SET -var "%%#\DPBC" -varexpr OK.
result of the sysout :
ctmvar -action SET -var "%DPBC" -varexpr OK
Var name '%DPBC' in -VAR invalid: it must begin with %%
usage: ctmvar
-ACTION <LOAD>
[ -VAR <Variable> ]
[ -VAREXPR <Variable> ]
[ -FILENAME <Filename> ]
[ -QUIET ]
[ -DEBUG <debug> ]
Thanks in advance
Yves31.
Je voudrai mettre ? jour une variable globale avec l'utilitaire CTMVAR en ligne de commande envoy? par Ctm, avez-vous deja effectu? cette action et comment faut-il parametrer l'utilitaire?
Je ne veux pas utiliser un .bat.
La commande que j'ai test?e est la suivante mais cela ne marche pas :
ctmvar -action SET -var "%%#\DPBC" -varexpr OK.
resultat de la sysout :
ctmvar -action SET -var "%DPBC" -varexpr OK
Var name '%DPBC' in -VAR invalid: it must begin with %%
usage: ctmvar
-ACTION <LOAD>
[ -VAR <Variable> ]
[ -VAREXPR <Variable> ]
[ -FILENAME <Filename> ]
[ -QUIET ]
[ -DEBUG <debug> ]
Merci d'avance.
Yves31.
*****************************************************************
Hello,
I would like to update variable with utility CTMVAR in line of order sent by Ctm, did you have already done that command, how you must configure the utility? I do not want to use a .bat.
The command that I tested is as follows but that does not works :
ctmvar -action SET -var "%%#\DPBC" -varexpr OK.
result of the sysout :
ctmvar -action SET -var "%DPBC" -varexpr OK
Var name '%DPBC' in -VAR invalid: it must begin with %%
usage: ctmvar
-ACTION <LOAD>
[ -VAR <Variable> ]
[ -VAREXPR <Variable> ]
[ -FILENAME <Filename> ]
[ -QUIET ]
[ -DEBUG <debug> ]
Thanks in advance
Yves31.
Bonjour,
Pour information la commande que je donne marche sur un agent UNIX par contre pour un agent windows cela ne marche pas.
J'ai essaye ce que tu me donnes mais le resultat n'est pas bon, voici le resultat de la sysout.
ctmvar -action set -var 'DPBC' -varexpr toto
Var name ''DPBC'' in -VAR invalid: it must begin with %% ........
par contre si je mets les %% la variable est resolue par CTM et le resultat est :
ctmvar -action set -var 'KO' -varexpr toto
Var name ''KO'' in -VAR invalid: it must begin with %%
Merci quand m?me.
Yves31
*******************************************************************
Hello,
For information the command that I on the other hand give walk on an agent UNIX for an agent Windows that does not go.
I have test what you give me but the result is not good, here the result of the sysout.
ctmvar -action set -var 'DPBC' -varexpr toto
Var name ''DPBC'' in -VAR invalid: it must begin with %% ........
on the other hand if I put the %% the variable is solved by CTM and the result is:
ctmvar -action set -var 'KO' -varexpr toto
Var name ''KO'' in -VAR invalid: it must begin with %%
Thank you nevertheless.
Yves31
Pour information la commande que je donne marche sur un agent UNIX par contre pour un agent windows cela ne marche pas.
J'ai essaye ce que tu me donnes mais le resultat n'est pas bon, voici le resultat de la sysout.
ctmvar -action set -var 'DPBC' -varexpr toto
Var name ''DPBC'' in -VAR invalid: it must begin with %% ........
par contre si je mets les %% la variable est resolue par CTM et le resultat est :
ctmvar -action set -var 'KO' -varexpr toto
Var name ''KO'' in -VAR invalid: it must begin with %%
Merci quand m?me.
Yves31
*******************************************************************
Hello,
For information the command that I on the other hand give walk on an agent UNIX for an agent Windows that does not go.
I have test what you give me but the result is not good, here the result of the sysout.
ctmvar -action set -var 'DPBC' -varexpr toto
Var name ''DPBC'' in -VAR invalid: it must begin with %% ........
on the other hand if I put the %% the variable is solved by CTM and the result is:
ctmvar -action set -var 'KO' -varexpr toto
Var name ''KO'' in -VAR invalid: it must begin with %%
Thank you nevertheless.
Yves31
Bonjour,
Suite ? ton message voila le resultat:
commande : ctmvar -action SET -var %%%%DPBC -varexpr OK
ctmvar -action SET -var CTMERRKO -varexpr OK
Var name 'CTMERRKO' in -VAR invalid: it must begin with %%
D?sol?.
*************************************************************************
Hello,
Following your message here is the result:
command: ctmvar -action SET -var %%%%DPBC -varexpr OK
ctmvar -action SET -var CTMERRKO -varexpr OK
Var name 'CTMERRKO' in -VAR invalid: it must begin with %%
Sorry.
Suite ? ton message voila le resultat:
commande : ctmvar -action SET -var %%%%DPBC -varexpr OK
ctmvar -action SET -var CTMERRKO -varexpr OK
Var name 'CTMERRKO' in -VAR invalid: it must begin with %%
D?sol?.
*************************************************************************
Hello,
Following your message here is the result:
command: ctmvar -action SET -var %%%%DPBC -varexpr OK
ctmvar -action SET -var CTMERRKO -varexpr OK
Var name 'CTMERRKO' in -VAR invalid: it must begin with %%
Sorry.
Bonjour et merci encore de passer du temps a resoudre mon probl?me.
J'ai essay? ta commande mais helas cela ne marche toujours pas.
ctmvar -action SET -var "%%%%\DPBC" -varexpr OK
resultat de la sysout :
ctmvar -action SET -var "CTMERRCTMERR\DPBC" -varexpr OK
Var name 'CTMERRCTMERR\DPBC' in -VAR invalid: it must begin with %%
A bientot.
************************************************************************
Hello and thank you still to spend time has to solve my problem.
I tested your order but alas that still does not go.
ctmvar -action SET -var "%%%%\DPBC" -varexpr OK
result of the sysout:
ctmvar -action SET -var "CTMERRCTMERR\DPBC" -varexpr OK
Var name 'CTMERRCTMERR\DPBC' in -VAR invalid: it must begin with %%
So long.
J'ai essay? ta commande mais helas cela ne marche toujours pas.
ctmvar -action SET -var "%%%%\DPBC" -varexpr OK
resultat de la sysout :
ctmvar -action SET -var "CTMERRCTMERR\DPBC" -varexpr OK
Var name 'CTMERRCTMERR\DPBC' in -VAR invalid: it must begin with %%
A bientot.
************************************************************************
Hello and thank you still to spend time has to solve my problem.
I tested your order but alas that still does not go.
ctmvar -action SET -var "%%%%\DPBC" -varexpr OK
result of the sysout:
ctmvar -action SET -var "CTMERRCTMERR\DPBC" -varexpr OK
Var name 'CTMERRCTMERR\DPBC' in -VAR invalid: it must begin with %%
So long.
Bonjour,
Cette commande est envoy? par ligne de commande (Task Type parameter est Command).
Si cette commande etait envoy?e dans un job comme un .bat il n'y aurait pas de probl?me.
Pour l'instant sur l'agent Unix cela marche bien mais j'ai toujours des probl?mes sur l'agent Windows.
A bient?t.
***********************************************************************
Hello,
This command is sent by command line (Task type parameter is Command).
If this command were sent in a job as a .bat it would not have there problem.
For the moment on the Unix agent that goes well but I always have problems on the Windows agent.
So long.
Cette commande est envoy? par ligne de commande (Task Type parameter est Command).
Si cette commande etait envoy?e dans un job comme un .bat il n'y aurait pas de probl?me.
Pour l'instant sur l'agent Unix cela marche bien mais j'ai toujours des probl?mes sur l'agent Windows.
A bient?t.
***********************************************************************
Hello,
This command is sent by command line (Task type parameter is Command).
If this command were sent in a job as a .bat it would not have there problem.
For the moment on the Unix agent that goes well but I always have problems on the Windows agent.
So long.