SAS Certified Base Programmer 123 Questions (113)
A SAS program is submitted and the following SAS log is produced: 2 data gt100; 3 set ia.airplanes 4 if mpg gt 100 then output; 22 202 ERROR: File WORK.IF.DATA does not exist. ERROR: File WORK.MPG.DATA does not exist. ERROR: File WORK.GT.DATA does not exist. ERROR: File WORK.THEN.DATA does not exist. ERROR: File WORK.OUTPUT.DATA does […]
SAS Certified Base Programmer 123 Questions (112)
The contents of the raw data file SIZE are listed below: —-|—-10—|—-20—|—-30 72 95 The following SAS program is submitted: data test; infile ‘size’; input@ 1 height 2. @ 4 weight 2; run; Which one of the following is the value of the variable WEIGHT in the output data set? A. 2 B. 72 C. […]
SAS Certified Base Programmer 123 Questions (111)
A SAS PRINT procedure output of the WORK.LEVELS data set is listed below: Obs name level 1 Frank 1 2 Joan 2 3 Sui 2 4 Jose 3 5 Burt 4 6 Kelly . 7 Juan 1 The following SAS program is submitted: data work . expertise; set work. levels; if level = . then […]
SAS Certified Base Programmer 123 Questions (110)
The contents of the raw data file EMPLOYEE are listed below: —-|—-10—|—-20—|—-30 Ruth 39 11 Jose 32 22 Sue 30 33 John 40 44 The following SAS program is submitted: data test; in file’ employee’; input employee_ name $ 1-4; if employee_ name = ‘Ruth’ then input idnum 10-11; else input age 7-8; run; Which […]
SAS Certified Base Programmer 123 Questions (109)
The contents of the raw data file EMPLOYEE are listed below: —-|—-10—|—-20—|—-30 Ruth 39 11 Jose 32 22 Sue 30 33 John 40 44 The following SAS program is submitted: data test; in file’ employee’; input employee_ name $ 1-4; if employee_ name = ‘Sue’ then input age 7-8; else input idnum 10-11; run; Which […]