<!-- Initializing the output item -->
<arc:set attr="output.data" />
<!-- Creating the input db item and the necessary attributes -->
<arc:set attr="db.driver" value="cdata.jdbc.mysql.MySQLDriver" />
<arc:set attr="db.catalog" value="sakila" />
<arc:set attr="db.conn" value="jdbc:cdata:mysql:server=localhost;port=3306;user=root;password=Password123;"/>
<arc:call op="dbListViews" in="db" out="results" >
<!-- adding result data from the operation to an output item that will be pushed out as a file -->
<arc:set attr="output.data">[output.data]\nView Name=[results.db:name]\nType=[results.db:type]\nCatalog=[results.db:catalog]\n-----
</arc:set>
</arc:call>
<!-- setting the filename and pushing the file out -->
<arc:set attr="output.filename" value="results.txt" />