SASERAIN Interface Engine

SAS OUTXML File

The SAS XML (XML format) data that are returned from the World Weather Online website are placed in a file that is named by the OUTXML= option. The SASERAIN interface engine creates a separate XML file for each World Weather Online code that you list in the QUERY= option. The engine numbers each data set’s XML file in the order in which it appears in the QUERY= option, so the first data set has a 1 concatenated to the file name, the second data set has a 2 concatenated to the file name, and so on. When the QUERY= option contains more than one World Weather Online code, the variable names also have the same numeral concatenated to them. This naming convention enables the engine to merge all the selected time series into one SAS data set while preserving the identity of each time series. The SAS XML data are placed in the current working directory. The SAS data set created when the XML data are read into SAS is placed in the location specified by the physical-name in the LIBNAME libref SASERAIN statement, which is described in the section The LIBNAME libref SASERAIN Statement.

Last updated: June 19, 2025