HDTenEightyP/NetNews huggingface dataset:
Via: uk.ac.leicester; Thu, 20 Aug 1992 09:56:26 +0100
Newsgroups: bit.listserv.sas-l
Date:         Thu, 20 Aug 1992 09:56:00 GMT
Reply-To:     Mail_System@LEICESTER.AC.UK
From:         Mail_System@LEICESTER.AC.UK
Subject:      %% Undelivered Mail %%
Comments: To: SAS-L <SAS-L@VTVM2.CC.VT.EDU>

Your mail was not delivered as follows:
Error reason: failed to make connection, entry deleted

Filename and information:

LEIC_WORD:[NETMGR]CBS_0095F5790B71.MAI;1

Your original mail header and message follow.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Via: UK.AC.NSFNET-RELAY; Wed, 19 Aug 92  18:52 GMT
Received: from vtvm2.cc.vt.edu by sun3.nsfnet-relay.ac.uk with Internet SMTP
          id <sg.02696-0@sun3.nsfnet-relay.ac.uk>;
          Wed, 19 Aug 1992 18:24:42 +0100
Received: from vtvm2.cc.vt.edu by VTVM2.CC.VT.EDU (IBM VM SMTP V2R2) with BSMTP
          id 8324; Wed, 19 Aug 92 13:23:49 EDT
Received: from VTVM2.BITNET by vtvm2.cc.vt.edu (Mailer R2.08 R208002)
          with BSMTP id 1311; Wed, 19 Aug 92 13:23:39 EDT
Date: Wed, 19 Aug 1992 12:10:28 -0500
Reply-To: Kernon Gibes <gibes@COM.MONSANTO.SWIRL>
Original-Sender: "SAS(r) Discussion" <SAS-L@EDU.VT.CC.VTVM2>
From: Kernon Gibes <gibes@COM.MONSANTO.SWIRL>
Subject: RE: SAS functions
Comments: To: SAS-L@uga.cc.uga.edu@tin.monsanto.com
Comments: cc: GIBES@tin.monsanto.com
To: Multiple recipients of list SAS-L <SAS-L@EDU.VT.CC.VTVM2>

 CONTENT:   Response (to "going back in time")
 SUMMARY:   Try SAS function INTNX
 REL/PLTF:  6.07/ VMS
 E-ADDR:    gibes@swirl.monsanto.com
 NAME:      Kernon Gibes
 DATE:      19 August 1992

 Someone asked:

>I am using SAS functions, MOD and ABS. I don't get a right value.
>I am trying to go to previous year based on the value in MO variable
>Here is an example:
<stuff deleted ---but copied below--->

>The value of tst2mo should be equal to NOV (11) and the value of tst2yr
>should be equal to 75.  In another word, I am trying to subtract no. of months
>reported in "mo" variable from tst1mo tst1yr variables to go back in time.
>So if my first test date (tst1mo tst1yr) is JANUARY 1977 and I subtract (mo)
>15 months from it I should get (tst2mo tst2yr) NOVEMBER 1975.
<stuff deleted>

 It seems to me that Jan '77 minus 15 months would give you Oct '75.  If
 so, instead of your code, you might use the SAS function INTNX as
 illustrated below:

   data one;
     mo = 15;
     tst1mo = 1;
     tst1yr = 77;
     tempmo = mod(mo,12);
     tst2mo = abs(tst1mo - tempmo);
     tempyr = int(mo/12);
     tst2yr = tst1yr - tempyr;
     tst2_dt = mdy(tst2mo,01,tst2yr);
     put 'Original:  ' tst2_dt= date7.;
   /*** replace MOD, ABS, etc., with INTNX ***/
     date1 = mdy( tst1mo,01,tst1yr);
     back = intnx( 'month', date1, -mo );
     put 'Corrected: ' back= date7.;

   stop;
   run;

Original:  TST2_DT=01FEB76
Corrected: BACK=01OCT75

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
End of returned mail
Organization: University of Louisville
Date: Wednesday, 12 Aug 1992 08:38:36 EDT
From: David Ehresman <DEEHRE01@ULKYVM.BITNET>
Newsgroups: bit.listserv.sas-l
Subject: Re: Reply regarding 3390 Support in Version 5

