Loading...
Searching...
No Matches
loadfile.test.sas File Reference

testing loadfile with values that hold a quote character More...

Go to the source code of this file.

Detailed Description

An uploaded CSV is a user's file, so a value such as ‘'N/A’is ordinary data and the quotes are part of it - the same row submitted through the EDIT screen (stagedata) keeps them. SAS list input with the dsd option does not: a field that starts with a quote character is read as a quoted field and the quotes are removed, so the row reached the RLS post edit hook asN/A` and was rejected as an invalid filter.

Both rows below carry the encoding the client writes for such a value: the value is wrapped in double quotes and any double quote inside it is doubled. The payload is built from the expected values so the assertion cannot drift from what is sent.

SAS Macros

@sasjslint {"maxLineLength": 80}

Definition in file loadfile.test.sas.