Example: Exporting a group without the dependent User objects
A user wants to export a group named BigGroup
but none of the users that are
referenced by it. That user created a file named
exportbiggroup.xml.
To complete this task, run the following QSHELL command line function:
arsxml export -h QUSROND -i exportbiggroup.xml -r i -o output.xml
The
file exportbiggroup.xml might look like this:
<?xml version="1.0" encoding="UTF-8"?>
<onDemand xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<group name="BigGroup"/>
</onDemand>
This command creates an XML file that contains the
BigGroup
object but none of the users that are referenced by
it. The resulting XML file looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<onDemand xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<group name="BigGroup" description="Test group of users"
updateDate="03/29/19 10:29:36" updateUserid="DBRYANT" gid="1080001" >
</group>
</onDemand>