Hitachi

uCosminexus Service Platform Reference Guide


csamkxmls (Creating XML Format Definition File for Database Adapter)

Organization of this page

Format

csamkxmls -o SQL-operation-definition-file-name
          -x name-of-XML-format-definition-file-for-database-adapter
         [-f]

Function

Creates an XML format definition file for a database adapter; used for executing a service module of the database adapter.

This command is saved in the following location:

service-platform-installation-directory\CSC\bin

When executing the command, move to this location or specify the path.

Arguments

-o SQL-operation-definition-file-name ~~ <path name> ((1 - 200 bytes))

Specify the name of the SQL operation definition file that describes the SQL execution format. For the name of the SQL operation definition file, specify an absolute path to a file that has the csa_sql_any-name.xml format.

-x DB-name-of-xml-format-definition-file-for-database-adapter ~~ <path name> ((1- 200 bytes))

Specify the name of the XML format definition file for a database adapter to be created. For the name of the XML format definition file for a database adapter, specify an absolute path to a file that has the .xsd extension. Specify the name of the XML format definition file within 200 bytes#.

#

This is the byte count after converting the absolute path of the XML format definition file to UTF-8.

-f

Overwrites the existing XML format definition file for a database adapter if it has the same name as the file being created. If you do not specify this option when an XML format definition file for a database adapter having the same name as the file being created already exists, an error occurs.

Return value

Return value

Meaning

0

Normally terminated.

1

Abnormally terminated.

9

An error occurred when checking the execution permission.