Hello programmers,
Can anyone let me know what the QDrive in this code is? I has tried to assign the lbrary to my directory by swapping and changing the codes but it still gives me errors.
%let Qdrive = \\Cdc\project\CCHP_NCCD_DACH_BRFSS;
%let CYYYY = 2014;
LIBNAME LIBRARY "&Qdrive\BRFSS\PROJECTS\ASTHMA\&CYYYY\LIBRARY";
Proc FORMAT LIBRARY=LIBRARY;
Value $BIRTHW1z
"000001" - "003015" = "Pounds/Ounces "
"777777" = "Don't know "
"999999" = "Refused "
" " = "Partial complete "
;
Value $HEIGHT1z
"0001" - "0811" = "Feet/Inches "
"7777" = "Don't know "
"9999" = "Refused "
" " = "Partial complete "
;
Value $IDAY_F
"1" - "31" = "Interview day "doing
I would from the usage expect that it points to a server named CDC and the path for the user from the default location the user has there.
If that is not a path to your data then you should provide the actual path. In windows that would be starting at a Drive such as C:\\ (which you see might be missing the LETTER in your Qdrive definition) or a Unix/Linux drive mount.
When you get ERRORS you should include the LOG with the code that generates the error and all the messages generated. Copy the text from the log, on this forum open a text box with the </> icon that appears above the main message window and paste the text.
The text box prevents the message window from reformatting text which can make the diagnostic characters SAS often supplies appear in the wrong place.
I would from the usage expect that it points to a server named CDC and the path for the user from the default location the user has there.
If that is not a path to your data then you should provide the actual path. In windows that would be starting at a Drive such as C:\\ (which you see might be missing the LETTER in your Qdrive definition) or a Unix/Linux drive mount.
When you get ERRORS you should include the LOG with the code that generates the error and all the messages generated. Copy the text from the log, on this forum open a text box with the </> icon that appears above the main message window and paste the text.
The text box prevents the message window from reformatting text which can make the diagnostic characters SAS often supplies appear in the wrong place.
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!
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.