Example: Exporting multiple objects
A user wants to export the printer objects named PRT01
and
PRT02
. This user also wants to export the storage set named
FavoriteSS
. An XML file exportlist.xml has
been created, and contains the information on these objects.
To complete this task, run the following QSHELL command line function:
arsxml export -h QUSROND -i exportlist.xml -o output.xml
The
file exportlist.xml might look like
this:<?xml version="1.0" encoding="UTF-8"?>
<onDemand xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<printer name="PRT01"/>
<printer name="PRT02"/>
<storageSet name="FavoriteSS"/>
</onDemand>
After the user runs the command, an output file named output.xml is created, and contains the information for the two printers and the storage set.