•If the output catalog is a concatenation and if the input catalog exists in the first level
of the output concatenation, then the copy is not allowed.
For example, the following code demonstrates these two rules, and the copy fails:
libname first 'SAS-library-1';
libname second 'SAS-library-2';
/* create concat.x */
libname concat (first second);
/* fails rule #1 */
proc catalog c=concat.x;
copy out=first.x new;
run;
quit;
/* fails rule #2 */
proc catalog c=first.x;
copy out=concat.x new;
run;
quit;
In summary, the following table shows when copies are allowed. In the table, A and B
are libraries, and each contains catalog X. Catalog C is an automatic ...
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.