Date: Tue, 8 Aug 2000 20:50:56 GMT
Reply-To: "John M. Wildenthal" <jmwildenthal@MY-DEJA.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "John M. Wildenthal" <jmwildenthal@MY-DEJA.COM>
Organization: Deja.com - Before you buy.
Subject: Re: SYMPUT?
In article <001701c00167$8c9f8e20$7980a8c0@tpolace>,
Terry J Kohls <tjkohls@VPICORP.COM> wrote:
I don't know about the SPEC function, but the TITLE statements needed
some work. I've fixed them below in the first section...
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_0014_01C0013D.A35D2FC0
> Content-Type: text/plain;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> Hello,
> I am trying to use symput to put a variable into a function. Is this
=
> possible? HOW?
> The function I am refering to is SPEC and the symputs are 'lsl' and =
> 'usl'
>
> EXAMPLE:
> data cp3; set cp2;
> CALL SYMPUT('targauge', targauge);
> CALL SYMPUT('vpi_ptno', vpi_ptno);
> CALL SYMPUT('lsl',lsl);
> CALL SYMPUT('usl',usl):
> run;
> proc sort; by line_no;
> title1 'Capability Study on data from 01june2000 to 31july2000';
> title2 "Includes data from line &line_no for OPACITY - HIPS FORMING
> GRADE";
> title3 "GAUGE &TARGAUGE";
> title4 "ITEM# &VPI_PTNO";
> proc capability normaltest;
> spec lsl=3D&lsl usl=3D&usl;
> var opacity;
> run;
>
> Thanks in advance,
>
> Terry Kohls
>
> ------=_NextPart_000_0014_01C0013D.A35D2FC0
> Content-Type: text/html;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
> <HTML>
> <HEAD>
>
> <META content=3Dtext/html;charset=3Diso-8859-1 =
> http-equiv=3DContent-Type>
> <META content=3D'"MSHTML 4.72.3612.1706"' name=3DGENERATOR>
> </HEAD>
> <BODY bgColor=3D#ffffff>
> <DIV><FONT size=3D2>Hello,</FONT></DIV>
> <DIV><FONT size=3D2>I am trying to use symput to put a variable into
a=20
> function. Is this possible? HOW?</FONT></DIV>
> <DIV><FONT size=3D2>The function I am refering to is SPEC and the =
> symputs are=20
> 'lsl' and 'usl'</FONT></DIV>
> <DIV><FONT size=3D2></FONT> </DIV>
> <DIV><FONT size=3D2>EXAMPLE:</FONT></DIV>
> <DIV>
> <DIV><FONT color=3D#000000 size=3D2>data cp3; set cp2;</FONT></DIV>
> <DIV><FONT color=3D#000000 size=3D2>CALL SYMPUT('targauge', =
> targauge);</FONT></DIV>
> <DIV><FONT color=3D#000000 size=3D2>CALL SYMPUT('vpi_ptno', =
> vpi_ptno);</FONT></DIV>
> <DIV><FONT size=3D2><FONT color=3D#ff0000>CALL =
> SYMPUT('lsl',lsl);</FONT></FONT><FONT=20
> color=3D#ff0000></FONT></DIV>
> <DIV><FONT color=3D#000000 size=3D2><FONT color=3D#ff0000>CALL=20
> SYMPUT('usl',usl):</FONT></FONT></DIV>
> <DIV><FONT color=3D#000000 size=3D2>run;</FONT></DIV>
> <DIV><FONT color=3D#000000 size=3D2>proc sort; by
line_no;</FONT></DIV>
> <DIV><FONT color=3D#000000 size=3D2>title1 'Capability Study on data =
> from 01june2000=20
> to 31july2000';</FONT></DIV>
> <DIV><FONT color=3D#000000 size=3D2>title2 'Includes data from line' =
> &line_no=20
> 'for OPACITY - HIPS FORMING GRADE';</FONT></DIV>
> <DIV><FONT color=3D#000000 size=3D2>title3 'GAUGE' =
> &TARGAUGE;</FONT></DIV>
> <DIV><FONT color=3D#000000 size=3D2>title4 'ITEM#' =
> &VPI_PTNO;</FONT></DIV>
> <DIV><FONT color=3D#000000 size=3D2><FONT color=3D#ff0000>proc =
> capability=20
> normaltest;</FONT></FONT></DIV>
> <DIV><FONT color=3D#000000 size=3D2><FONT color=3D#ff0000>spec =
> lsl=3D&lsl=20
> usl=3D&usl;</FONT></FONT></DIV>
> <DIV><FONT color=3D#000000 size=3D2>var opacity;</FONT></DIV>
> <DIV><FONT color=3D#000000 size=3D2>run;</FONT></DIV>
> <DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
> <DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
> <DIV><FONT color=3D#000000 size=3D2>Thanks in advance,</FONT></DIV>
> <DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
> <DIV><FONT color=3D#000000 size=3D2>Terry =
> Kohls</FONT></DIV></DIV></BODY></HTML>
>
> ------=_NextPart_000_0014_01C0013D.A35D2FC0--
>
Sent via Deja.com http://www.deja.com/
Before you buy.
|