-
Notifications
You must be signed in to change notification settings - Fork 21
SAS API Reference
This macro deserialises all the JavaScript data objects that have been passed into SAS tables. The name of the dataset is part of the adapter JS call.
This macro prepares the output stream for data object output. Conceptually similar to %STPBEGIN
This macro serialises a SAS dataset to a JavaScript data object.
objectName
is the name of the target JS object that the table will be serialised into
libn
is the libname of the dataset to be serialised and transmitted to the frontend
dsn
is the name of the dataset itself
h54skeys
is an optional parameter that controls the output format of the data. By default, the data will be returned as a key => value
object. When this option is turned on with %bafOutDataset(class, work, class, h54skeys=nokeys);
then the data is returned as an array of arrays: array[0]
is the metadata of the table and array[1]
is the actual data.
This macro closes the output stream for data objects. Counterpart to %bafHeader
. Conceptually similar to %STPEND
.