The UPDATE statement performs rowwise updates of the data in an in-memory table.
specifies the name of the variable to update.
specifies the value to assign to the variable.
specifies the libref
and table name of a SAS data set to use for updating the in-memory
table. The data set must contain the variables and values that you
want to update. You can specify a _WHERE_
variable
in the data set to apply as a filter to the particular set of update
values. This clause in the data set augments the overall WHERE clause,
if one is specified.
specifies a file reference to a SAS program to use for the row update (an update script). You can combine the specification of a SAS program through the CODE= option with the name-value pair specification or the DATA= specification for bulk updates. The updates that are specified in the name-value pair and DATE= specifications are performed first and then the update script executes on the modified row to produce the update.
Alias | PGM= |
specifies to prevent the procedure from pre-parsing and pre-generating code for temporary expressions, scoring programs, and other user-written SAS statements.
Alias | NOPREP |
saves the result table so that you can use it in other IMSTAT procedure statements like STORE, REPLAY, and FREE. The value for table-name must be unique within the scope of the procedure execution. The name of a table that has been freed with the FREE statement can be used again in subsequent SAVE= options.
specifies either a quoted string that contains the SAS expression that defines the temporary variables or a file reference to an external file with the SAS statements.
Alias | TE= |
specifies the list of temporary variables for the request. Each temporary variable must be defined through SAS statements that you supply with the TEMPEXPRESS= option.
Alias | TN= |