18 views

Uploaded by San Deep

SAS Function

save

- 2
- _lesson01.doc
- test 1 form B part II(1).pdf
- Testing Program Fo Accuracy Section4
- stepfunctions piecewise
- DGIO Programmer's Reference Manual
- miaa 360 criteria for curriculum analysis
- Topic 4 Arithmetic Circuits2
- Appro
- Aps Profile Options 2205931
- Lecture 2 Processor Performance
- COA
- Math Algebra 1
- Pole Descrepancy
- Fuzzy Logic
- Vb.net - Handle Text Change in SelectedIndexChanged Event of Combobox
- Functionsiyuhiyiy
- Home loan
- startbutton final
- CS 2013 Previous Year Question Paper
- MD070 TPCO Inventory by Location Report
- 01 Functions
- Specification
- Practica
- Report designer Manual - 12.Chapter 3
- 132
- A general-purpose method for faithfully rounded floating-point function approximation in FPGAs.pdf
- Gnu Plot Fortran
- Lecture4VBA
- opcommands5-30-16 docx
- How to Install Sp3d Using Screen Shots
- News to Read
- DO loopDO loopss
- peoplesoft
- FAQS1_150 (2)
- peopledoft
- SPLMInstall_UserGuide
- Peoplesoft SQL Basics
- Basic+Query
- Day-2-PeopleCode
- Peoplesoft SQL Basics
- Day-1-PeopleCode
- 56134116-SQR

You are on page 1of 5

A SAS function performs a computation or system manipulation on arguments (inputs) and returns a value. Most functions use arguments supplied by the user, but a few obtain their arguments from the operating environment.

The syntax of a function is function-name (argument-1<, ...argument-n>) function-name (OF variable-list) function-name (OF array-name{*})

z=sum(of y1-y10); a=sum(of x y z); array y{10} y1-y10; x=sum(of y{*});

**SAS Functions by Category
**

Character/String Functions:

CAT Function COMPBL Function COMPRESS Function INDEX Function LEFT Function LENGTH Function LOWCASE Function PROPCASE Function RIGHT Function SCAN Function SUBSTR Fuction TRANSLATE Function TRIM Function UPCASE Function Date and Time DATE Function DATEPART Function Returns the current date as a SAS date value Extracts the date from a SAS datetime value .

time. and returns a date. or datetime value Returns a SAS date value from month. time. day.DATETIME Function DAY Function HOUR Function INTCK Function Returns the current date and time of day as a SAS datetime value Returns the day of the month from a SAS date value Returns the hour from a SAS time or datetime value Returns the integer count of the number of interval boundaries between two dates. and year values Returns the minute from a SAS time or datetime value Returns the month from a SAS date value Returns the quarter of the year from a SAS date value Returns the second from a SAS time or datetime value Returns the current time of day Extracts a time value from a SAS datetime value Returns the current date as a SAS date value Returns the week number value Returns the day of the week from a SAS date value Returns the year from a SAS date value INTNX Function MDY Function MINUTE Function MONTH Function QTR Function SECOND Function TIME Function TIMEPART Function TODAY Function WEEK Function WEEKDAY Function YEAR Function . or datetime value by a given interval or intervals. or two datetime values Increments a date. two times.

Descriptive Statistics MAX Function Returns the largest value Returns the arithmetic mean (average) Computes median values Returns the smallest value Returns the standard deviation Returns the sum of the nonmissing arguments MEAN Function MEDIAN Function MIN Function STD Function SUM Function Mathematical ABS Function EXP Function FACT Function LOG Function Returns the absolute value Returns the value of the exponential function Computes a factorial Returns the natural (base e) logarithm .

MOD Function Returns the remainder from the division of the first argument by the second argument. fuzzed to avoid unexpected floating-point results Rounds the first argument to the nearest multiple of the second argument. fuzzed to avoid unexpected floating-point results Returns the largest integer that is less than or equal to the argument. fuzzed to avoid most unexpected floating-point results Returns the square root of a value SQRT Function CEIL Function Returns the smallest integer that is greater than or equal to the argument. fuzzed to avoid unexpected floating-point results Returns the integer value. or to the nearest integer when the second argument is omitted Returns the value produced when a SAS expression that uses a specified informat expression is read Returns a value using a specified format FLOOR Function INT Function ROUND Function INPUT Function PUT Function .

- 2Uploaded byammarkind
- _lesson01.docUploaded byAsa Ka
- test 1 form B part II(1).pdfUploaded byAnonymous QkGG8ra
- Testing Program Fo Accuracy Section4Uploaded byNakkolop
- stepfunctions piecewiseUploaded byapi-278028472
- DGIO Programmer's Reference ManualUploaded byRaul Gil Bayardo
- miaa 360 criteria for curriculum analysisUploaded byapi-245622943
- Topic 4 Arithmetic Circuits2Uploaded byChristian 'cis' Yohanes
- ApproUploaded byPedro Quintal
- Aps Profile Options 2205931Uploaded bySatya
- Lecture 2 Processor PerformanceUploaded byDaniel ken
- COAUploaded byravindra_pit2k
- Math Algebra 1Uploaded bymusicguy84
- Pole DescrepancyUploaded byshanthikumaravel
- Fuzzy LogicUploaded byemfami
- Vb.net - Handle Text Change in SelectedIndexChanged Event of ComboboxUploaded byinfo.glcom5161
- FunctionsiyuhiyiyUploaded bySpandana Alapati
- Home loanUploaded bychavanikhil
- startbutton finalUploaded byapi-340769184
- CS 2013 Previous Year Question PaperUploaded byRajesh Singh
- MD070 TPCO Inventory by Location ReportUploaded byANiteshkumar
- 01 FunctionsUploaded byHafizu Abdullah
- SpecificationUploaded bysageson_m-1
- PracticaUploaded byMelberOmarCiezaTirado
- Report designer Manual - 12.Chapter 3Uploaded byeuelvis1045
- 132Uploaded byDaniel Raj
- A general-purpose method for faithfully rounded floating-point function approximation in FPGAs.pdfUploaded byBoppidiSrikanth
- Gnu Plot FortranUploaded byaguirreto
- Lecture4VBAUploaded byJonahJunior
- opcommands5-30-16 docxUploaded byapi-299944415

- How to Install Sp3d Using Screen ShotsUploaded bySan Deep
- News to ReadUploaded bySan Deep
- DO loopDO loopssUploaded bySan Deep
- peoplesoftUploaded bySan Deep
- FAQS1_150 (2)Uploaded bySan Deep
- peopledoftUploaded bySan Deep
- SPLMInstall_UserGuideUploaded bySan Deep
- Peoplesoft SQL BasicsUploaded bySan Deep
- Basic+QueryUploaded bySan Deep
- Day-2-PeopleCodeUploaded bySan Deep
- Peoplesoft SQL BasicsUploaded bySan Deep
- Day-1-PeopleCodeUploaded bySan Deep
- 56134116-SQRUploaded bySan Deep