LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (September 2007, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 3 Sep 2007 07:41:39 -0400
Reply-To:   Gerhard Hellriegel <gerhard.hellriegel@T-ONLINE.DE>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Gerhard Hellriegel <gerhard.hellriegel@T-ONLINE.DE>
Subject:   Re: proc catalog
Content-Type:   text/plain; charset=ISO-8859-1

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 > >....


Back to: Top of message | Previous page | Main SAS-L page