Execution Phase
Initializing Variables
At the
beginning of the execution phase, the value of _N_ is 1. Because there
are no data errors, the value of _ERROR_ is 0.
data work.update;
set cert.invent;
Total=instock+backord;
SalePrice=(CostPerUnit*0.65)+CostPerUnit;
format CostPerUnit SalePrice dollar6.2;
run;
Figure 7.6 Program Data Vector: Initializing Variables
The remaining variables
are initialized to missing. Missing numeric values are represented
by periods, and missing character values are represented by blanks.
SET Statement
The SET statement identifies the location of the input data set. Columns are added to the PDV in ...
Get SAS Certified Specialist Prep Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.