• Previous Page
  • |
  • Next Page
BY Statement
Previous Page | Next Page

The COMPUTAB Procedure

  • Overview
  • Getting Started Getting Started
    Producing a Simple Report Using PROC COMPUTAB Defining Report Layout Adding Computed Rows and Columns Enhancing the Report
  • Syntax Procedure Syntax
    Functional Summary PROC COMPUTAB Statement COLUMNS Statement ROWS Statement CELL Statement INIT Statement Programming Statements BY Statement SUMBY Statement NOTRANS Option
  • Details Procedure Details
    Program Flow Example Order of Calculations Column Selection Controlling Execution within Row and Column Blocks Program Flow Direct Access to Table Cells Reserved Words Missing Values OUT= Data Set
  • Examples Procedure Examples
    Using Programming Statements Enhancing a Report Comparison of Actual and Budget Consolidations Creating an Output Data Set A What-If Market Analysis Cash Flows
 
BY Statement
BY variables ;

A BY statement can be used with PROC COMPUTAB to obtain separate reports for observations in groups defined by the BY variables. At the beginning of each BY group, before PROC COMPUTAB reads any observations, all table values are set to 0 unless the INITMISS option or an INIT statement is specified.

Previous Page | Next Page | Top of Page
Copyright © SAS Institute Inc. All rights reserved.
  • Previous Page
  • |
  • Next Page
  • |
  • Top of Page