the WRITE CLOSE statement for containers only if you explicitly opened the
container with the WRITE OPEN statement.
Examples:“Example 4: Controlling JSON Containers and Writing Values” on page 987
“Example 6: Exporting Multiple SAS Data Sets to a JSON File” on page 993
Syntax
WRITE CLOSE;
Using the JSON Procedure
Exporting Data
The JSON procedure enables you to export one or more SAS data sets to a JSON output
file. In the procedure statements, you specify the name of the JSON output file and the
name of the SAS data set to be exported. For example, the following PROC JSON code
writes the data in a SAS data set named Sashelp.Class to a JSON output ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.