Pertanyaan

3 things happen when SAS encounters a data error:

Solusi

Terverifikasi Ahli
4.3 (177 Suara)
Taran master ยท Tutor selama 5 tahun

Jawaban

### 1. Missing value is assigned to the variable 2. Message is written to the SAS log explaining the error 3. The data set continues to execute

Penjelasan

## Step1: Identifying the Error### When SAS encounters a data error, it first identifies the error. This is done by SAS scanning through the data set and checking for any inconsistencies or errors.## Step2: Assigning a Missing Value### After identifying the error, SAS assigns a missing value to the variable that caused the error. This is done to handle the error and prevent the execution of the data set from being halted.## Step3: Writing a Message to the SAS Log### SAS then writes a message to the SAS log explaining the error. This is done to keep a record of the error and provide information about the error for future reference or troubleshooting.## Step4: Continuing the Execution### Finally, the data set continues to execute. Despite the error, SAS does not halt the execution of the data set. Instead, it continues to execute the rest of the data set.