SAS Note V6-REPORT-G591

From: tsdlist@UNX.SAS.COM
Date: Mon Jan 17 2000 - 11:22:48 EST

  • Next message: tsdlist@UNX.SAS.COM: "SAS Note SN-001583"

    >>>>>>>> SAS Notes -- Copyright (c) 1991 - 2000 by SAS Institute Inc. <<<<<<<<

    V6-REPORT-G591 *** ALERT NOTE *** PRODUCT: BASE

    TITLE: Multiple statistics w/alias under analysis variable may be incorrect

    KEYS: KEYS: STATISTICS ALIAS COMPUTED ANALYSIS INCORRECT WRONG PROC REPORT

        If more than one statistic with an alias is specified under an analysis
        variable and there is a computed variable to the right on the column
        statement, the reported statistics will be equal to the first stated
        statistic value. For example:

            COL analysis,(statistic1=alias1...statisticN=aliasN) computed
        OR COL analysis,statistic1=alias1 analysisN,statisticN=aliasN computed

        There are 2 possible workarounds.

        1) state the analysis variable and the alias separately on the column
           statement and then use the define statement to specify the statistic

           For example: COL analysis1=a1 analysisN=aN computed;
                         Define a1 / statistic; Define aN / statistic;

        2) use the NOALIAS option on the PROC REPORT statement. NOTE: if the
           NOALIAS option is used then any reference to the alias in a compute
           block will need to use analysis.statistic form (not the alias name)

    +------REPORTED------+ +---FIXED---+
    SYSTEM RELEASE LEVEL RELEASE LEVEL

    CMS 6.09 TS450
    MVS 6.09 TS450
    VMS 6.09 TS450
    AIX/R 6.11 TS020
    HP800 6.11 TS020
    IABI 6.11 TS040
    MIPS ABI 6.11 TS040
    OSF/AXP 6.11 TS040
    OS/2 6.11 TS020
    Solaris 6.11 TS020
    Windows 6.11 TS020
    WIN/NT 6.11 TS040
    Win95 6.11 TS040
    AIX/R 6.12 TS020
    HP800 6.12 TS020
    OS/2 6.12 TS020
    Solaris 6.12 TS020
    VMS/AXP 6.12 TS020
    Windows 6.12 TS020
    WIN/NT 6.12 TS020
    Win95 6.12 TS020



    This archive was generated by hypermail 2b29 : Mon Jan 17 2000 - 11:26:08 EST