Data Snapshots: View Generators

If an application or end user needs data in the form of a flat file (in comma-separated values (CSV), HTML, XML, or another format), you can create a view generator to meet this need.

In many situations, the ultimate consumer of data that has been provisioned or processed is an application or end user who needs the data accessible as a flat file in CSV, HTML, or XML format. That function is fulfilled by views.

Data Federation views consist of two parts: the view generator and the generated view, which is the file that results from view processing. When you configure a view generator, you name an input source and specify the parameters that the input source requires, as well as where in the data catalog you would like the generated output to appear. Finally, you configure the kind of transformation that you’d like performed. By default, Data Federation can simply pass through the results of the input and generate a CSV file or an HTML page. If you need customized processing, you can also specify an XSLT style sheet that will transform the input if it is XML (or rowset data that Data Federation will convert to XML on the fly).

Views can take input from files (including other views), data services, and database operations.

When generated view files are unused for a certain period, they are discarded.

You can configure views to issue update notifications whenever they are regenerated. Update notifications allow the regeneration of one view to trigger the update of another.

Views are configured by members of the DataProviders group.

Send your feedback on this help topic to Sybase Technical Publications: pubs@sybase.com

Your comments will be sent to the technical publications staff at Sybase, Inc. For product-related issues or technical support, contact Sybase Technical Support at 1-800-8SYBASE.