The following SAS program is submitted:data work.test;Title = 'A Tale of Two Cities, Charles J. Dickens';Word = scan(title,3,' ,');run;Which one of the following is the value of the variable WORD in the output data set?
The following SAS program is submitted:data work.test;First = 'Ipswich, England';City_Country = substr(First,1,7)!!', '!!'England';run;Which one of the following is the length of the variable CITY_COUNTRY in the output data set?
The following SAS program is submitted:data work.test;First = 'Ipswich, England';City = substr(First,1,7);City_Country = City!!', '!!'England';run;Which one of the following is the value of the variable CITY_COUNTRY in the output data set?
Which one of the following is true of the RETAIN statement in a SAS DATA step program?
A raw data file is listed below:--------10-------20-------30squash 1.10apples 2.25juice 1.69The following SAS program is submitted using the raw data file above: data groceries; infile 'file-specification'; input item $ cost; run;Which one of the following completes the program and produces a grand total for all COST values?
The following SAS program is submitted:libname sasdata 'SAS-data-library';data test;set sasdata.chemists (keep = job_code);if job_code = 'chem3'then description = 'Senior Chemist';run;The variable JOB_CODE is a character variable with a length of 6 bytes.Which one of the following is the length of the variable DESCRIPTION in the output data set?