I am attempting to run the CCS Code to assess for ICD-9 diagnoses, running on SAS EG. However, I am getting an error code that I cannot seem to correct. I've tried to change the syntax of the '%LET CORE=' code to remove the double quotations, remove the ~, remove each '/', remove both '//', added the 'sas7bdat' extension, but I keep getting the syntax message. I attempted to simplify the path names. Does this code & log snip help? Any responses are appreciated as I've been trying to fix this for over a week. CODE USED IN SAS ENTERPRISE GUIDE TO LOAD CCS DIAGNOSTIC TOOL:
FILENAME INRAW1 "~//…/CCS/ICD_9/ccs_multi_dx_tool_2015.csv" RECL=300;
FILENAME INRAW2 "~//…/CCS/ICD_9/ccs_multi_pr_tool_2015.csv" LRECL=300;
LIBNAME IN1 "~//…/Example_Analysis/"; * Location of input discharge data;
LIBNAME OUT1 "~//…OUT_Analysis"; * Location of output data;
TITLE1 'CREATE CCS MULTI-LEVEL TOOL CATEGORIES';
TITLE2 'USE WITH DISCHARGE ADMINISTRATIVE DATA THAT HAS DIAGNOSIS OR PROCECDURE CODES';
/******************************************************************/
/* Macro Variables that must be set to define the characteristics*/
/* of your SAS discharge data. Change these values to match the */
/* number of diagnoses and procedures on your dataset. Change */
/* CORE to match the name of your dataset. */
/******************************************************************/
* Maximum number of DXs on any record; %LET DXS=6;
* Maximum number of PRs on any record; %LET PRS=6;
* Input SAS file member name; %LET CORE="~//…/EXAM_long";
LOG WITH ERROR:
NOTE: Line generated by the macro variable "CORE".
223 IN1."~//…EXAM_long”
____
22
201
ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, ;, CUROBS, END, INDSNAME, KEY, KEYRESET, KEYS,
NOBS, OPEN, POINT, _DATA_, _LAST_, _NULL_.
ERROR 201-322: The option is not recognized and will be ignored.
... View more