Hello,
I am not familiar at all with the operation that we can carry out on an xml file.
I have tried to replicate the example found in the documentation
"http://support.sas.com/documentation/cdl/en/engxml/65362/HTML/default/viewer.htm#n1aye4njb0j9ffn1gml..."
(see code below) but I am getting this error message:
The opening of the data failed. The following error occurred. [Error] The output.suppliers.data file is sequential. This task requires observations to be read in random order, but the engine only allows sequential access.
Does someone could help me with that issue
proc import
datafile="\\...\Documents\Test\suppliers.xlsx"
dbms=xlsx
out=work.suppliers (drop= M)
replace;
run;
/*We have the suppliers table */
filename xsd "...\Documents\Test\XML\suppliers.xsd";
libname output xml "...\Documents\Test\XML\suppliers.xml"
XMLTYPE=generic xmlmeta=schemadata xmlschema=xsd;
data output.suppliers;
set work.suppliers;
run;