Previous Page | Next Page

Functions and CALL Routines

Functions and CALL Routines Documented in Other SAS Publications

In addition to functions and CALL routines documented in SAS Language Reference: Dictionary, functions and CALL routines are also documented in the following publications:

SAS Companion for Windows

SAS Companion for OpenVMS on HP Integrity SErvers

SAS Companion for z/OS

SAS Data Quality Server: Reference

SAS Logging Facility: Configuration and Programming Reference

SAS Macro Language: Reference

SAS National Language Support (NLS): Reference Guide


SAS Companion for Windows

The functions and CALL routines listed here are documented only in SAS Companion for Windows. Other functions and CALL routines in SAS Companion for Windows contain information specific to the Windows operating environment, where the main documentation is in SAS Language Reference: Dictionary. These latter functions and CALL routines are not listed here.

Function or CALL routine Description
CALL SOUND
Generates a sound with a specific frequency and duration.
MCIPISLP
Causes SAS to wait for a piece of multimedia equipment to become active.
MCIPISTR
Submits an MCI string command to a piece of multimedia equipment.
MODULE
Calls a specific routine or module that resides in an external dynamic link library (DLL).
WAKEUP
Specifies the time a SAS DATA step begins execution.


SAS Companion for OpenVMS on HP Integrity SErvers

The functions and CALL routines listed here are documented only in SAS Companion for OpenVMS on HP Integrity Servers. Other functions and CALL routines in SAS Companion for OpenVMS on HP Integrity Servers contain information specific to the OpenVMS operating environment, where the main documentation is in SAS Language Reference: Dictionary. These latter functions and CALL routines are not listed here.

Function or CALL Routine Description
ASCEBC
Converts an input character string from ASCII to EBCDIC.
CALL FINDEND
Releases resources that are associated with a directory search.
DELETE
Deletes a file.
EBCASC
Converts an input character string from EBCDIC to ASCII.
FILEATTR
Returns the attribute information for a specified file.
FINDFILE
Searches a directory for a file.
GETDVI
Returns a specified item of information from a device.
GETJPI
Retrieves job-process information.
GETLOG
Returns information about a DCL logical name.
GETMSG
Translates an OpenVMS error code into text.
GETQUOTA
Retrieves disk quota information.
GETSYM
Returns the value of a DCL symbol.
GETTERM
Returns the characteristics of your terminal device.
MODULE
Calls a specific routine or module that resides in a shareable image.
NODENAME
Returns the name of the current node.
PUTLOG
Creates an OpenVMS logical-name in your process-level logical name table.
PUTSYM
Creates a DCL symbol in the parent SAS process.
SETTERM
Modifies a characteristic of your terminal device.
TERMIN
Allows simple input from SYS$INPUT.
TERMOUT
Allows simple output to SYS$OUTPUT.
TTCLOSE
Closes a channel that was previously assigned by TTOPEN.
TTCONTRL
Modifies the characteristics of a channel that was previously assigned by TTOPEN.
TTOPEN
Assigns an I/O channel to a terminal.
TTREAD
Reads characters from the channel assigned by TTOPEN.
TTWRITE
Writes characters to the channel assigned by TTOPEN.
VMS
Spawns a subprocess and executes a DCL command.


SAS Companion for z/OS

The functions and CALL routines listed here are documented only in SAS Companion for z/OS. Other functions and CALL routines in SAS Companion for z/OS contain information specific to the z/OS operating environment, where the main documentation is in SAS Language Reference: Dictionary . These latter functions and CALL routines are not listed here.

Function or CALL routine Description
CALL TSO
Issues a TSO command or invokes a CLIST or a REXX exec during a SAS session.
CALL WTO
Sends a message to the system console.
TSO
Issues a TSO command or invokes a CLIST or a REXX exec during a SAS session.
WTO
Sends a message to the system console.


SAS Data Quality Server: Reference

Function Description
DQCASE
Returns a character value with standardized capitalization.
DQGENDER
Returns a gender determination from the name of an individual.
DQGENDERINFOGET
Returns the name of the parse definition that is associated with the specified gender definition.
DQGENDERPARSED
Returns a gender determination from the parsed name of an individual.
DQIDENTIFY
Returns a category name from a character value.
DQLOCALEGUESS
Returns the name of the locale that is most likely represented by a character value.
DQLOCALEINFOGET
Returns information about locales.
DQLOCALEINFOLIST
Displays the names of the definitions in a locale and returns a count of those definitions.
DQMATCH
Returns a match code from a character value.
DQMATCHINFOGET
Returns the name of the parse definition that is associated with a match definition.
DQMATCHPARSED
Returns a match code from a parsed character value.
DQPARSE
Returns a parsed character value.
DQPARSEINFOGET
Returns the token names in a parse definition.
DQPARSETOKENGET
Returns a token from a parsed character value.
DQPARSETOKENPUT
Inserts a token into a parsed character value and returns the updated parsed character value.
DQPATTERN
Returns a pattern analysis from an input character value.
DQSCHEMEAPPLY CALL ROUTINE
Applies a scheme and returns a transformed value and a transformation flag.
DQSCHEMEAPPLY
Applies a scheme and returns a transformed value.
DQSRVARCHJOB
Runs an dfPower Architect job on a DataFlux Integration Server and returns a job identifier.
DQSRVCOPYLOG
Copies a job's log from a DataFlux Integration Server.
DQSRVDELETELOG
Deletes a job's log file from a DataFlux Integration Server.
DQSRVJOBSTATUS
Returns the status of a job that was submitted to a DataFlux Integration Server.
DQSRVKILLJOB
Terminates a job that is running on a DataFlux Integration Server.
DQSRVPROFJOBFILE
Runs a file-type Profile job on a DataFlux Integration Server and returns a job identifier.
DQSRVPROFJOBREP
Runs a repository-type Profile job on a DataFlux Integration Server and returns a job identifier.
DQSRVUSER
Authenticates a user on a DataFlux Integration Server.
DQSTANDARDIZE
Returns a character value after standardizing casing, spacing, and format, and applies a common representation to certain words and abbreviations.
DQTOKEN
Returns a token from a character table.