In article <SAS-L%92080513470534@UGA.CC.UGA.EDU>, <MPERRY@ALBM1> says:
>
>I consulted with our system staff before posting my note and am certain
>that they applied no special ZAPs before employing the 3390 DASD under
>VM/CMS.  Perhaps we should have and a potential problem is waiting
>for the right conditions to trigger a blow-up.  Thanks to Deb's note I
>plan to find out if we should have applied a ZAP.

It IS true that 5.18 needs zap(s) to support 3390.  It IS also true
that you can put data sets on 3390s without the zap(s).  And it IS
most definitely true that this can lead to problems.  I strongly
recommend you have your system staff get the zap(s) from SI and
get them applied.  Also have them ask SI if/how your current 3390
data sets are salvageable.

Sincerely,
The Painful Voice of Experience
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Newsgroups: bit.listserv.sas-l
Date:         Wed, 19 Aug 1992 12:14:46 PDT
Reply-To:     annfow <afowler@CCLINK.FHCRC.ORG>
From:         annfow <afowler@CCLINK.FHCRC.ORG>
Subject:      subsetting data sets

          Thanks to Howard S. & Linda N for your quick reply to my
          problem.  Using PROC SUMMARY with MIN, MAX & RANGE options
          and a few IF statements did the trick.  It certainly wasn't
          as difficult as I thought it would be.  Thanks again!
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Newsgroups: bit.listserv.sas-l
Date:         Thu, 20 Aug 1992 17:53:10 -1100
Reply-To:     "Brian Platts kgispy.ccsd.uts.edu.au" <B.Platts@KGI.UTS.EDU.AU>
From:         "Brian Platts kgispy.ccsd.uts.edu.au" <B.Platts@KGI.UTS.EDU.AU>
Subject:      Factor Analysis
Comments: To: SAS-L%AWIIMC12.BITNET@cunyvm.cuny.edu

Hello List,
I am trying to run factor analysis on SAS 6.06. Can someone please
tell me how I can force it to include missing values? I know SPSSX can
do it but I'm new to SAS and I can't find the right command.
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
X-Envelope-to: sas-l@uga.BITNET
X-VMS-To: SASL
X-VMS-Cc: AZPAB
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Newsgroups: bit.listserv.sas-l
Date:         Mon, 17 Aug 1992 20:34:45 -0700
Reply-To:     "Patrick Brooks" <AZPAB@ASUACVAX.BITNET>
From:         "Patrick Brooks" <AZPAB@ASUACVAX.BITNET>
Subject:      Help with Assist - Again :-)

I am having trouble with PC/SAS and the Assist package.  Below
is a decription of the problem:

The computer is a Dell 386-33MHz machine, running DOS 5.0.
I am not sure how the memory, or how much memory there is.
I believe he is using V6.04 of PC/SAS.

1. We startup SAS by typing ASSIST at the dos prompt.
2. Select Procedures from the main menu.
3. Statistics at the COMMAND==> prompt.
4. Type REGRESSION at the COMMAND==> prompt.
5. Fill out the regression form and then type SUBMIT at the
   COMMAND==> prompt.
6. The screen changes to the three program manager windows
   and runs the regression.
7. We view the output.
8. Typeing AF at the COMMAND==> promt returns us to the
   top level ASSIST menu.

Is there a way to return to the regression form?

I use SAS on a VAX and have programming it for quite sometime.  I am
not used to these new fangled interfaces 8-] .

Thanks in advance

Pat

-----------------------------------------------------------------------
Patrick Brooks                     | Of making many books there is no
Bitnet:   AZPAB.ASUACVAX           | end, and much study is a weariness
Internet: AZPAB.ACVAX.INRE.ASU.EDU | of the flesh.
                                   |   -Qoheleth
-----------------------------------------------------------------------
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Original_To:  BITNET%"sas-l@uga"
Newsgroups: bit.listserv.sas-l
Date:         Thu, 13 Aug 1992 09:59:00 EDT
Reply-To:     XIC@UTKVX.BITNET
From:         XIC@UTKVX.BITNET
Subject:      Data type conversion

I am trying to convert some character variables to numerical variables in a
SAS program.  I know it is not hard, but I am lost in the SAS manual.  Can
some one send me the name of the corresponding SAS function?  Thank you
in advance, and sorry for this homework question.
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
X-Organization: from SUNY College at Oneonta, NY 13820
X-Envelope-to: sas-l@uga.BITNET
X-VMS-To: IN%"sas-l@uga"
X-VMS-Cc: STROTHHM
Newsgroups: bit.listserv.sas-l
Date:         Thu, 20 Aug 1992 16:00:00 EDT
Reply-To:     Helen Strother <STROTHHM@SNYONEVA.BITNET>
From:         Helen Strother <STROTHHM@SNYONEVA.BITNET>
Subject:      Macro Quoting Horrors

Hi all,
   I am having my first experience with macro quoting and as you can tell by
the subject line, it has not been pleasant.  I RTFM and I'm still totally
confused.  What I am trying to do is allow users to recode variables in a SAS
data set.  By the way I'm using SAS 6.07 under VMS.  Anyway, the user supplies
the variables to recode and through a series of windows, supply what to recode
them to.
  Everything works fine until I try to
generate the if statements.  Here is part of the macro:

/* B is set to 1 for the substr function */;
                    %let b=1;
/* do from 1 to the number of possible ans. to the var */;
                 %do d = 1 %to &a;
/* extract the ans from the string of possible answers */;
                      %let ans=%substr(&pans,&b,3);
                      %window recode&c
                             #5 @5 "Enter recode values for var&&reco&c"
                             #10 @15 "If var&&reco&c = &ans then var&&reco&c ="
                                       recovar1 4 attr=highlight;
                      %display recode&c blank;

!!!!!!!!!!!!!!!!!!!!!  HERE'S WHERE THE TROUBLE BEGINS !!!!!!!!!!!!!!!!!!!!!!
                      %if &a=1 %then
                           %let ifstat&a=
                           %nrquote(%if var&&reco&a=&ans %then
                                 var&&reco&a=&recovar1;);
                      %else %let ifstat&a=
                      %str(&&ifsta&a)||%nrquote(%else %if var&&reco&a=&ans
                            %then var&&reco&a=&recovar1;);
/* add 3 to b to advance to next answer */;
                      %Let b=%eval(&b+3);
                 %end;

        Everything works fine until I try to generate the IF statements.  What
I would like to happen is the following:

        Var0007  possible values 001 002 003 005 009
                 recoded values  002 003 004 008 001

In this case, when a=1(&ans will equal the first possible answer 001), ifstat&a
should resolve to:

     %if var0007=001 %then var0007=002;

The second time it goes through the loop, I want to concantenate the %else to
the original %if to get:

     %if var0007=001 %then var0007=002;
     %else %if var007=002 %then var0007=003;

and so on until I get through all the recodes.  My problem is I can't get
&ifstat to resolve correctly.  I've tried all combinations of %str, %nrstr,
%quote, %bquote etc. but nothing seems to work.  Can some macro quoting guru
out there give me some advice?  Am I going at this in totally the wrong way?
As always, thanks in advance.  Hopefully, I was clear enough about the problem.

                Helen Strother STROTHHM@SNYONEVA
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Newsgroups: bit.listserv.sas-l
Date:         Wed, 12 Aug 1992 12:19:19 -0400
Reply-To:     "Paul A. Thompson" <pat@po.CWRU.Edu>
From:         "Paul A. Thompson" <pat@PO.CWRU.EDU>
Subject:      Re: Macro variable naming conventions
Comments: To: 76350.1604@COMPUSERVE.COM
Comments: cc: sas-l@vtvm2.cc.vt.edu

>
>----------------------------------------------------------------------
>CONTENT:   Opinion
>SUMMARY:   Macro variable name style
>           I disagree with leading underscore convention
>REL/PLTF:  6.07.01/CMS, 6.04/PC-DOS
>E-ADDR:    76350.1604@compuserve.com
>NAME:      Andy Norton
>ADDRESS:   Trilogy Consulting, 5228 Lovers Lane, Kalamazoo MI 49002
>PHONE:     (616) 344-2191
>----------------------------------------------------------------------
>
>In the course of responding to John McAnally's question about printing
>the value of a variable in a title statement, Ray Pass says
>
>> A few respected SAS stylists recommend somehow tagging macro vars to
>> differentiate them from dataset vars, like starting them with an
>> underscore.  I concur.

I firmly concur with this opinion.  I enforce it rigorously in my center.

