HDTenEightyP/NetNews huggingface dataset:
Newsgroups: bit.listserv.sas-l
Date:         Fri, 9 Oct 1992 13:01:15 EDT
Reply-To:     Robert <NY922199@PACEVM.BITNET>
From:         Robert <NY922199@PACEVM.BITNET>
Subject:      Thank You

Well, chalk up another one for Kernon, Howard and a couple of people
here at Pace. The obvious didn't occur to me because:

   Excuse 1:       with a background in FORTRAN, I just love doing
                   things with arrays

   Excuse 2:       I'm still new to SAS (about a year)

   Excuse 3:       I have to share a set of SAS manuals and didn't
                   have ready access to the procedures guide

   Excuse 4:       I'm a Pittsburgh Pirates fan and I'm still in
                   shock over the Braves' 2 game lead

   Reality Check:  I apparently didn't read the chapter on TRANSPOSE
                   well enough, either misinterpreting or just not
                   comprehending what I read !

Kernon's code is exactly what I need, with the only modification being
needed is an adjustment to format the date for months. Howard's idea
about using an index instead of sorting the dataset is much appreciat-
ed, since it would not of occurred to me at all (I can probably avoid
requesting more mini-disk space).

Once again, thanks to all, especially Kernon and Howard. Well, I'm off
to lunch, I think I'm having CROW ALA CART !

                                      Robert
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
X-Original-To:  sas-l@uga.bitnet, SCHNEUWL
Newsgroups: bit.listserv.sas-l
Date:         Tue, 13 Oct 1992 10:06:00 N
Reply-To:     SCHNEUWL@CZHETH5A.BITNET
From:         SCHNEUWL@CZHETH5A.BITNET
Subject:      solution to problems with pc604.xpt from ftp.sas.com

Yesterday I posted a request for help:
>
> I got from ftp.sas.com the usage notes for pc sas 604.
> I try to read them on the PC with SAS 6.04 with:
>
> proc cimport infile='pc604.xpt' lib=work;run;
>
> and the only thing I got back was an error message:
>
> Note: Proc Cimport begins to create/update catalog WORK.D*******
> ERROR: Cannot rename output data set WORK.D*******.CATALOG
>        File name: E:\TEMP\SASWORK\D*******.SCT.
>        Temporary name: E:\TEMP\SASWORK\#TF00007.SCT
> ERROR: Unable to open catalog WORK.D*******
> Note: The SAS System stopped ........
>
> It's clear, SAS can not handle the illegal name D*******, but why is it pro-
> duced at all?
>
> I have ftp'ed the catalog as binary and as ascii; same result.
>
> Can someone give me a hint?
>

This morning I got the answers:

>
>
From:   BITNET%"BARRIOS@UNC.BITNET"      "Arturo Barrios"
>
> You have to used sasv5xpt engine, like:
>
> libname trans sasv5xpt 'yourdirectory.pc604.xpt';
> proc copy in=trans out=work; run;
>
> This should solve your problem, enjoy
>
> Arturo
>

and

>
> From:   BITNET%"BLEBLANC@UMIAMIVM.BITNET"
>
> It works using the following pc sas program:
>
>   libname in sasv5xpt 'c:\scratch\pc604.xpt';
>   libname out 'c:\sas\sasusage';
>   proc copy in=in out=out;
>   run;
>
> I ftp'd the file in binary, and downloaded to my pc
> using kermit, in binary.
>
> Bill LeBlanc

I never thought I could have to use the sas 5 engine and no proc cimport!

SAS-L is great, Thank you very much
                                        Bruno Schneuwly
                                        ETH Zurich
                                        schneuwl@czheth5a.bitnet
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Newsgroups: bit.listserv.sas-l
Date:         Thu, 8 Oct 1992 11:07:15 U
Reply-To:     "Chas. DeLa" <delac@KC235-2.MGMT.PURDUE.EDU>
From:         "Chas. DeLa" <delac@KC235-2.MGMT.PURDUE.EDU>
Subject:      Sampling code.

