If you create a script file, which can have a .cfg extension or a text file extension, contains information on where to find the cluster and the DFC commands that you want to call for that cluster. Commands issued at the command line take precedence over values listed in the configuration file. The file name is user-defined; for example, <cluster_name>dfc.cfg.
To execute DFC using a configuration file, use this syntax:
ims cmdlinedfc -file filename
where filename is the name of the configuration file that contains the arguments, values and the DFC to call.
Then you create a configuration file, the portion of the argument that precedes the period is the name of the section. The portion of the argument after the period is intended and below the appropriate section. For example, the argument -domain.type Impact would be entered like this in the file:
cluster
name=clusterName
server=localhost
domain
name=Impact
type=Impact
dfc
function=dfcFunctionName
flavor=1
args=arg1 arg2 arg3
To invoke this command you enter:
ims cmdlinedfc -file mydfc.cfg
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |