欢迎来到天天文库
浏览记录
ID:35776512
大小:559.50 KB
页数:43页
时间:2019-04-17
《常用文档SAS函数汇总.doc》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、CategoryFunctionsandCALLRoutinesDescriptionArithmeticDIVIDEFunctionReturnstheresultofadivisionthathandlesspecialmissingvaluesforODSoutput.ArrayDIMFunctionReturnsthenumberofelementsinanarray.HBOUNDFunctionReturnstheupperboundofanarray.LBOUNDFunctionReturnsthelowerboundofanarray.Bitwis
2、eLogicalOperationsBANDFunctionReturnsthebitwiselogicalANDoftwoarguments.BLSHIFTFunctionReturnsthebitwiselogicalleftshiftoftwoarguments.BNOTFunctionReturnsthebitwiselogicalNOTofanargument.BORFunctionReturnsthebitwiselogicalORoftwoarguments.BRSHIFTFunctionReturnsthebitwiselogicalrights
3、hiftoftwoarguments.BXORFunctionReturnsthebitwiselogicalEXCLUSIVEORoftwoarguments.CharacterStringMatchingCALLPRXCHANGERoutinePerformsapattern-matchingreplacement.CALLPRXDEBUGRoutineEnablesPerlregularexpressionsinaDATAsteptosenddebuggingoutputtotheSASlog.CALLPRXFREERoutineFreesmemoryth
4、atwasallocatedforaPerlregularexpression.CALLPRXNEXTRoutineReturnsthepositionandlengthofasubstringthatmatchesapattern,anditeratesovermultiplematcheswithinonestring.CALLPRXPOSNRoutineReturnsthestartpositionandlengthforacapturebuffer.CALLPRXSUBSTRRoutineReturnsthepositionandlengthofasub
5、stringthatmatchesapattern.PRXCHANGEFunctionPerformsapattern-matchingreplacement.PRXMATCHFunctionSearchesforapatternmatchandreturnsthepositionatwhichthepatternisfound.PRXPARENFunctionReturnsthelastbracketmatchforwhichthereisamatchinapattern.PRXPARSEFunctionCompilesaPerlregularexpressi
6、on(PRX)thatcanbeusedforpatternmatchingofacharactervalue.PRXPOSNFunctionReturnsacharacterstringthatcontainsthevalueforacapturebuffer.CharacterANYALNUMFunctionSearchesacharacterstringforanalphanumericcharacter,andreturnsthefirstpositionatwhichthecharacterisfound.ANYALPHAFunctionSearche
7、sacharacterstringforanalphabeticcharacter,andreturnsthefirstpositionatwhichthecharacterisfound.ANYCNTRLFunctionSearchesacharacterstringforacontrolcharacter,andreturnsthefirstpositionatwhichthatcharacterisfound.ANYDIGITFunctionSearchesacharacterstringforadigit,andreturnsthefirstpositi
8、onatwhichthe
此文档下载收益归作者所有