>
>Why?  Macro variables are a different set of names from dataset
>variables.  Macro references are distinguished by ampersands in front
>    &MACVAR
>or by their position in functions:
>    CALL SYMPUT ('MACVAR', 'VALUE')
>
>Using additional symbols
>  1.  clutters the code,
>  2.  restricts the names that can be used as macro variables,
>  3.  makes it impossible to deliberately match macro and dataset
>      variable names, as in
Which only leaves you wondering "Why would you want to?"

>         data _null_;
>           if 0 then set nobs=NOBS;
>           call symput ('NOBS', NOBS);
>         run;

>  4.  hinders learning by encouraging students of SAS to think that
>      the DATA-step compiler and the MACRO compiler are more closely
>      linked than they really are.
>
>                            (signed)
>                                A dissident SAS stylist
But this is in fact the problem of not showing a difference in the names.
Macro variables and datastep variables
are not at all the same.  There are links, but not very direct ones.
How many times have I seen the following
%if (vara = "12") %then %do;
where vara is a datastep variable?  (BTW, this doesn't do what you expect
it to!!)  I believe that a firm separation in macro variable names and
other variable names promotes fewer errors.

                                   A full-gospel sas stylist

--
Paul Thompson, Ph.D.  |  Department of Psychiatry  |  (216) 844-7463
Case Western Reserve University  | Cleveland, OH  44106
------------------------------------------------------------------------------
If marriage is outlawed, only outlaws will have inlaws.
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
X-VMS-To: SASL
Newsgroups: bit.listserv.sas-l
Date:         Mon, 17 Aug 1992 15:46:00 GMT
Reply-To:     "John D. Smith, Info Resrc Mgmt,
              U Colo (303) 492-9473" <SMITH_JD@WIZARD.COLORADO.EDU>
From:         "John D. Smith, Info Resrc Mgmt,
              U Colo (303) 492-9473" <SMITH_JD@WIZARD.COLORADO.EDU>
Subject:      Query re ASI2, a SAS / IDMS interface product

Does anybody out there have experience with ASI2 a SAS / IDMS interface sold by
International Software, 74 Gerrard St. E, Suite 300, Toronto Canada M5B 1G6
phone (416) 593-5578 and originally produced by AIM Software International
PTY.LTD. from Australia?

It has quite a different philosophy from SAS Institute's SAS/Access.  My
recollection is that it sells for around $7,500.  The vendor claims that it's
ready to go with Version 6.07 on MVS systems.  I'm looking for any reports on
experience, positive or negative.  Or comments or concerns about this approach
to giving access to IDMS databases.  I'm interested in issues like:

  ease of use
  performance
  reliability
  ssecurity concerns

Here are comments that I've gathered from a couple of folks here at the
University of Colorado, based on inspection of the ASI2 Users Guide, Version
6.1 Final:
-------------
From what we understand of the manual, it looks good to us.  We would
want the capability to easily go from SIS flat files to the database, and
it appears that can be done by creating a dataset of DBkeys or calckeys.

-------------
Here are my impressions from reading the ASI2 users guide.

The ASI2 SAS/IDMS interface software is simply a DATA step that will
retrieve data from an IDMS database and create a SAS dataset.

The commands available allow all types of retrieval methods - area
sweeps, by index, or by a tickler file of calc values.  A path of
records can be specified to walk through connected records in the
database, however I could see no provision for a path with branches.
(For example, the student record owns a bio/demo record, and an address
record.)

The commands used in an ASI2 proc are very similar to those used in
Easytrieve's automatic retrieval statement.  Easytrieve also allows
manual retrieval of records, needed when a branch is reached.

No matter which language is used, you must know the structure of the
IDMS database.  Once you learn IDMS, you can extract the data with
ASI2, Easytrieve, or even Cobol.

ASI2 looks like a nice SAS interface to IDMS - data can come in from a
SAS dataset, be used by ASI2 to retrieve IDMS information, and be
written back out as a SAS dataset.
---------------

If I get comments back, I'll summarize to the list.

Thanks!

John D. Smith, Director, Office of Information Resource Management
Campus Box 50, University of Colorado
4780 Pearl East Circle                   smith_jd@ums.colorado.edu
Boulder, CO  80309-0050                             (303) 492-9473
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Newsgroups: bit.listserv.sas-l
Date:         Tue, 18 Aug 1992 15:15:15 PDT
Reply-To:     Melvin Klassen <KLASSEN@UVVM.BITNET>
Comments:     Warning -- original Sender: tag was NETNEWS@UVVM.UVIC.CA
From:         Melvin Klassen <KLASSEN@UVVM.BITNET>
Subject:      Re: Using SAS 6.07 to write data sets with diff. engines

