LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (February 2003, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
> %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.


Back to: Top of message | Previous page | Main SAS-L page