I'm trying to establish a shell instance in my script but it's spitting out ANS1036S errors (The option 'option' or the value supplied for it is not valid. It was found in options file 'file-name' at line number: number) for every single line starting with DEVCONFIG in the dsm.opt file. Even running straight from cmd fails with the same issue:
"C:\Program Files\Tivoli\TSM\baclient\dsmadmc.exe" -id=<userid> -pa=<password> -optfile="E:\TSM\TSM01\dsmscript.opt"
This is the content of the dsm file I copied (dsmscript.opt) for testing (I removed tabs and white spaces):
COMMMethod TCPIP
TCPPort 1500
DEVCONFIG devconf.dat
VOLUMEHISTORY volhist.dat
TCPADMINPort 1500
ACTIVELOGSize 131072
ACTIVELOGDirectory F:\TSM\Actlog
ARCHLOGDirectory E:\TSM\Archlog
DEDUPREQUIRESBACKUP YES
MAXSESSION 250
TXNGROUPMAX 65000
EXPINTERVAL 0
REPLBATCHSIZE 32768
REPLSIZETHRESH 32768
DATEFormat 2
DBMEMPERCENT 60
ARCHLOGUSEDTHRESHOLD 90
REORGBEGINTIME 04:00
REORGDURATION 4
ALLOWORGREINDEX YES
DNSLOOKUP NO
What gives?
"C:\Program Files\Tivoli\TSM\baclient\dsmadmc.exe" -id=<userid> -pa=<password> -optfile="E:\TSM\TSM01\dsmscript.opt"
This is the content of the dsm file I copied (dsmscript.opt) for testing (I removed tabs and white spaces):
COMMMethod TCPIP
TCPPort 1500
DEVCONFIG devconf.dat
VOLUMEHISTORY volhist.dat
TCPADMINPort 1500
ACTIVELOGSize 131072
ACTIVELOGDirectory F:\TSM\Actlog
ARCHLOGDirectory E:\TSM\Archlog
DEDUPREQUIRESBACKUP YES
MAXSESSION 250
TXNGROUPMAX 65000
EXPINTERVAL 0
REPLBATCHSIZE 32768
REPLSIZETHRESH 32768
DATEFormat 2
DBMEMPERCENT 60
ARCHLOGUSEDTHRESHOLD 90
REORGBEGINTIME 04:00
REORGDURATION 4
ALLOWORGREINDEX YES
DNSLOOKUP NO
What gives?