"815 John McAnally 753-1804 Academic Computing Services Northern Illinois
     Unversity [sic] DeKalb, IL 60115 USA" <A10JMM1@NIU> wrote:
>>I had a strange thing happen converting a SAS data set to an SPSS dataset
>>on tape in MVS using SAS 6.07. I went through the usual steps,
>>converted the SAS 6.07 data set to a SAS ver 5 data set using the V5SEQ
>>engine then used SPSS to read in the SAS v5SEQ file.  This procedure has been
>>done many times in the past w/ SAS 6.06.  The problem was that SPSS v4.1
>>(which we have been using since April 1991) would no longer read in a SAS
>>ver 5 file.  (The error message was "Unable to open file.")

and Francine Cannarozzi <U58664@UICVM> responded:
>This has always been the case at my VM/CMS site.  The problem is in SPSS v4.1.
>My site uses SAS v6.07 and SPSS v4.1 on CMS.

In the VM/CMS environment, with the help of one small "trick",
I have been able to convince SPSS Release 4.1 to read the datasets
which are created by the V5SEQ engine in Release 6.06 of SAS.

For example, run this SAS program.
     DATA RAW;
      X=1234; Y=5678; C='FIRST OBSERVATION'; OUTPUT;
      X=-1;   Y=-2;   C='LAST OBSERVATION';  OUTPUT;
      STOP; RUN;
     LIBNAME TAPEV5  V5SEQ;
     DATA    TAPEV5.MEMBER; SET RAW; RUN;

This creates the CMS file 'SASTAPE TAPEV5 A1'.
Notice that the CMS filename does **not** match the SAS member-name!

The trick (which circumvents a restriction in Release 4.1 of SPSS):
enter 'RENAME SASTAPE TAPEV5 A = = A4'.

Run the following SPSS program:
     FILE HANDLE  TAPE/NAME='SASTAPE TAPEV5 A'
     GET SAS DATA=TAPE.MEMBER
     FINISH
Notice that the file-handle gives the actual CMS filename,
while the GET SAS command references the SAS member-name.
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Newsgroups: bit.listserv.sas-l
Date:         Wed, 19 Aug 1992 13:20:00 CDT
Reply-To:     IMAD.GHANDOUR@MAIL.ADMIN.WISC.EDU
From:         IMAD.GHANDOUR@MAIL.ADMIN.WISC.EDU
Subject:      Legend in SAS/GRAPH
Comments: To: sas-l@ohstvma.acs.ohio-state.edu

to: sas-l@ohstvma.acs.ohio-state.edu

Platfotm: IBM MVS
Product : SAS/GRAPH
From : Imad Ghandour
Contact : imad.ghandour@mail.admin.wisc.edu

I am trying to customize the legend when using PROC GPLOT so that
instead of the standard numerical legend I will have some
meaningful text. The following code is used:

PROC GPLOT DATA=FINAL;
BY GROUP;
PLOT MBYTES * DATE = CAT / CAXIS=MDBLACK CTEXT=MDBLACK;
SYMBOL1 I=JOIN C=LTBLACK V=NONE W=2;
SYMBOL2 I=SPLINE C=MDBLACK V=NONE W=2;
SYMBOL3 I=RLCLM CV=MBBLACK CO=LTBLACK V=NONE;
LEGEND LABEL=NONE VALUE=(T=1 'ACTUAL' T=2 'SMOOTHED' T=3 'LIN.REG.');
TITLE1 'HISTORICAL DASD INFORMATION';

The legend part is not working. Instead of having the customized
legend entry labels, I am getting numbers. Anyone has any idea what
I am doing wrong ?????


Imad Ghandour
University of Wisconsin - Madison
From: russell@ccu1.aukuni.ac.nz (Russell Fulton)
Newsgroups: bit.listserv.sas-l
Subject: Re: CALIS TEST EXAMPLES
Date: 13 Aug 92 22:11:38 GMT
Organization: University of Auckland, New Zealand.

scott@mickey.acs.wmich.edu (Julie Scott) writes:

