dsmc command

aarthie

Newcomer
Joined
Oct 22, 2003
Messages
1
Reaction score
0
Points
0
Hi,



I wrote an unix script to back up file systems in AIX 5.2 which my TSM administrator executed through the schedulor.



Following are the commands I used in the K Shell unix script.



dsmc sel /usr/* /var/* /tmp/* /home/* -su=y > arcses1.out



dsmc sel /cm/lbosdata/* /cm/staging/* -su=y > arcses2.out



dsmc sel /cm/load/* /cm/tsmdata/* /cm/tsmdb/* -su=y > arcses3.out



dsmc sel /cm/tsmdata/volumes2/* -su=y > arcses4.out



dsmc sel /cm/tsmdata/volumes3/* -su=y > arcses5.out



dsmc sel /backups/* -su=y > arcses6.out



dsmc sel /cm/icmdbfs/* -su=y > arcses7.out



Only Sessions 4,6 and 7 backed up fine.



Sessions 1,3 and 5 gave the following error message.



ANS1102E Excessive number of command line arguments passed to the program!

ANS1133W An expression might contain a wildcard not enclosed in quotes



Session 2 out put is empty.



Can you please help out how to give the correct command? Any help is greatly appreciated.
 
try using "" to enclose each filespace



dsmc sel "/usr/*" "/var/*" "/tmp/*" "/home/*" -su=y > arcses1.out



this worked for me.....
 
Back
Top