SAS Logging Facility: Configuration and Programming Reference

Function or CALL Routine Description
LOG4SAS_APPENDER
Creates a fileref appender that can be referenced by a logger.
LOG4SAS_LOGEVENT
Logs a message using a specific logger.
LOG4SAS_LOGGER
Creates a logger.


SAS Macro Language: Reference

SAS Macro Description
%BQUOTE, %NRBQUOTE
Masks special characters and mnemonic operators in a resolved value at macro execution.
%EVAL
Evaluates arithmetic and logical expressions using integer arithmetic.
%INDEX
Returns the position of the first character of a string.
%LENGTH
Returns the length of a string.
%QUOTE, %NRQUOTE
Masks special characters and mnemonic operators in a resolved value at macro execution.
%SCAN, %QSCAN
Searches for a word that is specified by its position in a string.
%STR, %NRSTR
Masks special characters and mnemonic operators in constant text at macro compilation.
%SUBSTR, %QSUBSTR
Produces a substring of a character string.
%SUPERQ
Masks all special characters and mnemonic operators at macro execution but prevents further resolution of the value.
%SYMEXIST
Returns an indication of the existence of a macro variable.
%SYMGLOBL
Returns an indication as to whether a macro variable is global in scope.
%SYMLOCAL
Returns an indication as to whether a macro variable is local in scope,
%SYSEVALF
Evaluates arithmetic and logical expressions using floating-point arithmetic.
%SYSFUNC, %QSYSFUNC
Executes SAS functions or user-written functions.
%SYSGET
Returns the value of the specified operating environment variable.
%SYSPROD
Reports whether a SAS software product is licenses at the site.
%UNQUOTE
During macro execution, unmasks all special characters and mnemonic operators for a value.
%UPCASE, %QUPCASE
Converts values to uppercase.


SAS National Language Support (NLS): Reference Guide

Function or CALL Routine Description
EUROCURR
Converts one European currency to another.
GETPXLANGUAGE
Returns the current two letter language code.
GETPXLOCALE
Returns the POSIX locale value for a SAS locale.
GETPXREGION
Returns the current two letter region code.
KCOMPARE
Returns the result of a comparison of character expressions.
KCOMPRESS
Removes specified characters from a character expression.
KCOUNT
Returns the number of double-byte characters in an expression.
KCVT
Converts data from one type of encoding data to another encoding data.
KINDEX
Searches a character expression for a string of characters.
KINDEXC
Searches a character expression for specified characters.
KLEFT
Left-aligns a character expression by removing unnecessary leading DBCS blanks and SO/SI.
KLENGTH
Returns the length of an argument.
KLOWCASE
Converts all letters in an argument to lowercase.
KREVERSE
Reverses a character expression.
KRIGHT
Right-aligns a character expression by trimming trailing DBCS blanks and SO/SI.
KSCAN
Selects a specified word from a character expression.
KSTRCAT
Concatenates two or more character expressions.
KSUBSTR
Extracts a substring from an argument.
KSUBSTRB
Extracts a substring from an argument according to the byte position of the substring in the argument.
KTRANSLATE
Replaces specific characters in a character expression.
KTRIM
Removes trailing DBCS blanks and SO/SI from character expressions.
KTRUNCATE
Truncates a numeric value to a specified length.
KUPCASE
Converts all single-byte letters in an argument to uppercase.
KUPDATE
Inserts, deletes, and replaces character value contents.
KUPDATEB
Inserts, deletes, and replaces the contents of the character value according to the byte position of the character value in the argument.
KVERIFY
Returns the position of the first character that is unique to an expression.
NLDATE
Converts the SAS date value to the date value of the specified locale by using the date format descriptors.
NLDATM
Converts the SAS datetime value to the time value of the specified locale by using the datetime- format descriptors.
NLTIME
Converts the SAS time or the datetime value to the time value of the specified locale by using the NLTIME descriptors.
SORTKEY
Creates a linguistic sort key.
TRANTAB
Transcodes data by using the specified translation table.
VARTRANSCODE
Returns the transcode attribute of a SAS data set variable.
VTRANSCODE
Returns a value that indicates whether transcoding is enabled for the specified character variable.
VTRANSCODEX
Returns a value that indicates whether transcoding is enabled for the specified argument.
UNICODELEN
Specifies the length of the character unit for the Unicode data.
UNICODEWIDTH
Specifies the length of a display unit for the Unicode data.

Previous Page | Next Page | Top of Page