Reading and writing XML is working fine using next code;
filename xml_in filesrvc folderpath='/Users/myname/test/' filename='xml_in.xml';
filename xml_out filesrvc folderpath='/Users/myname/test/' filename='xml_out.xml';
data test;
length line $ 32676;;
infile xml_in lrecl=32767;
file xml_out_out;
input line;
put _infile_;
run;
Using complete pathname, filename, and file extension in a filename statement seems not to work in SAS Viya.
So I'm puzzled what to do with the libname statement with the automap option.
libname xml_in xmlv2 xmlfileref=xml_in automap=replace xmlmap=xx_map;