>In article <SAS-L%92081211415865@VTVM2.BITNET>  writes:
>> Dear net-folks,
>>     In Appendix B of the SAS document, THE CALIS PROCEDURE:
>>  EXTENDED USER"S GUIDE,  it lists a number of test examples
>>  for which someone has already typed in all of the input code.
>>  As I am teaching a course in Structural Modeling in the Fall of
>>  1993, I thought my work load would be redcued if I could get a hold
>>  of these test example files.  The manual suggests that these are
>>  in the master directory of SAS institute.
>>      Could someone please kindly inform me as to how I might get my
>>  hands on these?
>>                         Thanks in Advance,
>> 
>>                                Robert Terry
>>                                Dept. of Psychology
>>                                Social and Health Sciences
>>                                Duke University
>>                                Durham, NC 27708

>All these programs are shipped with the software.  Your site SAS  
>consultant or software representative should be able to help you find them  
>on your system.  On a VAX/VMS they are located in an area called 

These are *not* the examples referred to in the manual.

The ones refferred to in the manual are now on ftp.sas.com where I got
them a couple of weeks ago. Sorry I can't remember the directory, it
was something like techsupport/samples...

Cheers, Russell.


-- 
Russell Fulton, Computer Center, University of Auckland, New Zealand.
<rj_fulton@aukuni.ac.nz>
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Newsgroups: bit.listserv.sas-l
Date:         Thu, 20 Aug 1992 14:24:11 EDT
Reply-To:     Howard Schreier <HIS@NIHCU.BITNET>
From:         Howard Schreier <HIS@NIHCU.BITNET>
Subject: Re: Subsetting data set

CONTENT:  Response
SUMMARY:  Check proximity to MIN and MAX dates
REL/PLTF:

> I was given a data file (ascii) that contains both baseline
> values and 1-yr follow-up values.  Each respondent has
> multiple records of the same variables except for the date.
> The only thing that distinguishes between the baseline
> records and follow-up records is that they are about a year
> apart.  Is there an easy way to separate the baseline data
> from the one year data?  The problem is that there are no
> fixed no. of records for each respondent.  Some have 2
> records at baseline and 4 at follow-up, 4 at baseline and
> none at follow-up, 3 at baseline and 2 at follow-up, etc.
> There is also no specific cut-off date for baseline, ie. the
> dates overlap.  Below is an eg.:
>
> ID     DATE    VAR1  VAR1  VAR3........
> 101    8/10/90  1     2     3
> 101    8/11/90  2     2     1
> 101    8/12/90  1     1     2
> 102    5/1/91   1     1     3
> 102    5/3/91   2     3     3
> 103    8/5/91   3     3     1
> 103    8/7/91   1     1     1
> 101    8/4/91   3     3     2
> 101    8/5/91   2     2     3
> 103    8/1/92   1     1     1
> 107    10/1/90  1     2     2
> 107    10/3/90  2     3     1
> 102    4/29/92  3     2     1
> 102    4/30/92  2     2     2
> 104    6/23/90  3     3     3
> 104    6/24/90  3     1     2
> 104    6/26/90  1     2     3

Read everything into a SAS data set (use a date informat for
DATE  and  also  declare  a  DATE  format for it).  Use PROC
SUMMARY to get MIN, MAX, and RANGE for DATE,  for  each  ID,
and  MERGE these back with original data.  Construct some IF
tests to assign observations to baseline and  follow-up.   I
would  also  check  for irregular cases (RANGE statistic not
close to 365, DATE values not close to  either  MIN  or  MAX
statistic).

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\   Howard Schreier, U.S. Dept. of Commerce, Washington    /
/                     MVS 5.18 & 6.07                      \
\   Voice: (202) 377-4180        BITNET: HIS@NIHCU         /
/   Fax:   (202) 377-4614      INTERNET: HIS@CU.NIH.GOV    \
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
X-Envelope-to: sas-l@uga.BITNET
X-VMS-To: SASL
X-VMS-Cc: AZPAB
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Newsgroups: bit.listserv.sas-l
Date:         Mon, 17 Aug 1992 20:50:07 -0700
Reply-To:     "Patrick Brooks" <AZPAB@ASUACVAX.BITNET>
From:         "Patrick Brooks" <AZPAB@ASUACVAX.BITNET>
Subject:      Help with Assist - oops

I want to apologize for what may appear to be and impatient note.
I am new to this kind of communication format.  I appreciate your
help!

Thanks in advance

Pat
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU