clustersvc  DFC argument files

Chapter 1: Command Line Utilities

Using command line distributed function calls

The command line-to-DFC utility enables you to send DFC calls from within a shell script or from other types of applications that are not designed to use the normal DFC routing function commands.

You must create the DFC functions using MSG-IDE, and the DFCs must contain the strings you try to pass when you use the command line-to-DFC utility. Once you create the DFCs, they are saved to the AIM application’s configuration file and are available for you to call from the command line.

WARNING! When you define the function, the argument must have an [in] attribute.

To execute the utility, you can set the parameters in a configuration file or pass the options as command line arguments.

NoteTo run these command use the ims wrapper scripts, see “Adding the wrapper scripts directory to the PATH variable”.

You must also run this program from a directory where you have write permission since this program creates an xlog file in the directory from which you execute it.

Syntax

ims cmdlinedfc -cluster.name clusterName
     -cluster.server clusterServer
     -domain.type domainType
     -domain.name domainName
     -env.snmp.port snmpPort
     -env.trap.port trapPort
     -file fileName
     -dfc.function dfcFunctionName
     -dfc.flavor dfcFlavor
     -dfc.args[n]

Required parameters

The following parameters are required in a command-line DFC call:

Optional parameters

These parameters are optional:

NoteThe cluster.name, domain.type and domain.name arguments allow e-Biz Impact to identify the cluster external port using SNMP.

Log file

When the CNC utility is executed, the dfc.xlog log file is created. The log file contains debug, success, and error messages that occur during execution.

Return values

The return values are:





Copyright © 2005. Sybase Inc. All rights reserved. DFC argument files

View this book as PDF