可以在%SYSFUNC中使用的SAS函数一览表
发布:guo.bailing | 分类:SAS软件培训
关于本站
人大经济论坛-经管之家:分享大学、考研、论文、会计、留学、数据、经济学、金融学、管理学、统计学、博弈论、统计年鉴、行业分析包括等相关资源。
经管之家是国内活跃的在线教育咨询平台!
获取电子版《CDA一级教材》
完整电子版已上线CDA网校,累计已有10万+在读~ 教材严格按考试大纲编写,适合CDA考生备考,也适合业务及数据分析岗位的从业者提升自我。
TOP热门关键词
本文来源于西铁房临床试验爱好者中心(本帖最后发表人:西铁房版主Stanley)转载请保留此链接:http://www.clinicaltrialfans.com/posts/list/470.pageATTRCreturnsthevalueofacharacterattributeforaSASdataset.%SYSF ...
免费学术公开课,扫码加入![]() |
转载请保留此链接:
http://www.clinicaltrialfans.com/posts/list/470.page
ATTRC returns the value of a character attribute for a SAS data set. %SYSFUNC(ATTRC(data-set-id,attr-name))
ATTRN returns the value of a numeric attribute for specified SAS data set. %SYSFUNC(ATTRN(data-set_id,attr-name))
CEXIST verifies the existence of a SAS catalog or SAS catalog entry. %SYSFUNC(CEXIST(entry <, 'U'>))
CLOSE closes a SAS data set. %SYSFUNC(CLOSE(data-set-id))
CUROBS returns the number of the current observation. %SYSFUNC(CUROBS(data-set-id))
DCLOSE closes a directory. %SYSFUNC(DCLOSE(directory-id))
DINFO returns a specified information item for a directory. %SYSFUNC(DINFO(directory-id,info-items))
DNUM returns the number of members in a directory. %SYSFUNC(DNUM(directory-id))
DOPEN opens a directory. %SYSFUNC(DOPEN(fileref))
DOPTNAME returns a specified directory attribute. %SYSFUNC(DOPTNAME(directory-id,nval))
DOPTNUM returns the number of information items available for a directory. %SYSFUNC(DOPTNUM(directory-id))
DREADreturns the name of a directory member. %SYSFUNC(DREAD(directory-id,nval))
DROPNOTEdeletes a note marker from a SAS data set or an external file. %SYSFUNC(DROPNOTE(data-set-id|file-id,note-id))
DSNAMEreturns the data set name associated with a data set identifier. %SYSFUNC(DSNAME(<dsid>))
EXISTverifies the existence of a SAS data library member. %SYSFUNC(EXIST(member-name<,member-type>))
FAPPENDappends a record to the end of an external file. %SYSFUNC(FAPPEND(file-id<,cc>))
FCLOSEcloses an external file, directory, or directory member. %SYSFUNC(FCLOSE(file-id))
FCOLreturns the current column position in the File Data Buffer (FDB) %SYSFUNC(FCOL(file-id))
FDELETEdeletes an external file. %SYSFUNC(FDELETE(fileref))
FETCHreads the next nondeleted observation from a SAS data set into Data Set Data Vector (DDV). %SYSFUNC(FETCH(data-set-id<,'NOSET'>))
FETCHOBSreads a specified observation from a SAS data set into the DDV. %SYSFUNC(FETCHOBS(data-set-id,obs-number<,options>))
FEXISTverifies the existence of an external file associated with a fileref. %SYSFUNC(FEXIST(fileref))
FGETcopies data from the FDB. %SYSFUNC(FGET(file-id,cval<,length>))
FILEEXISTverifies the existence of an external file by its physical name. %SYSFUNC(FILEEXIST(file-name))
FILENAMEassigns or deassigns a fileref for an external file, directory, or output device. %SYSFUNC(FILENAME(fileref,filename<,device<,hostoptions<,dir-ref>>>))
FILEREFverifies that a fileref has been assigned for the current SAS session. %SYSFUNC(FILEREF(fileref))
FINFOreturns a specified information item for a file. %SYSFUNC(FINFO(file-id,info-item))
FNOTEidentifies the last record that was read. %SYSFUNC(FNOTE(file-id))
FOPENopens an external file. %SYSFUNC(FOPEN(fileref<,open-mode<,record-length<,record-format>>>))
FOPTNAMEreturns the name of an information item for an external file. %SYSFUNC(FOPTNAME(file-id,nval))
FOPTNUMreturns the number of information items available for an external file. %SYSFUNC(FOPTNUM(file-id))
FPOINTpositions the read pointer on the next record to be read. %SYSFUNC(FPOINT(file-id,note-id))
FPOSsets the position of the column pointer in the FDB. %SYSFUNC(FPOS(file-id,nval))
FPUTmoves data to the FDB of an external file starting at the current column position. %SYSFUNC(FPUT(file-id,cval))
FREADreads a record from an external file into the FDB. %SYSFUNC(FREAD(file-id))
FREWINDpositions the file pointer at the first record. %SYSFUNC(FREWIND(file-id))
FRLENreturns the size of the last record read, or the current record size for a file opened for output. %SYSFUNC(FRLEN(file-id))
FSEPsets the token delimiters for the FGET function. %SYSFUNC(FSEP(file-id,cval))
FWRITEwrites a record to an external file. %SYSFUNC(FWRITE(file-id<,cc>))
GETOPTIONreturns the value of a SAS system or graphics option. %SYSFUNC(GETOPTION(option-name<,reporting-options<,...>>))
GETVARCassigns the value of a SAS data set variable to a character DATA step or macro variable. %SYSFUNC(GETVARC(data-set-id,var-num))
GETVARNassigns the value of a SAS data set variable to a numeric DATA step or macro variable. %SYSFUNC(GETVARN(data-set-id,var-num))
LIBNAMEassigns or deassigns a libref for a SAS data library. %SYSFUNC(LIBNAME(libref<,SAS-data-library<,engine<,options>>>))
LIBREFverifies that a libref has been assigned. %SYSFUNC(LIBREF(libref))
MOPENopens a directory member file. %SYSFUNC(MOPEN(directory-id,member-name<open-mode<,record-length<,record-format>>>))
NOTEreturns an observation ID for current observation of a SAS data set. %SYSFUNC(NOTE(data-set-id))
OPENopens a SAS data file. %SYSFUNC(OPEN(<data-file-name<,mode>>))
PATHNAMEreturns the physical name of a SAS data library or an external file. %SYSFUNC(PATHNAME(fileref))
POINTlocates an observation identified by the NOTE function. %SYSFUNC(POINT(data-set-id,note-id))
REWINDpositions the data set pointer to beginning of a SAS data set. %SYSFUNC(REWIND(data-set-id))
SPEDISreturns a number for the operation required to change an incorrect keyword in a WHERE clause to a correct keyword. %SYSFUNC(SPEDIS(query,keyword))
SYSGETreturns the value of the specified host environment variable. %SYSFUNC(sysget(host-variable))
SYSMSGreturns the error or warning message produced by the last function that attempted to access a data set or external file. %SYSFUNC(SYSMSG())
SYSRCreturns the system error number or exit status of the entry most recently called. %SYSFUNC(SYSRC())
VARFMTreturns the format assigned to a data set variable. %SYSFUNC(VARFMT(data-set-id,var-num))
VARINFMTreturns the informat assigned to a data set variable. %SYSFUNC(VARINFMT(data-set-id,var-num))
VARLABELreturns the label assigned to a data set variable. %SYSFUNC(VARLABEL(data-set-id,var-num))
VARLENreturns the length of a data set variable. %SYSFUNC(VARLEN(datasetid,var-num))
VARNAMEreturns the name of a data set variable. %SYSFUNC(VARNAME(data-set-id,var-num))
VARNUMreturns the number of a data set variable. %SYSFUNC(VARNUM(data-set-id,var-name))
VARTYPEreturns the data type of a data set variable. %SYSFUNC(VARTYPE(data-set-id,var-num))
西铁房国际临床试验爱好者中心
http://www.clinicaltrialfans.com
「经管之家」APP:经管人学习、答疑、交友,就上经管之家!
免流量费下载资料----在经管之家app可以下载论坛上的所有资源,并且不额外收取下载高峰期的论坛币。
涵盖所有经管领域的优秀内容----覆盖经济、管理、金融投资、计量统计、数据分析、国贸、财会等专业的学习宝库,各类资料应有尽有。
来自五湖四海的经管达人----已经有上千万的经管人来到这里,你可以找到任何学科方向、有共同话题的朋友。
经管之家(原人大经济论坛),跨越高校的围墙,带你走进经管知识的新世界。
扫描下方二维码下载并注册APP
免流量费下载资料----在经管之家app可以下载论坛上的所有资源,并且不额外收取下载高峰期的论坛币。
涵盖所有经管领域的优秀内容----覆盖经济、管理、金融投资、计量统计、数据分析、国贸、财会等专业的学习宝库,各类资料应有尽有。
来自五湖四海的经管达人----已经有上千万的经管人来到这里,你可以找到任何学科方向、有共同话题的朋友。
经管之家(原人大经济论坛),跨越高校的围墙,带你走进经管知识的新世界。
扫描下方二维码下载并注册APP
您可能感兴趣的文章
人气文章
本文标题:可以在%SYSFUNC中使用的SAS函数一览表
本文链接网址:https://bbs.pinggu.org/jg/ruanjianpeixun_sasruanjianpeixun_1004888_1.html
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。



