PROC CASUTIL is used to load a CSV file from disk into a CAS in-memory table. Which statement correctly loads a CSV named 'customers.csv' from the caslib path into a CAS table named 'CUSTOMERS'?
Select an answer to reveal the explanation.
Short Explanation and Infographic
Here's the deal — c is correct because PROC CASUTIL's LOAD statement uses CASDATA= to specify the file name, INCASLIB= to specify the source caslib, CASOUT= to specify the output CAS table name and target caslib, and IMPORTOPTIONS=(FILETYPE='CSV') to specify the file format. A is wrong; DATA= is not valid PROC CASUTIL syntax — CASDATA= is used.
Full explanation below image
Full Explanation
C is correct because PROC CASUTIL's LOAD statement uses CASDATA= to specify the file name, INCASLIB= to specify the source caslib, CASOUT= to specify the output CAS table name and target caslib, and IMPORTOPTIONS=(FILETYPE='CSV') to specify the file format. A is wrong; DATA= is not valid PROC CASUTIL syntax — CASDATA= is used. B is wrong; INFILE= is not a PROC CASUTIL option. D is wrong; IMPORT is not a PROC CASUTIL operation.