Hello Pat,

Thank you for reaching out. My work was done on the SAS Viya platform. If you are running this code on SAS 9.4, the syntax could be different.

I suggest you open a ticket with SAS Technical Support. It has been a few years since I wrote the code. Some other changes may have been made with SAS API to FRED.