To all,

Enclosed in this message is some SAS code that will allow you to specify the
number of samples of a deisired size you want from an existing SAS dataset.  It
samples w/ replacement.

I tried to send this last week when several were discussing sampling SAS
datasets but for some reason, I don't think it made it out to SAS-L.  If this
DOES duplicate my original attempt at posting, sorry.

***snip snip***

/* NOTE: The macro below samples a specified number of times with a specified
sample size. You need to assign appropriate values to the two macro variables
"size" and "samples" to indicate what your choices are for these parameters.
You also need to change the name of the dataset you're sampling from on line
which begins w/ "set". */

%macro sampler;
   data sample;
      %let size = 14;   /* set the desired sample size */
      %let samples = 20;  /* set the desired number of samples */

/* NOTE: You change the numbers in the two lines above to set the desired
sample size and desired number of samples. */

      retain sampsize &size n;
      drop sampsize n;
      if _n_=1 then n=numobs;
      do groups = 1 to &samples;
         do j = 1 to numobs until (n=0 or sampsize=0);
            set pool point=j nobs=numobs;

/* NOTE: The SAS dataset I'm sampling in the line above is called "pool". You
replace this dataset name with your own. */

            if ranuni(0) < sampsize/n then do;
               output;
               sampsize=sampsize-1;
            end;
            n=n-1;
         end;
         if n=0 or sampsize=0 or j=numobs then do;
            n=numobs;
            sampsize=&size;
         end;
      if groups = &samples then stop;
      end;
      if n = 0 or sampsize = 0 or _n_=numobs then stop;
%mend sampler;

/* NOTE: The following code indicates how the macro MIGHT be used. If you have
an existing SAS program that creates a SAS dataset and you wish to keep track
of which observations you sampled, then add the line
indicated below to your original datastep code.

If you don't care to keep track of which observations are sampled, then
the above macro can be "applied" to any existing SAS dataset without
any modification of the original dataset. */

data pool;
* infile "your orignal data";
* input "your original variables";
* create whatever else you need--in other words, create a SAS dataset
   you want to sample from;

 original=_n_;

/* NOTE: Put the line above in your original datastep to create a variable that
tells you which observations were sampled later. */

%sampler;

proc print; /* Use whatever Procs you need on your sampled data. */

run;

***end of snip snip***

Chas.

Chas. DeLa                          phone:  (317) 494-9564
Information Center Specialist    Internet:  delac@midas.mgmt.purdue.edu
Krannert Computer Center           BITNET:  delac@purccvm
Purdue University
West Lafayette, IN  47907
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Newsgroups: bit.listserv.sas-l
Date:         Thu, 8 Oct 1992 18:00:00 EDT
Reply-To:     "A. Barrios" <UABC@UNC.BITNET>
From:         "A. Barrios" <UABC@UNC.BITNET>
Subject:      Correction, Moving graphics ......
Comments: To: sug-l@UNCVM1.BITNET

----------------------------------------------------------------------
CONTENT:  Correction
SUMMARY:  New TS documents,  Graphips under MS Word and Harvard
          Graphics.
E-ADDR:   uabc@unc.bitnet
NAME:     Arturo Barrios
PH/ADDR:  919-962-6501  OIT CB#3455, UNC, Chapel Hill NC 27514
----------------------------------------------------------------------
Hi,

In a previous message:

" Now you can ftp sas to ftp.sas.com to download two new
documents the TS 252B,  that explain how to move graphics from
sas to MS Word with True Type fonts, and the TS 252A, that is a
more detail document than TS 252 to move graphics to the Harvard
Graphics software.  Peter Rusza from SAS is preparing another TS
about CorelDraw."

Well, I made a mistake these files are not available throught
ftp, because they have embeded graphics that shows you how the
graphics output actually looks. Please to get a copy of the
documents call SAS - Technical Support.

Sorry, "errar es humano, ..."

