Page 20 - SAS_manual
P. 20

Program 3.9


















               Output:















               In formatted input styles we have some rules to read nonstandard data.
                                                             NON STANDARD DATA           WIDTH FORMAT
                Numeric                                      1843219                     7
                                                             14254.23                    8.2
                Numeric with comma                           12,333                      Comma6.
                                                             1,23,87,432                 Comma10.
                                                             12,254.85                   Comma9.2
                Numeric with dollar                          $17859                      Dollar6.
                                                             $17,860                     Dollar7.
                                                             $17,861.25                  Dollar10.2
                Percentage                                   73%                         Percent3.
                                                             34.43%                      Percent6.2
                Character                                    Kanyakumari                 $11.
                Date                                         10-Jul-17                   date9.
                                                             10-Jul-17                   dat11.
                                                             10-Jul-17                   date7.
                                                             10-Jul-17                   date9.
                                                             10-07-2017                  ddmmyy8.
                                                             10/07/2017                  ddmmyy10.
                                                             07/10/2017                  mmddyy10.


                                                    SAS HANDBOOK | VISIT:: http://nikhilanalytics.com  20
   15   16   17   18   19   20   21   22   23   24   25