Working with instances

Content Manager OnDemand provides commands that you can use to work with an instance.

About this task

For example, Content Manager OnDemand provides commands to add, remove, and print spooled files and other data types and to manage storage. On many of the Content Manager OnDemand commands, one of the parameters that you can specify to a command is the name of the instance. By default, if you do not specify otherwise, the name of the instance is QUSROND. If you name your only instance something other than QUSROND or you work with more than one instance, then you must always specify the name of the instance when you run a command. That way you can make sure you are working with the correct instance.

See the IBM® Content Manager OnDemand for i: Administration Guide appendix entitled Command reference for more information about Content Manager OnDemand commands.

Content Manager OnDemand also provides APIs that you can use to work with an instance.

The ARSLOAD API uses the -I instance parameter. Content Manager OnDemand retrieves the name of the server that is associated with the instance from the ARS.INI file. For example (using QSHELL):
      arsload -I TEST -d /test/file1 -c /test/file2
where TEST is the name of the instance. In the example, the PORT parameter in the [@SRV@_TEST] section of the ARS.INI file identifies the server.

The ARSDOC API provides the -h flag to specify the name of the instance.

The following example shows how to run the programs in QSHELL by specifying the name of the instance:
      arsdoc get -h TEST -F parmfile
where TEST is the name of the instance. In the example, Content Manager OnDemand uses the PORT parameter in the [@SRV@_TEST] section of the ARS.INI file to identify the server.

See the IBM Content Manager OnDemand for i: Administration Guide appendix entitled API and user exit reference for more information about Content Manager OnDemand APIs.