Trying to connect to dsmadmc gives me a bunch of dsm.opt file errors...

Niceman

Newcomer
Joined
Mar 29, 2020
Messages
4
Reaction score
0
Points
0
PREDATAR Control23

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?
 
PREDATAR Control23

The content of what you pasted on the screen are all options valid in dsmserv.opt, very few of these are valid for dsm.opt.

dsmserv.opt -> option file used by the server when starting
dsm.opt (or other .opt) -> option file used by the clients (dsm.exe, dsmc.exe and dsmadmc.exe)
 
Top