Hi all,
In my job def, in tab "Set" i initiate
Varname = %%LIBMEMSYM
Value = c:\ctm\varfile.txt
varfile.txt contain only :
%%PathIN=C:\
%%dateStd=%%DATE
At the end of the job, i see control-M return "CTMERR" on the variables (here PathIN & dateStd)
I think is not an issue but, i can't understand how use the %%LIBMEMSYM (on ctm 7.0)
Thanks for your help
Regards
Using LIBMEMSYM
Yes sorry, i wanted to say %%LIBMEMSYM (i do update at the original post)Danny wrote:Varname = %%LYBMEMSYM
should be
Varname = %%LIBMEMSYM
After many tests, i just can understand that Control-M can't find the variable file. It's the reason why it can not read the variables. But why ...
I check the read/write rights : it's ok. The owner is domain admin ...
I'm lost !
Hi
Where did you put your file ?
The LIBMEMSYM file must be available from your Control-M Server only.
It could be a share, but your Server must be work with it.
After that, you must define in your job the path to access on this file.
In AUTOEDIT part you must define :
%%LIBMEMSYM = the complete path and filename
Where did you put your file ?
The LIBMEMSYM file must be available from your Control-M Server only.
It could be a share, but your Server must be work with it.
After that, you must define in your job the path to access on this file.
In AUTOEDIT part you must define :
%%LIBMEMSYM = the complete path and filename
I saw "Paris" so ...fyot wrote:Hi
Where did you put your file ?
The LIBMEMSYM file must be available from your Control-M Server only.
It could be a share, but your Server must be work with it.
After that, you must define in your job the path to access on this file.
In AUTOEDIT part you must define :
%%LIBMEMSYM = the complete path and filename
Le fichier est sur un control-M/Server de recette (avec l'agent également installé sur le même serveur).
Sur le job test, le LIBMEMSYM est déclaré depuis l'onglet "SET"
Var Name : LIBMEMSYM (sans préciser le %% puisque initié par défaut depuis cet onglet)
Value : C:\ctm\param\varliste.txt
sur retour de sysout, les variables appelées depuis ce fichier retourne un CTMERR systématiquement.
Après avoir échangé avec BMC sur le sujet, ils reproduisent le cas d'anomalie en indiquant un mauvais path ou mauvais nom de fichier. Donc ce qu'on comprend c'est que Ctm n'arrive pas à "trouver" ou même "lire" le fichier et donc les variables initiées dedans ...
Le owner du job est domain admin donc normalement pas de soucis de lecture sur un pauvre petit fichier text
Du coup ... c'est difficile à comprendre.
Encore merci pour ton aide.
Bonjour
Merci de répondre en anglais pour que tout le monde puisse profiter de l'information.
If you read job logs, you will see a message concerning
LIBMEMSYM FILE C:\ctm\param\varliste.txt NOT FOUND
Reasons could be :
1 - Control-M server need to have rights acces on the directory and the file.
2 - Your server is a windows 2008 version, so varliste.txt file name is in fact
named varliste.txt.txt
resaon is with windows 2008, extensions are not displayed in standard
but correctly added with the filename.
So verify it, and just rename varliste.txt as varliste, extension must
still exist, but will be not displayed.
You can verify it using CMD
Merci de répondre en anglais pour que tout le monde puisse profiter de l'information.
If you read job logs, you will see a message concerning
LIBMEMSYM FILE C:\ctm\param\varliste.txt NOT FOUND
Reasons could be :
1 - Control-M server need to have rights acces on the directory and the file.
2 - Your server is a windows 2008 version, so varliste.txt file name is in fact
named varliste.txt.txt
resaon is with windows 2008, extensions are not displayed in standard
but correctly added with the filename.
So verify it, and just rename varliste.txt as varliste, extension must
still exist, but will be not displayed.
You can verify it using CMD