Arturo
From: gagnon@buma15.bu.edu (David Gagnon)
Newsgroups: bit.listserv.sas-l
Subject: Re: Insert Key for IBM RS/6000
Date: 8 Oct 92 18:16:20 GMT
Organization: Department of Mathematics, Boston University, Boston

My thanks to those of you who provide hints for my effort to find a toggle
for the insert key in the SAS editor for an IBM RS/6000.  

It turns out that the system manager who installed SAS failed to define
the TERMINFO and TERMINFOADD variables in the environment.  Thus the 
SAS program was not using the ascii.vt100 driver I was invoking with the
-fsdevice command.  Given the fact that this system has only a single line
.chsrc file on each account that reads a master .chsrc file made it a
bit difficult to trace.  After this is fixed, CTRL-x works.

Thanks again for all of the suggestions.

					>David<
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
X-Envelope-to: sas-l@UGA.BITNET
X-VMS-To: IN%"sas-l@uga"
Newsgroups: bit.listserv.sas-l
Date:         Fri, 16 Oct 1992 10:48:00 +0800
Reply-To:     DDPUKKH@HKUCC.BITNET
From:         DDPUKKH@HKUCC.BITNET
Subject:      timetabling and facilities management

        I have not used SAS whatsoever before but someone suggested
to me SAS might help me.

        I am looking for some software on timetabling and room allocation
management. Is there any packaged software that runs on SAS available?

        Thanks for any kinds of hints or information.


                                        HA
From: sas@NIORDS1.EM.CDC.GOV
Newsgroups: bit.listserv.sas-l
Subject: Nested model with missing cells
Date: 15 Oct 92 18:05:00 GMT
Reply-To: sas@NIORDS1.EM.CDC.GOV
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Encoding: 25 TEXT
X-Mailer: Microsoft Mail V3.0 (beta-2)
Comments: To: sas-l@awiimc12.imc.univie.ac.at

Sas-ler's

     I am using proc glm.  My Dependent var is DUST LEVEL.  My predictors are
YEAR SAMPLED(1 or 2), REGION(WEST OR DELTA), PLANT(nested within region;
there are 3 plants in each region), and DEPT(the same 6 departments in each
plant).

model dust=year region(plant) dept;

Is this the proper way to go about this?  Am I correct that DEPT is not
nested within plant because they are the SAME across plants?

Another twist is when using both "YEAR SAMPLED" groups, only one PLANT is
represented in the WESTERN REGION at time 2....this adds missing cells to the
model...

The main focus of the analysis is to examine differences between the regional
dust levels....

I anxiously await replies and suggestions.  Thanks in advance.

Brian Day
btd@niords1.em.cdc.gov
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Newsgroups: bit.listserv.sas-l
Date:         Wed, 7 Oct 1992 21:23:00 GMT
Reply-To:     "Richard W. LaValley" <0002826295@MCIMAIL.COM>
From:         "Richard W. LaValley" <0002826295@MCIMAIL.COM>
Subject:      Graphical Representation using NPA/NXX
Comments: To: Multiple recipients of list SAS-L <SAS-L@vtvm1.cc.vt.edu>
Comments: cc: Alan Churchill <0003659720@mcimail.com>

We are looking at displaying some of our data using the standard SAS Maps and
wonder if there are anyone out there that has developed a current NPA
geographical
display or even better a NPA/NNX breakdown.
Rich
From: 0005400191@MCIMAIL.COM (Willy Waks)
Newsgroups: bit.listserv.sas-l
Subject: SAS/Toolkit - C Programs
Date: 15 Oct 92 21:50:00 GMT
Reply-To: Willy Waks <0005400191@MCIMAIL.COM>
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Comments: To: SAS-L <SAS-L@tcsvm.bitnet>

