home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!paladin.american.edu!auvm!MCIMAIL.COM!0005400191
- Message-ID: <53920914152835/0005400191PK2EM@mcimail.com>
- Newsgroups: bit.listserv.sas-l
- Date: Mon, 14 Sep 1992 15:28:00 GMT
- Reply-To: Willy Waks <0005400191@MCIMAIL.COM>
- Sender: "SAS(r) Discussion" <SAS-L@UGA.BITNET>
- From: Willy Waks <0005400191@MCIMAIL.COM>
- Subject: WordPerfect Merge and SAS
- Lines: 45
-
- Thanks to all those wto responded to my call for help about WordPerfect
- Merge and SAS. Thanks in particular to Derek Morgan who sent me a
- postscrip macro (which I have not tried yet) and Steven Scott who has
- been working on a similar, but much more complicated application (about
- 2000 fields, as opposed to a 100-200 for us).
- For those interested, here is the status of my research and testing
- concerning WP 5.1 for DOS:
- 1) Text fields: it is fairly simple to create with PUT statements in SAS
- a secondary merge file for WP: you just have to tell WP what are the
- delimitors for your fields and for your records. We selected << as the
- delimitor for beginning field, and >> for end field, and our secondary
- file looks like that:
- <<Dr. X>> <<150>> <<FIELD3>> <<FIELD4>> ....<<FIELDn>>
- The fields in the WP primary file are numbered in order of appearance,
- which means that theoretically we don't have to go through a complicated
- naming convention scheme (however, this may not be a good idea for
- eventual future changes to the WP document: renumbering the fields may
- be cumbersome).
- We have tested that on a samll text, not yet on a long document, and it
- worked fine.
- 2) Color in text field: if you printer supports it, it's pretty simple
- to assign a color to any text in WP.
- 3) Graphics: this is where things are less simple. WP 5.1 for DOS will
- print a color graphic image only in Black and White, except for the
- following color postscript printers for which WP has a driver:
- NEC colormate PS, QMS Colorscript 100 Model 10,30 and 301 Seiko
- ColorPoint PS, Tektronix Phaser 4693DX, ColorQuick and PX. I got this
- info from the WP support forum on Compuserve.
- 4) Tables: we have not tried it yet, but I know we would like to enhance
- SAS reports and put them into WP tables with borders and grids. One
- off-hand solution I can think of is maybe using PROC DIF or DBF to
- export the SAS data to a Dbase or Spreadsheet file, and then let WP
- import this data into a WP table. (Steve, any idea ?)
-
- Off-course, the graphic part mentionned above may be different if we use
- WP for Windows, or Microsoft Words for Windows: they both run well under
- OS/2 which is the SAS platform for this application, and have probably
- more color graphic drivers.
-
- <<Errare humanum est... sed perseverare diabolicum !>>
-
- Willy Waks
- 2W Systems Co., Inc 5430 Alpha Road Suite 200 Dallas TX 75240
- Tel: 214-6618619 Fax: 214-6610130
- Email: wwaks@mcimail.com 73437.344@Compuserve.com
-