(Windows only) Creates a new SAP ASE server, Backup Server, or XP Server with default
or user-specified values for key configuration attributes, as well as installs and modifies
languages, character sets, and sort order defaults for SAP ASE.
The sybatch utility is the command-line version of the
syconfig GUI utility, designed for batch mode and driven by
resource files.
The sybatch executable file is located in the
%SYBASE%\%SYBASE_ASE%\bin\sybatch.exe directory.
Syntax
sybatch
[-c charset]
[-h]
[-l language]
[-log log_file]
[-s release_directory]
[-v]
[-D user_data_directory]
[-I interfaces_file]
-r resources_file
Parameters
- -c charset – Specifies the character set.
- -h – Prints help information for sybatch then quits.
- -l language – Specifies the language you want to use for the SAP ASE server.
- -log log_file – Specifies the name and location of the log file for
sybatch.
- -s release_directory – Specifies the name and location of the SAP ASE directory.
- -v – Prints the version number then quits.
- -D user_data_directory
– (optional) specifies the working directory when
it differs from the default installation directory for the SAP ASE server.
Use this option when you specify at the time that you install SAP ASE, that
another user could configure the server. If you do not use
-D, the SAP ASE server uses
%SYBASE% as the default.
- -I interfaces_file – Specifies the name and location of the interfaces file for the SAP ASE
server.
- -r resources_file – specifies the name and location of the resources file for the SAP ASE
server.
Examples
- Example 1 – Specifies a resource file called myase:
sybatch.exe -r myase.res
Usage
If you do not want to include the login and password in the resources file (for
security reasons, for example), you can set them in the SYBASE_ASE_SA_USER and
SYBASE-ASE_SA_PWD environment variables.
Permissions
You must be a Sybase System Administrator or log in with the sa_role to use sybatch.