I juts received the developper copy of SAS 6.08 for Windows, and am
about to install it. While I have not requested it, do you know if:
1) SAS/Toolkit is available for PC platforms (6.08 for Windows, 6.06
for OS/2).
2) If one writes routines in C for a PC (Win 3.1 or OS/2), will any
compiler do (Microsoft, Borland...) or do you need to use the
SAS/Lattice C compiler.
Thanks!
      <<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
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Newsgroups: bit.listserv.sas-l
Date:         Tue, 13 Oct 1992 23:02:22 LCL
Reply-To:     Robert Cymbala <NAMP@SUVM.BITNET>
From:         Robert Cymbala <NAMP@SUVM.BITNET>
Subject:      Re: Beautifying Tabulate Output
              14 Oct 1992 08:22:17 +1200 from <J.A.Edwards@MASSEY.AC.NZ>

Jenny Edwards asks,
>
>Secondly, is it possible to specify tabs as delimeters rather than spaces?
>When putting tables (or any other text output) into WordPerfect, I use
>courier font (ugh) to keep spacing intact.  Tabs would allow me to keep the
>layout but specify a nicer font.
>
>Alternatively, is it possible to specify 'output fonts'?
>

The hex.  string for tab, 05, can be put in the FORMCHAR string.
When downloaded and retrieved into WordPerfect, the character will be
"[TAB]".

Since the values of a table are between vertical bars, replace them
with tab characters:
 formchar='0540404040404040404040'X
Everything else, chars 2-11, are blanks in the above example since I
have no idea how to put graphics characters into a box.

Perhaps the graphics box can be drawn once in WordPerfect.  The
spaces can be removed with Search Replace.  Within the lines of the
table (after Blocking them) all spaces could be gotten rid of.
Instead of boxes, I myself would just use horizontal lines in the
table,
 1. the line draw feature in WordPerfect with proportional
      fonts perplexes me,
 2. I can use underlined tabs for the horizontal lines, using
      Layout Other Underline y,y

If searching and replacing "-", be aware of the difference between
"[-]" (the dask key) and "-" (Home-dash key).

 --
 --R. Cymbala, N. American Maple Project, SUNY-ESF
 --
From: METRMDHM@SUVM.SYR.EDU (Mark D. H. Miller)
Newsgroups: bit.listserv.sas-l
Subject: Re: Documented (?) use of SUBSTR?
Date: 15 Oct 92 22:20:23 GMT
Reply-To: "Mark D. H. Miller" <METRMDHM@SUVM.SYR.EDU>
Organization: SYRACUSE UNIV RESEARCH DATA CENTER
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
X-Acknowledge-To: <METRMDHM@SUVM.SYR.EDU>
Comments: To: "Philip Gallagher,(919)966-1065" <UPHILG@UNC.BITNET>,
              sas-l listserve <SAS-L@UGA.BITNET>

Use of SUBSTR on the left-side of an assignment is probably attributable
to SAS' origin as a PL/I program.  These are called pseudo-variables
and for SUBSTR, at least, have been valid from the good old days.
Moreover, this usage documented in the manual as part of the
SUBSTR entry (v5, basics, p.274; v6, Language reference, p601-602).


  *------------------------------------------------*
    Mark D. H. Miller (metrmdhm@suvm.syr.edu)
    Syracuse University, Faculty Computing Services
    Research Data Center   { +1 315 443-1144 }
  *------------------------------------------------*
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Newsgroups: bit.listserv.sas-l
Date:         Thu, 8 Oct 1992 17:47:42 EDT
Reply-To:     Philip Tejera <TEJERA@BARUCH.BITNET>
From:         Philip Tejera <TEJERA@BARUCH.BITNET>
Subject:      Re: Read MVS file with SAS/UNIX
              8 Oct 1992 19:36:03 GMT from <lbertoli@MAGNUS.ACS.OHIO-STATE.EDU>

On Thu, 8 Oct 1992 19:36:03 GMT Lawrence E Bertolini said:
>Suppose you have an MVS file, created by a COBOL pgm, that contains
>a variety of numeric data types:
>   01  WHATEVER.
>       05  VAR1         PIC 9(04)V99.
>       05  VAR2         PIC S9(04)V99.
>       05  VAR3         PIC S9(04)V99 COMP.
>       05  VAR4         PIC S9(04)V99 COMP-3.
>
>Suppose that you want to FTP this file to a UNIX machine (in my case,
>HP-UX 8.02) and read it with a SAS pgm.
>  ... various data conversion problems described

You don't say whether you can read this data file into SAS on MVS, and then
create a SAS transport file and ftp it. That would seem the easiest solution,
particularly since there exists a COB2SAS program that will translate
Cobol data definition statements into a SAS input statement. Of course
this requires having SAS on the MVS system :-) .
From: tamara@GLIA.BIOSTR.WASHINGTON.EDU ((tiny t))
Newsgroups: bit.listserv.sas-l
Subject: (no subject given)
Date: 15 Oct 92 03:04:53 GMT
Reply-To: "(tiny t)" <tamara@GLIA.BIOSTR.WASHINGTON.EDU>
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Posted-Date: Wed, 14 Oct 1992 20:04:53 PDT
X-Mailer: Mail User's Shell (7.1.1 5/02/90)
Comments: To: sas-l@vtvm2.cc.vt.edu

This is regarding the FORMCHAR to print smoothe lines
in PROC TABULATE when going to any HP printer that can
read HPPCL.

Assign the macro variable thus:

%LET FORMCHAR='B3C4DAC2BFC3C5B4C0C1D9BACD7CC42F5C1B1A01'x;

I apologize for taking so long with my reply.

Sincerely,
Tamara
-------
temporarily in NJ
Tamara@glia.biostr.washington.edu

"Do it in the name of Love" Neil Young
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Newsgroups: bit.listserv.sas-l
Date:         Wed, 7 Oct 1992 07:10:22 -0400
Reply-To:     hhg1@GTE.COM
From:         hhg1@GTE.COM
Subject:      The NESUG 92 Experience -- ZOWIE!!
Comments: To: sas-l%marist.bitnet@cunyvm.cuny.edu

I'd like to thank Craig Dickstein and Marge Scerbo for putting together the
best NESUG conference ever. Highlights included:
   -- A Jim Goodnight Keynote on what is on his HP computer. To see tentative
      but actual release dates for 6.08 (VMS) and 6.09 (UNIX) was refreshing.
   -- An expanded video theatre that was packed.
   -- A new section called Coder's Corner where speakers gave 5 minutes
      talks on various techniques.
   -- A vendor/demo area with SAS on Windows and OS/2.
   -- I'm glad to hear that SI will support Windows NT.
I look forward to Springfield, Mass next year in November!
Hal German (hhg1@gte.com)
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Newsgroups: bit.listserv.sas-l
Date:         Fri, 16 Oct 1992 10:04:50 -0400
Reply-To:     GARTH_THOMAS <DSADGT1@UMDSCXA.BITNET>
From:         GARTH_THOMAS <DSADGT1@UMDSCXA.BITNET>
Subject:      Software search

Is there software, preferably SAS but anything will do, which will
take a numeric amount field and convert it to words; e.g. $543.21 becomes
Five hundred forty three dollars and twenty one cents or
Five hundred forty three and twenty one/100 dollars or ....

A commercial solution is fine but I was rather hoping that perhaps
there was some SAS code lurking about....

Any and all comments or suggestions are welcome.

Garth_Thomas@dsc.umich.edu
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
X-Vmsmail-To: SMTP%"SAS-L@uga.cc.uga.edu"
Newsgroups: bit.listserv.sas-l
Date:         Wed, 7 Oct 1992 15:40:12 -0500
Reply-To:     "(K. C. SEN)" <SENKC@LUB001.LAMAR.EDU>
From:         "(K. C. SEN)" <SENKC@LUB001.LAMAR.EDU>
Subject:      Opposite Sign of Dummy Variable Coefficient
Comments: To: SAS-L@uga.cc.uga.edu

