The correct bibliographic citation for this manual is as follows: SAS Institute Inc Proc EXPLODE. Cary, NC: SAS Institute Inc.

Similar documents
The EXPLODE Procedure

SAS. IT Service Level Management 2.1: Migration Documentation

The correct bibliographic citation for this manual is as follows: SAS Institute Inc Proc FORMS. Cary, NC: SAS Institute Inc.

Data Representation. Variable Precision and Storage Information. Numeric Variables in the Alpha Environment CHAPTER 9

Formats. Formats Under UNIX. HEXw. format. $HEXw. format. Details CHAPTER 11

Introduction. LOCK Statement. CHAPTER 11 The LOCK Statement and the LOCK Command

The TRANTAB Procedure

The TIMEPLOT Procedure

Chapter 28 Saving and Printing Tables. Chapter Table of Contents SAVING AND PRINTING TABLES AS OUTPUT OBJECTS OUTPUT OBJECTS...

SAS Web Infrastructure Kit 1.0. Overview

APPENDIX 2 Customizing SAS/ASSIST Software

External Files. Definition CHAPTER 38

SAS Web Infrastructure Kit 1.0. Overview, Second Edition

Chapter 25 PROC PARETO Statement. Chapter Table of Contents. OVERVIEW SYNTAX SummaryofOptions DictionaryofOptions...

SAS Forecast Server 3.1. Administrator s Guide to Installation and Configuration

Chapter 3 Managing Results in Projects. Chapter Table of Contents

Permission Program. Support for Version 6 Only. Allowing SAS/SHARE Client Access to SAS Libraries or Files CHAPTER 40

Routing the SAS Log and SAS Procedure Output

Informats. Informats Under UNIX. HEXw. informat. $HEXw. informat. Details CHAPTER 13

Using the SQL Editor. Overview CHAPTER 11

Using Data Transfer Services

SAS/ASSIST Software Setup

Graphics. Chapter Overview CHAPTER 4

Choosing the Right Procedure

SAS/FSP 9.2. Procedures Guide

Customizing Your SAS Session

APPENDIX 4 Migrating from QMF to SAS/ ASSIST Software. Each of these steps can be executed independently.

Using Cross-Environment Data Access (CEDA)

The FORMS Procedure. Overview CHAPTER 20

QUEST Procedure Reference

SAS Universal Viewer 1.3

Storing and Reusing Macros

Creating and Executing Stored Compiled DATA Step Programs

Routing Output. Producing Output with SAS Software CHAPTER 6

DBLOAD Procedure Reference

SAS Support for TELNET on Windows

SAS Drug Development. SAS Macro API 1.3 User s Guide

Licensing SAS DataFlux Products

Overview. CHAPTER 2 Using the SAS System and SAS/ ASSIST Software

Macro Facility. About the Macro Facility. Automatic Macro Variables CHAPTER 14

SAS Structural Equation Modeling 1.3 for JMP

The STANDARD Procedure

SCL Arrays. Introduction. Declaring Arrays CHAPTER 4

Data Set Options. Specify a data set option in parentheses after a SAS data set name. To specify several data set options, separate them with spaces.

CHAPTER 7 Using Other SAS Software Products

Chapter 25 Editing Windows. Chapter Table of Contents

Introduction. CHAPTER 3 Working in the SAS Windowing Environment

SAS Clinical Data Integration 2.4

Introduction. Getting Started with the Macro Facility CHAPTER 1

SAS Publishing. Configure SAS. Forecast Server 1.4. Stored Processes

SAS Catalogs. Definition. Catalog Names. Parts of a Catalog Name CHAPTER 32

Chapter 23 Animating Graphs. Chapter Table of Contents ANIMATING SELECTION OF OBSERVATIONS ANIMATING SELECTED GRAPHS...347

SAS Workflow Manager 2.2: Administrator s Guide

CHAPTER 13 Importing and Exporting External Data

SAS Publishing SAS. Forecast Studio 1.4. User s Guide

SAS AppDev Studio TM 3.4 Eclipse Plug-ins. Migration Guide

SAS Drug Development 3.3_03. December 14, 2007

Chapter 6 Creating Reports. Chapter Table of Contents

SAS Model Manager 2.2. Tutorials

Enterprise Miner Software: Changes and Enhancements, Release 4.1

The GSLIDE Procedure. Overview. About Text Slides CHAPTER 27

SAS 9.2 Foundation Services. Administrator s Guide

SAS/ACCESS Interface to R/3

Chapter 7 File Access. Chapter Table of Contents

Chapter 2 User Interface Features. networks Window. Drawing Panel

SAS I/O Engines. Definition. Specifying a Different Engine. How Engines Work with SAS Files CHAPTER 36

Alternative ODS HTML Statements for Running Examples in Different Operating Environments

SAS Clinical Data Integration Server 2.1

SAS File Management. Improving Performance CHAPTER 37

SAS Theme Designer 3.1 for Flex

Chapter 27 Saving and Printing Graphics

Procedures. Calls any BMDP program to analyze data in a SAS data set

SAS Forecast Server 3.1. Administrator s Guide to Report Administration Tasks

from the source host, use the FTP put command to copy a file from the source host to the target host.

Using CVS Repositories with SAS

SAS Clinical Data Integration 2.6

Using Dynamic Data Exchange

The GTESTIT Procedure

OS/390 Platform Examples

SAS Business Rules Manager 1.2

Administering SAS Enterprise Guide 4.2

SAS IT Resource Management 3.3

SAS Drug Development 3.5

SAS Web Infrastructure Kit 1.0. Administrator s Guide

UNIX Spawner Program. Starting the UNIX Spawner Program CHAPTER 36

Examples That Use Remote Objecting

SAS Marketing Operations Management 6.0 R14 Update 2

SAS. Information Map Studio 3.1: Creating Your First Information Map

CHAPTER 7 Examples of Combining Compute Services and Data Transfer Services

Tasks Menu Reference. Introduction. Data Management APPENDIX 1

SAS Enterprise Miner TM 6.1. Migration Guide

SAS Web Report Studio 3.1

The NESTED Procedure (Chapter)

SAS Drug Development SAS API Macros 1.1 User s Guide

10 The First Steps 4 Chapter 2

The SAS Interface to REXX

OpenVMS Operating Environment

CV2ODBC Procedure. Overview. CV2ODBC Procedure Syntax APPENDIX 4

Locking SAS Data Objects

SAS Simulation Studio 14.1: User s Guide. Introduction to SAS Simulation Studio

Transcription:

Proc EXPLODE

The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2004. Proc EXPLODE. Cary, NC: SAS Institute Inc. Proc EXPLODE Copyright 2004, SAS Institute Inc., Cary, NC, USA All rights reserved. Produced in the United States of America. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, or otherwise, without the prior written permission of the publisher, SAS Institute Inc. U.S. Government Restricted Rights Notice. Use, duplication, or disclosure of this software and related documentation by the U.S. government is subject to the Agreement with SAS Institute and the restrictions set forth in FAR 52.227 19 Commercial Computer Software-Restricted Rights (June 1987). SAS Institute Inc., SAS Campus Drive, Cary, North Carolina 27513. 1st printing, February 2004 SAS Publishing provides a complete selection of books and electronic products to help customers use SAS software to its fullest potential. For more information about our e-books, e-learning products, CDs, and hard-copy books, visit the SAS Publishing Web site at support.sas.com/pubs or call 1-800-727-3228. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. indicates USA registration. Other brand and product names are registered trademarks or trademarks of their respective companies.

Contents Chapter 1 4 The EXPLODE Procedure 1 Overview: EXPLODE Procedure 1 Syntax: EXPLODE Procedure 2 Examples: EXPLODE Procedure 5

iv

