From: Amar Mundankar on
Hi All,
There are 2 libraries SD2 and PREV.

I have copied all the datasets from SD2 to PREV using PROC DATASETS.
I used the following code.
PROC DATASETS LIB = SD2 NOLIST;
COPY IN = SD2 OUT = PREV;
QUIT;
I did not use the MEMTYPE = option , so ideally it should copy
DATA,VIEW and INDEX.

Generally PROC DATASETS copies the dataset along with indexes
associated with that dataset.
But i didnt see any index in PREV library.

Now I have to copy (not move) all the indexes present in SD2 library
to PREV.
I tried the follwoing code. But it didnt work.

PROC DATASETS LIB = SD2 NOLIST MEMTYPE = INDEX;
COPY IN = SD2 OUT = PREV;
QUIT;

Any Idea??

Regards,
Amar Mundankar.