I recently ran some regressions using SAS (Version 6.06). The results
tallied with those on the same sample using JMP, but the sign of the
coefficient of the dummy variable was reversed. Since I'm new to the net,
can anyone tell me what might be causing this?
Thanks
K. C. Sen
From: SENKC@LUB001.LAMAR.EDU ((K. C. SEN))
Newsgroups: bit.listserv.sas-l
Subject: Reversed Sign on Coeff. for Dummy Variable
Date: 15 Oct 92 15:59:47 GMT
Reply-To: "(K. C. SEN)" <SENKC@LUB001.LAMAR.EDU>
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
X-Vmsmail-To: SMTP%"sas-l@uga.cc.uga.edu"
Comments: To: sas-l@uga.cc.uga.edu

From:	SMTP%"POSTMAST@mc.duke.edu" 14-OCT-1992 17:23:58.32
To:	SENKC@LUB001.LAMAR.EDU
CC:
Subj:	Reversed Sign on Coeff. for Dummy Variable

Date: 14 Oct 1992 18:20:35 -0500 (EST)
From: POSTMAST@mc.duke.edu
Subject: Reversed Sign on Coeff. for Dummy Variable
To: SENKC@LUB001.LAMAR.EDU
Message-id: <01GPY5FIMGKI000LCW@mc.duke.edu>
Organization: Duke University Medical Center, Durham NC, USA
X-VMS-To: IN%"SENKC@LUB001.LAMAR.EDU"
MIME-version: 1.0
Content-transfer-encoding: 7BIT

Thanks to all for responding to my query. I went back and found that the
problem was at the JMP end. Incidentally, for the people who asked, I was
comparing the results of a Proc Reg in SAS. The signs of the dummy
variable in the data set was not reversed i.e. it was not a coding error. I
found that within JMP if you declare a dummy variable as a nominal(ly)
scaled variable, the signs get reversed and also there is a slight change
in the values of the intercept term. Declaring the dummy variable as an
intervally scaled variable within JMP produces identical results to the
Proc Reg results in SAS. This can be duplicated with any data set. If
anyone on the net is familiar with JMP, he/she can perhaps come up with
what exactly JMP is doing under the two different declarations.
---- K. C. Sen
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
X-Mailer: ELM [version 2.2 PL16]
Newsgroups: bit.listserv.sas-l
Date:         Thu, 8 Oct 1992 11:42:27 CDT
Reply-To:     "(R. Snyder)" <rsnyder@LOBBY.TI.COM>
From:         "(R. Snyder)" <rsnyder@LOBBY.TI.COM>
Subject:      Re: Cursor Postion in FSEDIT/AF
Comments: To: sean@WUBIOS.WUSTL.EDU
Comments: cc: sas-l@uga.cc.uga.edu
              92 11:07 am

SUBJECT:   Cursor Position, AF
SUMMARY:   Try CURWORD function.
REL/PLTF:  6.07/HP300
E-ADDR:    rsnyder@lobby.ti.com
NAME:      Bob Snyder
COMPANY:   Texas Instruments, Sherman, TX
PHONE:     (903) 868-5799
FAX:       (903) 868-7240
>
> ----------------------------------------------------------------------
> CONTENT:  Question on Cursor Postition in FSEDIT
> REL/PLTF: 6.04/PC-DOS
> E-ADDR:   sean@wubios.wustl.edu
> NAME:     Sean Dyer
> PHONE:    314-362-3612
> ----------------------------------------------------------------------
>
Sean,

The PC AF/SCL Manual lists the CURWORD function which is about the best that
6.04 has to offer. It retruns the word that the cursor is resting on from
the contents of the field. In 6.07 I would use CURFLD to get the name of
the field. You might give it a shot in case it was undocumented in 6.04
( a long shot I'm afraid ).

Good Luck,
Bob
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Newsgroups: bit.listserv.sas-l
Date:         Thu, 8 Oct 1992 12:48:34 CDT
Reply-To:     FOOD0370@MIZZOU1.BITNET
From:         FOOD0370@MIZZOU1.BITNET
Subject:      hi

i would like to join this list; hildegarde heymann, food0370@mizzou1
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU