Re: Read in XML-file via URL1184 (3/3/2010 5:28:17 PM) comp.soft-sys.sas On Wed, 3 Mar 2010 00:17:50 -0800, jshansen wrote:
>I try to read data from the Danish National Bank, via this adress:
>http://212.130.50.152/data/tierliste/tierlistedkk.xml
>It is, as one might guess, an... chang_y_chung
Re: Reading an XML parsed file0116 (3/1/2010 10:13:07 PM) comp.soft-sys.sas On Sat, 27 Feb 2010 09:05:05 -0500, Wendi Wright
wrote:
>I need to read in an XML file that comes all in one string (one line).
The
>current string I am using is currently at length 968,273 and could eas... chang_y_chung
Re: Repeat Steps >1 Data Set044 (2/5/2010 9:13:01 PM) comp.soft-sys.sas On Fri, 5 Feb 2010 15:58:10 -0500, SAS Swamy wrote: >Hello, >Can someone suggest SAS logic for the following >I have a data set , say DataSetA > >I will perform several data steps , which Includes Loop , Sort... chang_y_chung
Re: macro problem #43035 (2/4/2010 3:14:33 PM) comp.soft-sys.sas On Thu, 4 Feb 2010 10:11:02 -0500, Chang Chung wrote: .... >/* chang -- assuming an integral t from a range [0,3] */ Ooops, a mistake. int t from a range [1,4], not from a range [0,3]. ... chang_y_chung
Re: macro problem #42125 (2/4/2010 3:11:02 PM) comp.soft-sys.sas On Wed, 3 Feb 2010 12:17:17 -0800, Tom Abernathy wrote: .... >Next exercise is it to eliminate the macro completely and just code it >using arrays. .... Hi, Chris, Here is one way. HTH. Cheers, Chang /* test... chang_y_chung
Re: Why I cann't use %local like this? #7044 (1/15/2010 8:36:54 PM) comp.soft-sys.sas On Fri, 15 Jan 2010 14:19:24 +0800, jiyuan123 wrote: ... >%macro t1; > a >%mend; >%macro t2; > %local %t1; > %put _local_; >%mend; >options mprint mlogic symbolgen; >%t2; > >why I cann't get macro loca... chang_y_chung
Re: Macro question #111028 (1/13/2010 7:44:04 PM) comp.soft-sys.sas On Wed, 13 Jan 2010 12:53:46 -0600, Masoud Pajoh wrote: >All: >The following is a fragment of a much larger macro. > >%macro test( StartDate, EndDate); > %let EndDate=%sysfunc(intnx('month',"&EndDate."... chang_y_chung
Re: Issue with %let0185 (1/7/2010 3:56:09 PM) comp.soft-sys.sas On Wed, 6 Jan 2010 16:46:24 -0500, Ian Whitlock wrote:
....
>Indirection such as
>
> %let macvar - modelvars ;
> %let &macvar = x y z ;
> %put &&&macvar ;
>
>can be very useful and is an imp... chang_y_chung
Re: Evaluate character macro variable1204 (12/16/2009 4:17:09 PM) comp.soft-sys.sas On Wed, 16 Dec 2009 04:32:28 -0800, =?ISO-8859-1?B?Suly9G1l?=
wrote:
>Hi,
>I would like to know how to evaluate a macro variable and store it
>into another variable.
>
>Example :
>
>%macro REF_CLIENT... chang_y_chung
Re: Undesirable output in SAS 9.2065 (12/16/2009 2:45:18 PM) comp.soft-sys.sas On Tue, 15 Dec 2009 15:44:51 -0800, GNV Resident wrote: >Hello. > >Now I am typing and running all the examples from the book 'SAS >Advanced Programming in SAS 9'. >Just now I got the very strange output from... chang_y_chung
Complex permutation135 (6/25/2008 11:00:16 AM) comp.soft-sys.sas SK PRODUCT_OWNED PRODUCT_OWNERSHIP TOT_VAL_SEGMENT1 TOT_VAL_SEGMENT2 TOT_VAL_SEGMENT3 ACCT_LEVEL_STATUS ACCOUNT_TYPE 1 1 A HV HV HV C CONSUMER 2 1 B HV LV MV H CORPORATE 3 4 ABCD HV M... sickpurple(8)
any format to read date stored in character?333 (6/25/2008 3:10:28 PM) comp.soft-sys.sas Hello folks, Some of the date related variables in our datasets are stored as character value. Is there any easy way to read them in and store as normal SAS date value? The following is the normal process we a... zhuxuhong2000(29)
Data extraction146 (8/21/2008 12:09:30 AM) comp.soft-sys.sas Hello: When we extract data from big datasets where we have thousands, millions of records, it takes pretty long time to get the data. It ranges from few hours and sometimes we have run program through out the... raan67(117)
ASCII to SAS329 (12/11/2008 7:05:55 PM) comp.soft-sys.sas Hi I have the following data in ASCII file .. can anyone help me transfer in to a SAS dataset please Thanks in advance STUDY|PID|PINIT|SEX|DOB|VISIT|COL DATE|COL TIME|ACCESSION|PANELCODE| TESTCODE... ali6058(166)
A paper for both SGF and regional SUGI ?243 (5/6/2009 6:44:58 PM) comp.soft-sys.sas Hi there, I'm working on a paper, I would like to submit to SGF, but it is almost a year away for next SGF. I wonder If it's OK to submit it to a regional SUGI first, then later submit to SGF? Thanks Ya ... ya.huang(1962)
Alphabet function342 (6/22/2009 9:04:19 PM) comp.soft-sys.sas Is there a function that translates the (English) alphabet into the order of the letters, i.e., a=1, b=2, c=3, etc? thanks, Kristin Graves ... gravesk(11)
Can I use proc in data step?1072 (8/12/2009 2:22:16 PM) comp.soft-sys.sas Is it possible to use proc procedures in the middle of data step? The procedures can be proc means or any other procedures. I am not going to make any print output other than saveing output sas files for ... yschoikd(4)
Undesirable output in SAS 9.22140 (12/15/2009 11:44:51 PM) comp.soft-sys.sas Hello.
Now I am typing and running all the examples from the book 'SAS
Advanced Programming in SAS 9'.
Just now I got the very strange output from the SAS code in page 331.
If everything is fine, I have t... GNV