A data engineer uses PROC CASUTIL to copy a table from one caslib to another in SAS Viya. Which statement correctly copies table 'SALES' from caslib 'WORK' to caslib 'MYLIB'?
Select an answer to reveal the explanation.
Short Explanation and Infographic
Here's the deal — a is correct because PROC CASUTIL's COPY statement with INCASLIB= and OUTCASLIB= parameters copies a CAS table from one caslib to another. B (PROMOTE) changes a table's scope within a caslib (local to global), not between caslibs.
Full explanation below image
Full Explanation
A is correct because PROC CASUTIL's COPY statement with INCASLIB= and OUTCASLIB= parameters copies a CAS table from one caslib to another. B (PROMOTE) changes a table's scope within a caslib (local to global), not between caslibs. C is fabricated syntax. D (PROC COPY) copies SAS libraries on disk, not CAS caslibs.