Returns the value that is produced when SAS converts an expression using the specified informat.
Category: | Special |
specifies a character constant, variable, or expression to which you want to apply a specific informat.
specifies the optional question mark (?) and double question mark (??) modifiers that suppress the printing of both the error messages and the input lines when invalid data values are read. The ? modifier suppresses the invalid data message. The ?? modifier also suppresses the invalid data message and, in addition, prevents the automatic variable _ERROR_ from being set to 1 when invalid data are read.
is the SAS informat that you want to apply to the source. This argument must be the name of an informat followed by a period, and cannot be a character constant, variable, or expression.
data testin; input sale $9.; fmtsale=input(sale,comma9.); datalines; 2,115,353 ;
numdate=122591; chardate=put(numdate,z6.); sasdate=input(chardate,mmddyy6.);