반응형
250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- 부산교통공사
- 신입사원 채용
- 아비무쌍
- 에듀윌특별판
- 아비무쌍 #오존
- 금강마신
- 객관식 경영학
- 토르마무
- 객경
- 부교공
- 부교공 면접
- 2024 부산교통공사 면접
- 객관식 경영학 정오표
- 에듀윌 봉모
- 김윤상
- 모듈형 #산인공 #산업인력공단 #ncs #예시문제 #해설
- 천소소
- 노경찬
- 코레일
- sas base
- 강웅
- 무협
- 김윤상 객경 정오표
- 산업인력공단 #산인공 #ncs #모듈형 #정오표
Archives
- Today
- Total
나루다루
SAS BASE Q64. keep 본문
728x90
반응형
QUESTION NO: 64
After a SAS program is submitted, the following is written to the SAS log:
105 data january;
106 set allmonths(keep = product month num_sold cost);
107 if month = 'Jan' then output january;
108 sales = cost * num_sold;
109 keep = product sales;
ERROR 22-322: Syntax error, expecting one of the following:
!, !!, &, *,**, +, -,/, <,< =, <>, =, >, ><, >=, AND, EQ, GE, GT, IN, LE, LT, MAX, MIN, NE, NG, NL, NOTIN, OR,^=,|,II,
110 run;
What changes should be made to the KEEP statement to correct the errors in the LOG?
A. keep product sales;
B. keep product, sales;
C. keep = product, sales;
D. keep = (product sales);
Answer: A
# 문제 풀이
- 109번 줄에서 에러가 났다.
- keep문은 = 를 쓰는게 아니라 띄어쓰기로 나열한다.
728x90
반응형
'Study > SAS BASE' 카테고리의 다른 글
SAS BASE Q66. ods html (0) | 2018.11.02 |
---|---|
SAS BASE Q65. cat & catx & !! (0) | 2018.11.02 |
SAS BASE Q63. first [수정] (0) | 2018.11.02 |
SAS BASE Q62. ?? (0) | 2018.11.02 |
SAS BASE Q61. 정렬(sort) (0) | 2018.11.01 |
Comments