|
|
|
|
|
k**********a 发帖数: 255 | 1 3222 libname sw 'C:\Users\given\Desktop\sw';
NOTE: Libref SW was successfully assigned as follows:
Engine: V9
Physical Name: C:\Users\given\Desktop\sw
3223 proc format lib=sw;
3224 value $itemfmt
3225 'C'='Cassette'
3226 'R'='Radio'
3227 'T'='Television';
NOTE: Format $ITEMFMT is already on the library.
NOTE: Format $ITEMFMT has been written to SW.FORMATS.
3228 run;
NOTE: PROCEDURE FORMAT used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
3229 data sasuser.orders;
3230 infile aug99dat;
3231 input ID 3. @5 Date date7.
3232 Item $13 Quantity 15-17
3233 Price 19-24 TotalCost 26-32;
3234 format date date9.
3235 item $itemfmt.
---------
48
ERROR 48-59: The format $ITEMFMT was not found or could not be loaded.
3236 totalcost dollar9.2;
3237 run;
NOTE: The SAS System stopped processing this step because of errors.
WARNING: The data set SASUSER.ORDERS may be incomplete. When this step was
stopped there were 0
observations and 6 variables.
WARNING: Data set SASUSER.ORDERS was not replaced because this step was
stopped.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
3238 proc print data=sasuser.orders;
3239 run;
NOTE: No observations in data set SASUSER.ORDERS.
NOTE: PROCEDURE PRINT used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds | k**********a 发帖数: 255 | 2 ERROR 48-59: The format $ITEMFMT was not found or could not be loaded
明明定义了啊 | y********0 发帖数: 638 | 3 这个是在default的sas 库里没找到你的format.
加个搜索路径选项试试.
OPTIONS FMTSEARCH= (sw sasuser);
【在 k**********a 的大作中提到】 : ERROR 48-59: The format $ITEMFMT was not found or could not be loaded : 明明定义了啊
| k**********a 发帖数: 255 | 4 thanks works as you suggested
【在 y********0 的大作中提到】 : 这个是在default的sas 库里没找到你的format. : 加个搜索路径选项试试. : OPTIONS FMTSEARCH= (sw sasuser);
|
|
|
|
|
|