Date: Fri, 6 Apr 2012 13:16:53 -0500
Reply-To: Arthur Pashi <artpshhealth@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Arthur Pashi <artpshhealth@HOTMAIL.COM>
Subject: Re: LIST statement, was: RE: Ruler
In-Reply-To: <201204061635.q36F2Wog008067@waikiki.cc.uga.edu>
Content-Type: text/plain; charset="iso-8859-1"
Mark K, Mark T, and Tom,
Thank you all for your prompt assistance. There are those days when you don't remember your routines! Indeed it has been 4 years since I moved from UNIX to PC SAS platform.
Happy Easter!
Art. P.
> From: Mterjeson@russell.com
> To: artpshhealth@HOTMAIL.COM; SAS-L@LISTSERV.UGA.EDU
> Date: Fri, 6 Apr 2012 09:43:43 -0700
> Subject: RE: ruler
>
> Hi Art,
>
> For worst case scenario in ISPF or UnixPGM
> you can always copy and paste a couple lines
> around your edit window as needed.
>
> *000000001111111111222222222233333333334444444444555555555566666666667;
> *234567890123456789012345678901234567890123456789012345678901234567890;
>
> aa1a63101 8975555520120405 . st. 99
>
> Hope this is helpful.
>
> Mark Terjeson
> Investment Business Intelligence
> Investment Management & Research
> Russell Investments
> 206-505-2367
> Date: Fri, 6 Apr 2012 12:35:46 -0400
> From: tom.abernathy@GMAIL.COM
> Subject: Re: LIST statement, was: RE:
> To: SAS-L@LISTSERV.UGA.EDU
>
> Use the COLS statement.
> You can also type COLS in the number area to the left of the lines. (Use the
> NUMS command to turn on the number area).
>
> On Fri, 6 Apr 2012 16:26:42 +0000, Keintz, H. Mark
> <mkeintz@WHARTON.UPENN.EDU> wrote:
>
> >I have long been an admirer of the LIST statement, and here's why (look at
> the log and you will see a very handy scale).
> >
> >data _null_;
> > input;
> > list;
> > stop;
> >datalines;
> >aa1a63101 8975555520120405 . st. 99
> >run;
> >
> >regards,
> >Mark
> >
> >-----Original Message-----
> >From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Arthur
> Pashi
> >Sent: Friday, April 06, 2012 12:16 PM
> >To: SAS-L@LISTSERV.UGA.EDU
> >Subject:
> >
> >I have a variable named 'statadq' with a length, say, 250. statadq has
> information that looks like this:
> >
> >aa1a63101 8975555520120405 . st. 99
> >
> >Is there a way in SAS Unix Windows Editor to determine the position
> (column) of each character or number? From my naked eye and knowledge of the
> data, I can tell that 63101 is a zipcode and there is the last 8 digits are
> a date.
> >
> >Seeking your help,
> >
> >Art.
|