<<

PROC DATASETS SAS® 9.4Examples DATASETS ProcedurePROC DATASETS Tip Sheet Examples PROC DATASETS Tips PROC DATASETS Examples PROC DATASETS(Continued) Examples PROC DATASETS Tips Example 1: Remove Labels and Formats (Continued) * When you the procedure, specify the input Example 1: Remove Labels and Formats Example 3: Create ODS Output SAS Data Set *libraryWhen inyou the start PROC the procedure,DATASETS specify statement. the input If you WithinPROCPROC PROC DATASETS DATASETSDATASETS, all labelsExamplesExamples and formats ExamplePROCPROC 3: Create DATASETS DATASETS ODS Output Examples SASExamples Data Set libraryomit an PROCin PROCinput the PROC library, DATASETS DATASETS DATASETS the procedure statement. processesTipsTips If theyou Withinare removed PROC by DATASETS,using the MODIFY all labels statement and formats and This example create(Continued)s(Continued)an ODS output SAS data set omitcurrent an inputdefault library, SAS librarythe procedure (usually processes the WORK the * *WhenWhen you you start start the the procedure, procedure, specify specify the the input input ExampleareExamplethe removed ATTRIB 1: 1: Remov byRemov option.usinge Labelse ThetheLabels MODIFYCONTENTS and and Formats Formats statement statement and Thisthat examplecontains directorycreates an informati ODS outputon about SAS alldata of set the currentlibrary). default SAS library (usually the WORK ExampleExample 3 :3Create: Create ODS ODS Output OutputSASSAS Data Data Set Set librarylibrary in in the the PROC PROC DATASETS DATASETS statement. statement. If Ifyou you thewithin ATTRIB PROC option. DATASETS The CONTENTSdisplays the statement contents of thatSAS contains data sets directory in a SAS informati library. onThe about outputall dataof the set library). omitomit an an input input library, library, the the procedure procedure processes processes the the WithinwithinWithinthe data PROC PROC PROC set. DATASETS, DATASETS DATASETS, displaysall all labels labels the and and contents formats formats of SAScan bedata used sets for in additionala SAS library processing. The output. data set * Statements execute in the order in which they are ThisThis example example create creates ans an ODS ODS output output SAS SAS data data set set currentcurrent default default SAS SAS library library (usually (usually the the WORK WORK ® aretheare removed dataremoved set .by byusingusing the the MODIFY MODIFY statement statement and and can be used for additional processing. *written.Statements To see execute the contents in the order of a datain which set, they aare data thatthatlibname contains containssource directory directory'SAS informati informati-libraryonon'; about aboutallall of of the the library).library). SAS® 9.4 thetheproc ATTRIB ATTRIB datasets option. option. lib=work The The CONTENTS CONTENTS memtype=data; statement statement written.set, and T theno see visually the contents compare of a the data contents set, copy of athe data SASlibnameSASods data outputdata setssource sets inmembers=memout; in a SASa'SAS SAS library- librarylibrary. The. The'; output output data data set set SAS 9.4 withinprocwithinmodify PROCdatasets PROC class;DATASETS DATASETS lib=workdisplays memtype=data;displays the the contents contents of of set,second and thendata setvisually with thecompare first, thethe statementscontents of that the odsproc output datasets members=memout; lib=source memtype=data ; thethe data modifydata attribset set. .class; _all_ label=' '; cancan be be used used for for additional additional processing processing. . *second*StatementsperformStatements data those executeset execute taskswith inthemust in the first,the appearorder order the in statementsin in which that which order they they that (thatare are DATASETS proccontents datasets data=_all_ lib=source nods; memtype=data; ®® attribattrib _all__all_ label='=; '; written.written. T oToseesee the the contents contents of of a dataa data set, set, copy copy a dataa data run;contents data=_all_ nods; performis, CONTENTS, those tasks COPY, must appearCONTENTS in that). order (that DATASETS run; _all_ format=; libnamelibnamesourcesource'SAS'SAS-library-library';'; SASSAS 9.9.44 procproc datasets datasets lib=work lib=work memtype=data; memtype=data; run;quit; set,is,set, andCONTENTS, and then then visually visually COPY, compare compare CONTENTS the the contents contents). of of the the run;contents data=class; odsods output output members=memout; members=memout; Procedure modifymodify class; class; quprocit; data=memout label; secondsecond data data set set with with the the first, first, the the statements statements that that contentsrun; data=class; procproc datasets datasets lib= lib=sourcesource memtype=data memtype=data; ; * PROC DATASETS supports RUN-group attribattrib _all_ _all_ label=' label=' '; '; procrun; print data=memout label; Procedure quit;run; contentscontents data=_all_ data=_all_ nods; nods; performperformprocessing those those, which tasks tasks mustenables must appear appear you into in thatsubmit that order order RUN (that (that DATASETSDATASETS attribattrib _all_ _all_ format=; format=; run; * PROC DATASETS supports RUN-group quit; run;run; is,is, CONTENTS, CONTENTS, COPY, COPY, CONTENTS CONTENTS).). Tip Sheet run;run; Example 4: Modify SAS Data Sets processinggroups without, which ending enables the you procedure. to submit RUN ququit;it; contentscontents data=class; data=class; Tip Sheet Example 2: Manipulate SAS Files procExampleproc print print 4: data=memout Modifydata=memoutSAS Datalabel; label; Sets groups without ending the procedure. ProcedureProcedure run;run; This tip sheet places frequently used information in Example 2: Manipulate SAS Files run;run;This example modifies two SAS data sets. For the * *PROCPROCGenerally, DATASETS DATASETS if an error supports supports occurs RUN inRUN a -statement,group-group the quit;quit; Thisone place,tip sheet on placesone sheet frequently of paper, used so youinformation don’t have in This example 1 deletes the Tension data set and the ThisSubjects exampledata modifiesset, the MODIFY two SAS statementdata sets. Forand the processing*processingRUNGenerally, group, which, whichifcontaining an enableserror enables occurs the you youerror to in to submit adoes submit statement, not RUN RUN execute. the TiponeTipto search place, Sheet througonSheet onehout sheet the of documentation. paper, so you don’tThis havetip ThisA2 catalogexample, 2 1changesdeletes the nameTension of thedata A1 set catalog and the ExampleSExamplesubordinateubjects 4:data 4: Modify statements Modifyset, theSAS MODIFYSAS1 Datalabel Data Sets thestatement Sets data setand, 2 assign groupsRUNgroupsRUN group withoutgroups without containing precedingending ending the the or procedure. errorfollowingprocedure. does thenot oneexecute. tosheet search presents throug SAShout 9.4 the informationdocumentation. for theThis tip ExampleA2Example(only catalog member 2: 2:, Manipulat2 Manipulatchanges in the library thee SASe SASname that Files Files of is thenamed A1 catalogA1) to subordinatea Read password statements, 3 specif1 labely how the the data data set ,is2 sortedassign, 4 RUNcontaining groups the preceding error execute or following normally. the The one ThissheetThisDATASETS tip tippresents sheet sheet places procedureSASplaces 9.4frequently frequentlyinformation. used used informationfor information the in in (onlyPostdrug member, 3 exchanges in the library the names that is ofnamed the W A1)eightto and ThisaThiscreateRead example example apasswordcomposite modifies modifies, 3 indexspecif two two y onSAS howSAS variables data the data dsetsata setsB.irth isFor. Forsortedandthethe , 4 *containing*Generally,MODIFYGenerally, theRUNif ifan error an errorgroup error execute occurs isoccurs an normally.exception. in in a statement,a statement, The If a syntax the the oneDATASETSone place, place, on on one procedure one sheet sheet of. of paper, paper, so so you you don’t don’thavehave ThisPThisBostdrugodyfatexampleexample,data3 exchanges 1 sets1deletesdeletes, 4 restricts the the the Tnames ensionT ensionprocessing ofdata thedata setW toset eight andSAS and the andthe ScreateubjectsSubjectsalarya,datacomposite5dataexclude set, set, the the fromindex MODIFY MODIFY the on index variables statement statement all observations Birthandandand RUNMODIFYRUNerror group occursgroup RUN containing containingin agroup statement theis the an error errorsubordinateexception. does does not notIf toexecute. a execute. thesyntax totoThe search search DATASETS throug throughouthout procedure the the documentation. documentation. is a utility ThisprocedureThis tip tip A2BA2viewsodyfat catalog cataloganddata, 2,requests2 changessetschanges, 4 viewsrestricts the the name toname processingbe of moved of the the A1 A1 fromto catalog SAScatalog the subordinateSsubordinatewithalary missing, 5 exclude statements statements values from, 61 thespecify1labellabel index the theth alldataat data theobservations set combinationset, 2, 2assignassign RUNerrorRUNMODIFY groups occurs groups statement, precedingin preceding a statement onlyor or following followingthesubordinate statement the the oneto containingone the sheetThesheetthat DATASETSpresentsmanages presents SAS yourSAS procedure 9.4 SAS 9.4informationinformation libraries is a utility and for for helpsthe procedure the you (onlyviews(onlyHealth member andmember library requests in into the the viewslibrary libraryDest to1 that library bethat ismoved isnamed, named5 m fromove A1) A1)s thethetoto SAS awithReadaofRead values missing password password of thevalues, index3, 3specif,specif6 specifyvariablesy yhowhow th the must atthe thed atad be atacombination is unique issorted sorted,,74, 4 containingMODIFYcontainingthe error fails.thestatement, the error errorThe execute other executeonly statements the normally. normally. statement in The Thethe containing RUN DATASETSthatDATASETSperform manages the procedure following yourprocedure SAS. tasks: .libraries and helps you PHostdrugPviewealthostdrug S librarypdata, 3, 3exchangesexchanges, 6tomoves the D theest thethe 1names catalogslibrarynames of ,of 5theE themTest Wove Weight1s eightthroughtheand SASand createofcreateassign valuesa compositeaancomposite of informat the index index indexand variables formaton on variables variables tomust the BbeB irthBirth uniqueirthandvariableand , 7 , MODIFYtheMODIFYgroup error execute. fails.RUN RUN Thegroup group other is isan statements an exception. exception. in If the Ifa syntaxaRUN syntax BodyfatBodyfatdatadata sets sets, 4, 4restrictsrestricts processing processing to to SAS SAS SalarySalary, 5, 5excludeexclude from from the the index index all all observations observations errorerror occurs occursinin a statementa statement subordinate subordinate to to the the perform the following tasks: viewETest S5pdata, and, 76excludesmoves the from catalogs the COPY ETest operation1 through all assignand 8 anlabel informat the variable and format Salary to. For the theBirth Oxygenvariabledata, group execute. TheThe DATASETS DATASETS procedure procedure is isa utilitya utility procedure procedure viewsviewsandand requests requests views views to to be be moved moved from from the the withwith missing missing values values, 6, 6specifyspecify th thatat the the combination combination MODIFYMODIFY statement, statement, only only the the statement statement containing containing • copy SAS files from one SAS library to ESASTest 5files, and that7 excludes begin with from the the letter COPY D, O operationxygen, all andset, 8thelabel MODIFY the variable statement Salaryand. For subordinate the Oxygen data * To stop the procedure, issue a QUIT statement, a thatthat manages manages your your SAS SAS libraries libraries and and helps helps you you HHealthealth library library to to the the D Destest1 1library library, 5, 5mmoveoves thes the SAS SAS ofof values values of of the the index index variables variables must must be be unique unique, 7, 7 thethe error error fails. fails. The The other other statements statements in in the the RUN RUN • copyanother SAS files from one SAS library to SASVision files, and that W begineight .with the letter D, Oxygen, set,statements the MODIFY9 rename statement the variableand subordinate Oxygen to Intake *RUNTo stop CANCEL the procedure, statement, issue a new a QUIT PROC statement, statement, a performperform the the following following tasks: tasks: viewVviewision S pdataS, pdataand, W6, 6moveseightmoves. the the catalogs catalogs E TestETest1 1through through assignstatementsassignand 1an0an labelinformat informat9 renamethe variableand and the format format variable Intake to to the. Othe xygenB irthBirthvariabletovariable Intake, , groupRUNgroupor a DATA execute.CANCEL execute. statement. statement, Submitting a new PROC a QUIT statement, statement • anotherrename , repair, and delete SAS files ETestElibnameTest5,5and, anddest17 excludes7 excludes'SAS -from libraryfrom the the COPY- 1COPY'; operation operation all all andand 8 8labellabel the the variable variable S alarySalary. For. For the the O Oxygenxygendatadata orexecutes a DATA any sta statementstement. Submitting that have anot QUIT executed. statement •• renamelist SAS, repair files ,contained and delete in SAS a SAS files library SAS-library-2' and 10 label the variable Intake. • • copycopy SAS SAS files files from from one one SAS SAS library library to to SASlibnameSASlibname files files thatdest1 dest2that begin begin 'SAS' with with-library the the letter letter-1 ';D ;D, O, Oxygenxygen, , set,set, the the MODIFY MODIFY statement statementSAS-libraryandand subordinate subordinate *executes*ToSubmittingTo stop stop theany the aprocedure, statements RUNprocedure, CANCEL issue that issue havea statementQUITa QUIT not statement,executed. statement, cancels aany a •• listlist SAS attributes files containedof a SAS datain a SASset library libname health SAS'SAS-library-library-2'-3'; libname health ' '; anotheranother VlibnameVisionision, and, anddest2 W Weighteight ' . . ; statementsstatementsproc datasets9 9renamerename library=health SASthe the- variablelibrary variable O Oxygen noxygenlist;toto Intake Intake RUNSubmittingRUNstatements CANCEL CANCEL athat RUN statement, have statement, CANCEL not executed. a anew newstatement PROC PROC statement,cancels statement, any •• listmanipulate attributes passwords of a SAS dataon SAS set files libnameproc datasetshealth library=health'SAS-library-3' details;; libname health ' '; • • renamerename, repair, repair, and, and delete delete SAS SAS files files delete tension a2(mt=catalog); andprocand 1 0modify1 datasets0labellabel thesubjects the variable library=healthvariable (label='TestIntake Intake. . nolist; Subjects'1 oror a DATAa DATA sta statement.tement. Submitting Submitting a QUITa QUIT statement statement •• manipulate passwords on SAS files proc datasets 'SASlibrary=health'SAS-library-library-1-1 details;1 statements that have not executed. append SAS data sets libnamelibnamechangedest1dest1 a1=postdrug; ';'; modify read=greensubjects (label='Test2 sortedby=lname Subjects')3; 1 executesexecutes any any statements statements that that have have not not executed. executed. • • listlist SAS SAS files files contained contained in in a SASa SAS library library delete tensionSASSAS -a2(mt=catalog);library-library2 -2'-2' 1 •• appendmodify SAS attributes data sets of SAS data sets and libnamelibnameexchangedest2dest2 weight=bodyfat;' ' ; ; indexread=green create 2vital=(birthsortedby=lname salary))3; 4 / change a1=postdrug;'SAS'SAS-library-library2 -3'-33' libnamelibnamehealthhealth'SAS'SAS-library-library';'; SubmittingSubmitting a aRUN RUN CANCEL CANCEL statement statement cancels cancels any any • • listlist attributes attributes of of a SASa SAS data data set set libnamelibnamehealthhealth ; ; indexnomiss create5 unique vital=(birth6; salary)4 / For complete information, refer to the • modifyvariables attributes of SAS data sets and exchangecopy out=dest1 weight=bodyfat; memtype=view;3 4 procproc datasets datasets library=health library=health no nolist;list; • • manipulatemanipulate passwords passwords on on SAS SAS files files procproc datasets datasets library=health library=health details; details; informatnomiss 5birthunique date7.;6; 7 statementsstatements that that have have not not executed. executed. copyselect out=dest1 spdata; move5 memtype=view;4 modifymodifysubjectssubjects(label='Test(label='Test Subjects' Subjects'1 1 For completeSAS 9. 4information,documentation refer to the • variablescreate and delete indexes deletedelete tension tension a2(mt=catalog); a2(mt=catalog);1 1 informatformat birth birth date7.; date7.;7 7 • • appendappend SAS SAS data data sets sets selectselect spdata;etest1-5etest5/memtype=catalog;6 read=greenread=green2 2sortedby=lnamesortedby=lname)3);3; support.sas.com/documentationSAS 9.4 documentation at . •• createcreate and and delete manag inde auditexes files changechange a1=postdrug; a1=postdrug;2 2 formatlabel salary='cubirth date7.;rrent7 salary8 copyselect out=dest2; etest1-etest5/memtype=catalog;6 indexindex create create vital=(birth vital=(birth salary) salary)4 4/ / • • modifymodify attributes attributes of of SAS SAS data data sets sets and and exchangeexchange weight=bodyfat; weight=bodyfat;3 3 labelexcluding salary='cubonus';rrent salary8 support.sas.com/documentation. •• ccreatereate and and manag deletee integrity audit filesconstraints copyexclude out=dest2; d: oxygen vision weight;7 nomissnomiss5 5uniqueunique6;6; variablesvariables copycopy out=dest1 out=dest1 move move memtype=view; memtype=view;4 4 modifyexcluding oxygen; bonus'; ForFor complete complete information, information, refer refer to to the the quit; exclude d: oxygen vision weight;7 informatinformat birth birth date7.; date7.;7 7 •• createcreate a andnd delete manage integrity extendedconstraints attributes selectselect spdata; spdata;5 5 modifyrename oxygen oxygen=intake;; 9 SASSAS 9. 9.4 4documentationdocumentation at at • • createcreate and and delete delete ind indexesexes quit; formatformat birth birth date7.; date7.;7 7 • create and manage extended attributes selectselect etest1 etest1-ete-etest5st5/me/memtype=catalog;mtype=catalog;6 6 renamelabel intake='Intakeoxygen=intake; 9Measurement';10 labellabel salary='cu salary='currentrrent salary salary8 8 support.sas.com/documentationsupport.sas.com/documentation. . • • createcreate and and manag manage audite audit files files copycopy out=dest2; out=dest2; quit; label intake='Intake Measurement';10 excludingexcludingbonus';bonus'; • • excludeexclude d: d: oxygen oxygen vision visionweight;weight;7 7 quit; createcreate and and delete delete integrity integrityconstraintsconstraints ; ; SAS Institute Inc. World Headquarters quit;quit; modifymodify oxygen oxygen • • createcreate and and manage manage extended extended attributes attributes renamerename oxygen=intake; oxygen=intake;9 9 +1 919 677 8000 www.sas.com/offices labellabel intake='Intake intake='Intake Measurement'; Measurement';1010 SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks quit;quit; of SAS Institute Inc. in the USA and other countries. ® indicates USA registration. Other brand and product names are trademarks of their respective companies. Copyright © 2011, SAS Institute Inc. All rights reserved. 683347_0313 SAS® 9.4 DATASETS Procedure Tip Sheet

PROCPROCPROC DATASETS DATASETS DATASETSSyntaxSyntaxSyntax PROCPROCPROC DATASETS DATASETS DATASETS Syntax Syntax Syntax PROCPROCPROC DATASETS DATASETS DATASETS Syntax Syntax Syntax PROCPROCPROC DATASETS DATASETS DATASETS Synt Synt Syntaxaxax (Continued)(Continued)(Continued) (Continued)(Continued)(Continued) (Continued)(Continued)(Continued) PROCPROCPROC DATASETS DATASETS DATASETS >> CONTENTSCONTENTSCONTENTS EXCHANGEEXCHANGEEXCHANGEnamenamename=othe=othe=other-namer-rname-name* ** XATTRXATTRXATTR OPTIONS OPTIONS OPTIONS;>;>; >> >> >> XATTRXATTRXATTR REMOVE REMOVE REMOVE DS DS DSnamenamename(s)(s);(s); ; >> >> >>;>>;>>; XATTRXATTRXATTR REMOVE REMOVE REMOVE VAR VAR VARvariablevariablevariable(names(s)(names(s)(names(s))*;)*;)*; >> >> XATTRXATTRXATTR SET SET SET DS DS DSnamenamename=value=value=value*;*;*; >> >> MODIFYMODIFYMODIFYSASSASSAS-file-file-file<(<( >> XATTRXATTRXATTR SET SET SET VAR VAR VARvariablevariablevariable(name=value(name=value(name=value*)*);**);*; >> >> >> XATTRXATTRXATTR UPDATE UPDATE UPDATE DS DS DSnamenamename=value=value=value*;*;*; (s)))>)> (s)))>)> >> XATXATXATTRTR TRUPDATE UPDATE UPDATE VAR VAR VARvariablevariablevariable |DETAILS>|DETAILS> |DETAILS>|DETAILS> '|' ' > '> (name(name(name=value=value=value*)*);**);*; >> >> >> >> >> REBUILDREBUILDREBUILDSASSASSAS-file-file-file >> >> >> >> |IGNORECASE|IGNORECASE|IGNORECASE|VARNUM|VARNUM|VARNUM> >> > > >> ;>;>; set>> )>>)>>)> >> set>> >> >> AGEAGEAGEcurrentcurrentcurrent-name-name-name related related related-SAS-SAS-SAS-file-file-(s)file(s)(s) >> >> >;>;>; >> ;>;>; >> >>;>>;> >; >>>;>>; ; REPAIRREPAIRREPAIRSASSASSAS-file-file-(s)file(s)(s) COPYCOPYCOPYOUT=OUT=OUT=libreflibreflibref-1-1-1 >> APPENDAPPENDAPPENDBASE=BASE=BASE=.>SAS.>SASSAS-data-data-data-set-set-set |NOCLONE>|NOCLONE> ATTRIBATTRIBATTRIBvariablevariablevariable-list(s-list(s-list(s) attribute) attribute) attribute-list(s);-list(s);-list(s); >> >> FORMATFFORMATORMATvariablevariablevariable*>;*>;*; >> .>SAS.>SASSAS-data-data-data-set-set->set>> ICIC CREATEIC CREATE CREATE=>constraint=>constraintconstraint >> >> >> >;>>;>>; >;>;>; 2->2> ICIC DELETEIC DELETE DELETEconstraintconstraintconstraint-name-name-name(s)(s)|(s) _ALL_;| _ALL_;| _ALL_; SAVESAVESAVESASSASSAS-file-file-(s)file(s)<(s)/;>;>; ;;; |NO>|NO> ICIC REACTIVATEIC REACTIVATE REACTIVATEforeignforeignforeign-key-key--keyname-name-name (s)))>)> REFERENCESREFERENCESREFERENCESlibreflibreflibref; ; ; AUDITAUDITAUDITSASSASSAS-file-file-file<(<(>> >>>> INDEXINDEXINDEX C ENTILESC CENTILESENTILESindexindexindex(s)(s)(s) SyntaxSyntaxSyntax Conventions Conventions Conventions >> );*>);>; /</ )>>;)>>;)>; EXCLUDEEXCLUDEEXCLUDESASSASSAS-file-file-(s)file(s)<(s)/;>;>; ;|YES>;|YES>; SELECTSELECTSELECTSASSASSAS-file-file-(s)file(s)(s) ALWAYS|NEVER| ALWAYS|NEVER| ALWAYS|NEVER|integerintegerinteger>>;>>;>>; argumentsargumentsargumentscancan canbe be repeatedbe repeated repeated any any any number number number of of times. of times. times. LOGLOGLOG|NO>|NO> >> INDEXINDEXINDEX CREATE CREATE CREATEindexindexindex-specification-specification-specification(s)(s)(s) |NO>|NO> e>e> /</ - Default- Default- Default values values values are are areunderscored. underscored. underscored. |NO>|NO> >>;>>;>>; ;|NO>;|NO>; ALWAYS|NEVER|ALWAYS|NEVER|ALWAYS|NEVER|integerintegerinteger>>;>>;>>; - The- The- The options options optionsALTER=,ALTER=,ALTER=, ENCRYPTKEY=, ENCRYPTKEY=, ENCRYPTKEY=, RESUMERESUMERESUME|SUSPEND|SUSPEND|SUSPEND|TERMINATE|TERMINATE|TERMINATE; ; ; DELETEDELETEDELETESASSASSAS-file-file-(s)file(s)(s) INDEXINDEXINDEX DELETE DELETE DELETEindexinindex(s)dex(s)|(s) _ALL_;| _ALL_;| _ALL_; MEMTYPE=,MEMTYPE=,MEMTYPE=, GENNUM=, GENNUM=, GENNUM=, and and and PW= PW= PW= can can canbe be be USER_VARUSER_VARUSER_VARvariablevariablevariable(s)(s);(s); ; >> INFORMATINFORMATINFORMATvariablevariablevariable*>;*>;*; specifiedspecifiedspecified in inparentheses in parentheses parentheses after after after the the theSAS SAS SAS filename filename filenameor,or, or, >> LABELLABELLABELvariablevariablevariable=<=<'label=<'label'label' | '' |''>'| '*'>;'>*;*; asas shownas shown shown in inthe in the thesyntax syntax syntax, after, after, aftera forwarda aforward forward slash slash slash (/). (/). (/). CHANGECHANGECHANGEoldold-oldna-name-name=menew=new=new-name-name-name* ** >> RENAMERENAMERENAMEoldold-oldname-name-name=new=new=new-name-name-name*;*;*; >> >> XATTRXATTRXATTR ADD ADD ADD DS DS DSnamenamename=value=value=value*;*;*; - The- The- The APPEND, APPEND, APPEND, CONTENTS, CONTENTS, CONTENTS, and and and COPY COPY COPY >> >;>>;>>; XATTRXATTRXATTR ADD ADD ADD VAR VAR VARvariablevariablevariable(name(name(name=value=value=value*)*);**);*; statementsstatementsstatements have have have corresponding corresponding corresponding procedures. procedures. procedures. >>>;>;>; XATTRXATTRXATTR DELETE DELETE DELETE; ; ;