BookmarkSubscribeRSS Feed
hmlong25
Obsidian | Level 7
OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
68
69 /* Windows/UNIX */
70
71 /* STEP 1: Notice the default values for the %LET statements. */
72
73 /* STEP 2: If your files are not to be located in S:/workshop */
74 /* change the value of PATH= in the %LET statement to */
75 /* reflect your data location. */
76
77 /* STEP 3:Submit the program to create the course data files. */
78
79 /* STEP 4: View the Results and verify the CONTENTS procedure */
80 /* report lists the names of the SAS data sets that were created.*/
81
82
83 %let path=/home/u57597905/LWCRBM6/data/cre8data.sas;
84
85 /*+++++++++++++++++++++++++++++++++++++++++++++*/
86 /* Alternate Data Locations */
87 /* DO NOT CHANGE THE FOLLOWING CODE UNLESS */
88 /* DIRECTED TO DO SO BY YOUR INSTRUCTOR. */
89 /*+++++++++++++++++++++++++++++++++++++++++++++*/
90
91
92 *%let path=s:/workshop/crbm6;
93 *%let path=c:/workshop/crbm6;
94 *%let path=c:/SAS_Education/crbm6;
95 *%let path=c:/SAS_Education/lwcrbm6;
96
97
98
99 /*+++++++++++++++++++++++++++++++++++++++++++++*/
100 /* WARNING: DO NOT ALTER CODE BELOW THIS LINE */
101 /* UNLESS DIRECTED TO DO SO BY YOUR INSTURCTOR.*/
102 /*+++++++++++++++++++++++++++++++++++++++++++++*/
103
104 %include "&path/data/setup.sas" / encoding=wlatin1;
WARNING: Physical file does not exist, /home/u57597905/LWCRBM6/data/cre8data.sas/data/setup.sas.
ERROR: Cannot open %INCLUDE file /home/u57597905/LWCRBM6/data/cre8data.sas/data/setup.sas.
105
106
107 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
117

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

Register now!

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 0 replies
  • 665 views
  • 0 likes
  • 1 in conversation