f



Re: urgent : Convert SAS array in to sas variables #2

On Sat, 3 May 2008 23:34:44 -0700, Shailesh <shailesh.tewari@GMAIL.COM> wrote:

>In my dataset I have an array variable , say A which has values like
>Observation 1 - A[1]= 23 ,A[2]=34, A[3]=45
>Observation 2 - A[11]= 23 ,A[12]=34, A[13]=45
>
>I want to create sas variables which should have name A61, A62 , A63,
>A64 ..........
>Similarly for second observation these would be           A71, A72,
>A73 , A74.........
>
>
>in the same datastep.
>
>Any help ?
>
>Regards,
>Shailesh

Arrays are DATA *step* structures. They do not exists in data *sets*. Please
post an example showing the data set you have and what you need (or think
you need).
0
hs
5/5/2008 8:05:35 PM
comp.soft-sys.sas 142827 articles. 4 followers. Post Follow

0 Replies
1024 Views

Similar Articles

[PageSpeed] 58

Reply: