Use XML to view Informix database instance properties. Run the operation from the command line, or automate configuration by combining command line operations in a script.
Use this command to:
-
View the current Informix database instance properties
-
View the Informix database instance properties to verify the changes after using XML to modify the instance
You can include the XML parameters in the xml file, or you can specify them on the command line when they frequently change. For more information on command line parameters and XML elements, see Command Line - Syntax.
Procedure
-
On the Informix Agent host, run the qlogin command to log on to the CommServe computer.
-
Download the getinstance_properties_template.xml file to the computer where you will run the command.
-
Open the getinstance_properties_template.xml file, add your specific parameters, and save the file.
For information on supported instance XML parameters, see Available XML Parameters for Informix Instance Configuration.
-
On the command line, go to Software_Installation_Directory/Base and type the command.
qoperation execute -af getinstance_properties_template.xml -appName 'Informix Database' -clientName 'client_name' -instanceName 'informix_instance'
Examples
Getting the Instance Properties for an Informix Database Instance
qoperation execute -af getinstance_properties_template.xml -appName 'Informix Database' -clientName 'client1' -instanceName 'nstance0001'