file upload docs

This commit is contained in:
Allan Bowe 2018-09-28 14:12:32 +02:00
parent 90dcf37727
commit 0c29aa653d
3 changed files with 21 additions and 1 deletions

19
docs/dcu-fileupload.md Normal file
View File

@ -0,0 +1,19 @@
# Data Controller for SAS: File Uploads
Files can be uploaded via the Editor interface - first choose the library and table, then click "Upload".
<img src="/img/dcu-files1.png" height="350" >
The following should be considered when uploading data in this way:
- A header row (with variable names) is required
- Variable names must be the identical to the target (although this is not case sensitive)
- Duplicate variable names are not permitted
- Missing columns are not permitted
- Additional columns are ignored
- The order of variables does not matter
- The delimiter is extracted from the header row (so for `var1;var2;var3` the delimeter would be assumed to be a semicolon)
When loading dates, be aware that the data controller makes use of the `ANYDTDTE` and `ANYDTDTTME` informats.
This means that uploaded date / datetime values should be unambiguous (eg `01FEB1942` vs `01/02/42`) to avoid confusion - as the latter could be interpreted as `02JAN2042` depending on your locale and options `YEARCUTOFF` settings.

BIN
docs/img/dcu-files1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

View File

@ -2,8 +2,9 @@ site_name: Data Controller for SAS® Product Documentation
pages: pages:
- Home: index.md - Home: index.md
- Using Data Controller: - Using Data Controller:
- DC Overview: dc-overview.md - Overview: dc-overview.md
- DC User Guide: dc-userguide.md - DC User Guide: dc-userguide.md
- File Uploads: dcu-fileupload.md
- Configuring Data Controller: - Configuring Data Controller:
- Tables: dcc-tables.md - Tables: dcc-tables.md
- Security: dcc-security.md - Security: dcc-security.md