csamkxmls (Creating XML Format Definition File for Database Adapter)

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.

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 valueMeaning
0Normally terminated.
1Abnormally terminated.
9An error occurred when checking the execution permission.