ADSM-L

Re: Problem with schedule objects

2002-01-31 15:05:14
Subject: Re: Problem with schedule objects
From: Zlatko Krastev/ACIT <acit AT ATTGLOBAL DOT NET>
Date: Thu, 31 Jan 2002 22:01:27 +0200
Alain,

You forgot to use two double quotes for embeded ones, i.e. in my test:
obj="dsmc arch '/tmp/wuninst*' -desc="`date  +'Archive date: %d-%m-%Y'`"
-archmc=arch_test >/tmp/dsm_arch.log"
The correct one should be:
The correct one should be:
obj="dsmc arch '/tmp/wuninst*' -desc=""`date  +'Archive date: %d-%m-%Y'`""
-archmc=arch_test >/tmp/dsm_arch.log"
I've made this mistake intentionally and got just the same error message.
I've made this mistake intentionally and got just the same error message.
If you use single quotes for the object parameter of the schedule double
quotes should not be written twice but now single ones should. Otherwise
you will get another but similar error:
ANR2020E UPDATE SCHEDULE: Invalid parameter - /TMP/WUNINST*'

Zlatko Krastev
IT Consultant





Alain Gourves <alain.gourves AT BNPPARIBAS DOT COM> on 28.01.2002 15:24:10
Please respond to "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
To:     ADSM-L AT VM.MARIST DOT EDU
cc:

Subject:        Problem with schedule objects

Hi,

I want to insert this line into objects option in a schedule

dsmc arch '/bnp/mksysb/mksysb_*' -desc="`date +'Archive Date: %d/%m/%y'`"
-archmc=ARCH_MKSYSB -deletefile
and I've this TSM error :
and I've this TSM error :
ANR2020E UPDATE SCHEDULE: Invalid parameter - `DATE

I use TSM 4.2.1.9 on AIX 4.3.3 system.

Any help will be very much appreciated.

Regards.

Alain Gourves
System engineer.





This message and any attachments (the "message") is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified.

                ---------------------------------------------

Ce message et toutes les pieces jointes (ci-apres le
"message") sont etablis a l'intention exclusive de ses
destinataires et sont confidentiels. Si vous recevez ce
message par erreur, merci de le detruire et d'en avertir
immediatement l'expediteur. Toute utilisation de ce
message non conforme a sa destination, toute diffusion
ou toute publication, totale ou partielle, est interdite, sauf
autorisation expresse. L'internet ne permettant pas
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce
message, dans l'hypothese ou il aurait ete modifie.
<Prev in Thread] Current Thread [Next in Thread>