> %pmdata
=========================================================================
Date: Thu, 20 Feb 2003 23:29:57 -0500
Reply-To: Glenn Heagerty <gheagerty@ADELPHIA.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Glenn Heagerty <gheagerty@ADELPHIA.NET>
Organization: Consumer Solutions, Inc.
Subject: Re: MVS Concatenate
Content-Type: text/plain; charset=us-ascii
Hi Michael,
I just had this same experience a couple of weeks ago. It turned out that I was
using the wrong key for the concatenation operator. On the client's set up
(connecting to the mainframe using Reflections and using the ISPF editor to
write the SAS programs in a TSO session, SAS on MVS/390) one has to use the left
bracket key '[' to form the pipe symbol, using the vertical bar '|' gave me the
same error message you got and actually displayed a broken pipe on the screen.
Hope this helps,
Glenn
Michel Hantar wrote:
>
> Hi.
>
> I have a small problem.
> I have two character variables a1 and a2 and I want to put them into one new
> variable b=a1a2 (concatenate) their value.
>
> Example.
> var value
> a1=Name
> a2=First
> b=NameFirst.
>
> I used b= a1||a2;
>
> But to my surprise I am getting an error, SAS name not recognized or
> expecting an operator depending if I write it like a1 || a2 (with extra
> space). How can I concatenate these two variables.Any other function or
> hints?
> Interestingly enough if I do this on SAS Desktop it works!
> Anybody any idea what is the problem? Again this is happening under MVS/390
> SAS 8.02. platform.
>
> Thanks,
> Mimi.
> --
> ------------------------------------------------------------
> Free Web Email & Filter Enhancements.
|