|
You can use the SASHELP.VCATLG to get the member names into a macro list.
Then you can use the PROC CATALOG to change the descriptions:
PROC CATALOG CATALOG=<libref.>catalog <ENTRYTYPE=etype> <FORCE> <KILL>;
CONTENTS <OUT=SAS-data-set> <FILE=fileref>;
COPY OUT=<libref.>catalog <options>; SELECT entry(s) </ ENTRYTYPE=etype>;
EXCLUDE entry(s) </ ENTRYTYPE=etype>;
CHANGE old-name-1=new-name-1
<...old-name-n=new-name-n>
</ ENTRYTYPE=etype>;
EXCHANGE name-1=other-name-1
<...name-n=other-name-n>
</ ENTRYTYPE=etype>;
DELETE entry(s) </ ENTRYTYPE=etype>;
MODIFY entry (DESCRIPTION=<<'>entry-description<'>>)</ ENTRYTYPE=etype>;
SAVE entry(s) </ ENTRYTYPE=etype>;
If you need help to do this by macro, just tell me.
Gerhard
On Sun, 2 Sep 2007 23:09:46 -0700, tax_qa@YAHOO.COM wrote:
>Hi,
>
>I have 500 GPLOTs, and I need to modify the description for 200
>GPLOTs. How to modify?
>
>Thank you.
>
>Frank
>
> Contents of Catalog SASOUT.TOC
>
> Name Type Create Date Description
>ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ
> GPLOT50 GRSEG 02SEP2007:22:23:50 TX:Placebo,PT:0120
> GPLOT100 GRSEG 02SEP2007:22:23:50 TX:Placebo,PT:0344
> GPLOT101 GRSEG 02SEP2007:22:23:50 TX:Placebo,PT:0789
> GPLOT399 GRSEG 02SEP2007:22:23:50 TX:Placebo,PT:0209
> GPLOT43 GRSEG 02SEP2007:22:23:50 TX:Placebo,PT:2009
> GPLOT6 GRSEG 02SEP2007:22:23:47 TX:PPPP,PT:0908
> GPLOT7 GRSEG 02SEP2007:22:23:47 TX:PPPP,PT:1000
> GPLOT8 GRSEG 02SEP2007:22:23:47 TX:PPPP,PT:0109
> GPLOT9 GRSEG 02SEP2007:22:23:47 TX:PPPP,PT:0123
>
>....
|