ERROR: The referenced entity has not been defined.

I received the following today when uploading a large XML file via proc metadata:

ERROR: The referenced entity has not been defined.

All my entities had been appropriately escaped (or so I thought):

select (instr);

Loading files to SAS with CURL

A useful feature of SAS Stored Processes is the ability to load multiple files in a single request. This could be a bunch of CSVs for processing, or even a .sas program that you want to

Using CURL with SAS Stored Processes

I’ve said it before and I’ll say it again - SAS is an unparalleled platform for light...

Split Character Data With Private Use Delimiters

I recently had a challenge - how to delimit an array of character data, when the delimiter itself may be in the data?  Furthermore, when that array has to fit in a SAS macro variable?

I was aware of nonprintables (hidden gremlins that can s...

Look out - Locale Gotcha

As gotcha’s go, this was a good one!

We had a report being generated with dates that were inconsistent with the source file (MMDDYY instead of DDMMYY), but only for certain records.  This was definitely related to the

Building SAS Apps Locally

I’ve recently been using Visual Studio to build my SAS Web Apps, which is great as the intellisense will even scan css files to help with code completion.  Per...