Update ClearCase view config spec with command line with changed load rules -
i have base clearcase snapshot view being updated automatically overnight based on config spec file using command
cleartool setcs -overwrite -ptime d:\cs.cs
the problem config spec load rules being changed , if run command ask confirmation update load rules
r:\>cleartool setcs -overwrite -ptime d:\cs.cs cleartool: warning: 1 objects eliminated new config spec's load rules: "\qa\qtp" continue, , unload these objects? [no]
so there way tell clearcase using command line automatically continue update without getting confirmation ?
as mentioned in "batch script automate dos program options", write right answer in file, , redirect command.
cleartool setcs -overwrite -ptime d:\cs.cs < yes.txt
that way, if command stops getting input, have immediately.
you find similar approach in "how userinput without typing batch file".
Comments
Post a Comment