Transcription of Beginning Tutorials Paper 57 Introduction to SAS Functions
{{id}} {{{paragraph}}}
Paper 57 Introduction to SAS FunctionsNeil Howard, Independent Consultant, Charlottesville, VAAbstractA FUNCTION returns a value from a computation orsystem manipulation that requires zero or morearguments. And, like most programming languages, theSAS System provides an extensive library of built-in Functions . SAS has more than 190 Functions for a varietyof programming tasks. This tutorial will cover the syntaxfor invoking Functions , an overview of the functionsavailable, examples of commonly used Functions , selectedcharacter handling and numeric Functions , and sometricks and applications of Functions that will surprise Down a FUNCTION - SyntaxGiven the above definition of a function, the syntax andcomponents should be examined. A function recognizedin a SAS statement by the use of a function name,followed immediately by function argument(s), separatedby commas, and enclosed in a function requiring two arguments the syntax is asfollows:FUNCTIONNAME(argument-1, argument-2) where the arguments are: constants variables expressions other functionsSeveral Functions take no arguments, in
Paper 57 Introduction to SAS Functions Neil Howard, Independent Consultant, Charlottesville, VA Abstract A FUNCTION returns a value from a computation or
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}