I've written a program to import a CSV and export an xml file to a SharePoint folder. All works well except that I get an "Error: File is in use" error the next time I run the program. I have to restart EG and I get a sas.exe error when closing the program. Below is the code. Any suggestions? It's annoying that I have to restart the program everytime I make a change as I test edits to the program.
libname t1 xml '\\xxx.net\corpsys\assessment-testing-program\XML Files\req_candidates.xml' xmltype=MSACCESS xmlmeta=schemadata xmlschema=xsd XMLENCODING='UTF-8';
filename xsd '\\xxx.net\corpsys\assessment-testing-program\XML Files\req_candidate.xsd';
data t1.auto_req_candidates;
set WORK.auto_req_candidates;
run;
Close both the filename and t1 references.
libname t1;
filename xsd clear;
you picked the right one. 🙂
Close both the filename and t1 references.
libname t1;
filename xsd clear;
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.