Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » QAnywhere » QAnywhere API Reference » QAnywhere Agent utilities reference » qaagent utility


@data option

Reads options from the specified environment variable or configuration file.

qaagent @{ filename | environment-variable } ...

With this option, you can put command line options in an environment variable or configuration file. If both exist with the name you specify, the environment variable is used.

See Using configuration files.

If you want to protect passwords or other information in the configuration file, you can use the File Hiding utility to obfuscate the contents of the configuration file. See File Hiding utility (dbfhide).

This option is useful for Windows Mobile because command lines in shortcuts are limited to 256 characters.

Sybase Central equivalent

The QAnywhere plug-in to Sybase Central has a task called Create An Agent Command File. When you choose it, you are prompted to enter a file name and then a properties window appears that helps you enter the command information. The file that is produced has a .qaa extension. The .qaa file extension is a Sybase Central convention; this file is the same as what you would create for the @data option. You can use the command file created by Sybase Central as your @data configuration file.