3 CHAPTER 1 The EXPLODE Procedure Overview: EXPLODE Procedure 3 Syntax: EXPLODE Procedure 4 PROC EXPLODE Statement 4 PARMCARDS or PARMCARDS4 Statement 4 Message Lines 5 Null Statement 7 Examples: EXPLODE Procedure 7 Example 1: Controlling Spacing 7 Example 2: Darkening and Underlining Text 8 Overview: EXPLODE Procedure The EXPLODE procedure produces printed output with oversized text by expanding each letter into a matrix of characters. You can use the EXPLODE procedure to generate posters, flip charts, and header pages for computer output. Note: PROC EXPLODE with a PARMCARDS statement cannot be included in a macro. 4 Output 1.1 shows the results of the most basic form of a PROC EXPLODE step with only one line of text. The following statements produce the output: filename ft15f001 temp; options nodate pageno=1 linesize=80 pagesize=60; proc explode; parmcards; TOP SECRET ; Output 1.1 A Line of Expanded Text The SAS System 1 ***** *** **** *** ***** *** **** ***** ***** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * **** * **** * **** **** * * * * * * * * * * * * * * * * * * * * * * * * * * *** * *** ***** *** * * ***** *

2 Syntax: EXPLODE Procedure 4 Chapter 1 You can control spacing, the density of the text, and underlining with options. Syntax: EXPLODE Procedure Requirements: PARMCARDS or PARMCARDS4 Message line(s) Null statement Reminder: You can use global statements with PROC EXPLODE. See the Fundamental Concepts for Using Base SAS Procedures chapter in Base SAS Procedures Guide for a list. PROC EXPLODE; PARMCARDS PARMCARDS4; message-line(s) ; ;;;; PROC EXPLODE Statement PROC EXPLODE; PARMCARDS or PARMCARDS4 Statement Signals the beginning of the message lines. Requirement: If any part of the message contains a semicolon, then you must use PARMCARDS4. See also: Null Statement on page 5 Featured in: Example 1 on page 5 and Example 2 on page 6 PARMCARDS PARMCARDS4;

The EXPLODE Procedure 4 Message Lines 3 Message Lines Specifies the block of text (one or more lines) and any special characters that control the appearance of the text. Featured in: Example 1 on page 5 and Example 2 on page 6 Message line(s) <D L> <Sn P> <spacing-control> text <U character-1 < character-n>> more blocks of option specifications and text lines <D L> <Sn P> <spacing-control> <U character-1 < character-n>> Required Argument text specifies the line of printed text. It can contain only the following characters: ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890. +,=*$/_()>< &?!;# " % @ blank The not symbol ( ) can also appear as either a caret ( ˆ) or a tilde (~), depending on which character set your keyboard uses. PROC EXPLODE ignores lowercase letters. The EXPLODE procedure reproduces horizontal spacing as it appears in the program, except for column 1, which is reserved for the spacing-control option. Restriction: text can begin in any column except the first. Options To do this Control vertical spacing Control the text density Underline text Begin a new page Use this option Sn or spacing-control D L U P

4 Message Lines 4 Chapter 1 D L controls the density of printed characters. Specify D to produce dark characters that are formed by overprinting the characters H, T, and Q. Specify L to produce light characters that are formed by asterisks. Default: L initially, then for each line of text the value is carried over from the previous line if you do not specify a value. Requirement: Must appear in column 1, and must be the only character on that line. Requirement: To produce overprinting, the SAS system option OVP must be in effect, and your printer must support overprinting. Featured in: Example 2 on page 6 L P See D L. See Sn P. Sn P controls the amount of space before the next line of text. Sn skips n lines before the next line of text. Range: 1 9 See also: spacing-control Featured in: Example 1 on page 5 P begins a new page before the next line of text. Featured in: Example 2 on page 6 Default: 0 Requirement: Must begin in column 1 and must be the only characters(s) on that line. spacing-control specifies the number of lines to skip before the next line of text. Default: 0 Range: 1 9 Requirement: Must appear in column 1. Restriction: Spacing control does not work at the top of the page. See also: Sn option <U character-1 < character-n>> underlines the text on the previous line with asterisks. The character values can be anything. The nonblank characters determine where the underline appears. PROC EXPLODE skips two lines before printing the underline. Featured in: Example 2 on page 6

