Fetching report data You can obtain the data for the report in several ways. Fetching report data from a database using SQLYou can use SQL statements to retrieve the data for the report from database tables, requiring a connection to the database and the use of an SQL cursor. Fetching report data from a data fileYou can get the report data from a data file - one created by the BDL UNLOAD statement, for example. Fetching report data from an XML fileYou can get the report data from an XML file instead of getting it directly from a database.Fetching report data from a Web ServiceWeb Services can be used to fetch data for a report. BDL functions allow you to access a web service and retrieve data, storing it in BDL program variables.