The EXPLODE Procedure 4 Program 5 Null Statement Ends the PROC EXPLODE step. Requirement: The Null statement must begin in the first column. If any part of the message contains a semicolon, then use four semicolons instead of one. See also: PARMCARDS or PARMCARDS4 Statement on page 2 ; ;;;; Examples: EXPLODE Procedure Example 1: Controlling Spacing Procedure features: PARMCARDS statement Message lines options: S spacing-control This example 3 controls horizontal spacing in the output by shifting the starting point of the text lines in the program 3 controls vertical spacing with an initial gap of two lines and another gap of two lines before the second line of text. Program options nodate pageno=1 linesize=88 pagesize=60; Specify the file to which the text is written. PARMCARDS= specifies the file reference, EXTFILE, of the file, PARMFILE, to which PROC EXPLODE writes the text in the message lines. options parmcards=extfile; filename extfile parmfile ; proc explode; title Cover Page ;

6 Output 4 Chapter 1 Specify the spacing control. The numeral 6 before WORDS specifies the spacing control. S2 skips two lines before the next line of text. parmcards; THESE 6 WORDS S2 ARE BIG ; Output ***** * * ***** *** ***** * * * * * * * * * * * * * * ***** **** * **** * * * * * * * * * * * * * * * * ***** *** ***** Cover Page 1 * * *** **** **** *** * * * * * * * * * * * * * * * * * * * * * * * **** * * * * * * * * * * * * * ** ** * * * * * * * * * * *** * * **** *** * **** ***** **** ***** *** * * * * * * * * * * * * * * * * * * * ***** **** **** *** * * *** * * * * * * * * * * * * * * * * * * * * * * * * ***** **** ***** *** Example 2: Darkening and Underlining Text Procedure features: PARMCARDS4 statement Message lines options: D

The EXPLODE Procedure 4 Program 7 L P U SAS system option: OVP This example 3 prints dark text and then returns to light text 3 specifies a page break 3 underlines text. Program Put overprinted characters in the text. OVP allows overprinted characters in the text. options nodate pageno=1 linesize=88 pagesize=60 ovp; Specify the file that will contain the procedure output. PARMCARDS= specifies the file reference, EXTFILE, of the file, PARMFILE, to which PROC EXPLODE writes the text in the message lines. options parmcards=extfile; filename extfile parmfile ; proc explode; title Important Message ; Customize the text in the output. D overprints the line of text to make it darker, P begins a new page, and L returns to regular printing. U with the line of asterisks creates the underline. D P L parmcards4; SOME WORDS ARE DARK; SOME ARE ALSO The Null statement uses four semicolons because the message contains a semicolon. D UNDERLINED U **********

8 Output 4 Chapter 1 ;;;; Output Important Message 1 *** *** * * ***** * * *** **** **** *** * * * * ** ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * **** * * * * **** * * * * * * * * * * * * * * * * * * * * * * * * * * ** ** * * * * * * * * *** *** * * ***** * * *** * * **** *** * **** ***** * * * * * * * * * * ***** **** **** * * * * * * * * * * * * * * ***** HTQHTQHTQHTQ HTQ HTQHTQHTQHTQ HTQ HTQ HTQHTQ HTQ HTQ HTQ HTQ HTQ HTQ HTQ HTQ HTQHTQ HTQ HTQ HTQ HTQ HTQ HTQ HTQ HTQ HTQ HTQ HTQHTQHTQHTQHTQ HTQHTQHTQHTQ HTQHTQ HTQHTQ HTQ HTQ HTQ HTQ HTQ HTQ HTQ HTQ HTQHTQ HTQ HTQ HTQ HTQ HTQ HTQ HTQ HTQ HTQ HTQHTQHTQHTQ HTQ HTQ HTQ HTQ HTQ HTQ HTQ

Your Turn If you have comments or suggestions about Proc EXPLODE, please send them to us on a photocopy of this page, or send us electronic mail. For comments about this book, please return the photocopy to SAS Publishing SAS Campus Drive Cary, NC 27513 email: yourturn@sas.com For suggestions about the software, please return the photocopy to SAS Institute Inc. Technical Support Division SAS Campus Drive Cary, NC 27513 email: suggest@sas.com