<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: CATX function in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/CATX-function/m-p/28139#M5177</link>
    <description>OK&lt;BR /&gt;
making a little more sense.&lt;BR /&gt;
But - why would you want to hold all this text in a SAS data set?&lt;BR /&gt;
peterC</description>
    <pubDate>Tue, 15 Mar 2011 07:34:23 GMT</pubDate>
    <dc:creator>Peter_C</dc:creator>
    <dc:date>2011-03-15T07:34:23Z</dc:date>
    <item>
      <title>CATX function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CATX-function/m-p/28132#M5170</link>
      <description>Hi !!&lt;BR /&gt;
I need help here. I am getting an error for a CATX function. This is the code which erroes out:&lt;BR /&gt;
/* transpose based on eid  */&lt;BR /&gt;
 proc transpose data= stry &lt;BR /&gt;
 out= stry_tranposed(drop=_:) prefix=txt;&lt;BR /&gt;
     by eid ;&lt;BR /&gt;
     var msg_tx;&lt;BR /&gt;
   run;&lt;BR /&gt;
&lt;BR /&gt;
/* concatenate txt fields delimited by "&lt;BR /&gt;" */&lt;BR /&gt;
data output1;&lt;BR /&gt;
       set stry_tranposed;&lt;BR /&gt;
       length allTxt $32767;&lt;BR /&gt;
       allTxt = catx(" ", of txt:);&lt;BR /&gt;
       *allTxt = htmlencode(allTxt);&lt;BR /&gt;
       *allTxt = tranwrd(allTxt, "#br#", "&lt;BR /&gt;");&lt;BR /&gt;
       keep EID allTxt;&lt;BR /&gt;
&lt;BR /&gt;
run;&lt;BR /&gt;
"In a call to the CATX function, the buffer allocated for the result was not long enough to  contain the concatenation of all the arguments. The correct result would contain 45369       characters, but the actual result may either be truncated to 32767 character(s) or be  completely blank, depending on the calling environment. The following note indicates the left-most argument that caused truncation.&lt;BR /&gt;
NOTE: Argument 509 to function CATX at line 156 column 17 is invalid."&lt;BR /&gt;
The log gives me multiple txt messages which is the data I am oncatenating.&lt;BR /&gt;
Is there any other fucntion that does not have that does not have this limitation 0f 32767 chars. &lt;BR /&gt;
Or maybe how can I handle this limitation? For eg if alltxt is more tahn 32767 chars then split it, because right now I am get no records if the chars are &amp;gt;32767. &lt;BR /&gt;
&lt;BR /&gt;
Thanks!!

Message was edited by: sasnewbee</description>
      <pubDate>Fri, 11 Mar 2011 21:59:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CATX-function/m-p/28132#M5170</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2011-03-11T21:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: CATX function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CATX-function/m-p/28133#M5171</link>
      <description>If you are not seeing the line numbers this can be caused by running the DATA step within a MACRO block.  The only way I know to get the line numbers is to recreate the conditions and logic in stand alone code.  Annoying I know.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Sorry, but I don't have any insight into the limitation of the CATX function.  This limitation and behavior is described in the documentation.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a002257076.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a002257076.htm&lt;/A&gt;</description>
      <pubDate>Fri, 11 Mar 2011 22:23:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CATX-function/m-p/28133#M5171</guid>
      <dc:creator>CurtisMack</dc:creator>
      <dc:date>2011-03-11T22:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: CATX function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CATX-function/m-p/28134#M5172</link>
      <description>I have now changed my questiona  little bit and wanted to know if the SAS limitation of 32767 chars can be overcome. Please help.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks!!</description>
      <pubDate>Mon, 14 Mar 2011 13:37:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CATX-function/m-p/28134#M5172</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2011-03-14T13:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: CATX function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CATX-function/m-p/28135#M5173</link>
      <description>I have now changed my questiona  little bit and wanted to know if the SAS limitation of 32767 chars can be overcome. Please help.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks!!</description>
      <pubDate>Mon, 14 Mar 2011 14:36:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CATX-function/m-p/28135#M5173</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2011-03-14T14:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: CATX function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CATX-function/m-p/28136#M5174</link>
      <description>&amp;gt; I have now changed my questiona  little bit and&lt;BR /&gt;
&amp;gt; wanted to know if the SAS limitation of 32767 chars&lt;BR /&gt;
&amp;gt; can be overcome. Please help.&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Thanks!!&lt;BR /&gt;
 &lt;BR /&gt;
In what context can you use strings wider than 32767?</description>
      <pubDate>Mon, 14 Mar 2011 19:42:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CATX-function/m-p/28136#M5174</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2011-03-14T19:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: CATX function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CATX-function/m-p/28137#M5175</link>
      <description>&amp;gt; I [...] wanted to know if the SAS limitation of 32767 chars&lt;BR /&gt;
&amp;gt; can be overcome. &lt;BR /&gt;
&lt;BR /&gt;
No, it can't be. (AFAIK)</description>
      <pubDate>Mon, 14 Mar 2011 19:46:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CATX-function/m-p/28137#M5175</guid>
      <dc:creator>chang_y_chung_hotmail_com</dc:creator>
      <dc:date>2011-03-14T19:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: CATX function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CATX-function/m-p/28138#M5176</link>
      <description>I am transposing the dataset and then using a catX on it.&lt;BR /&gt;
So if the no of records under one id is say 100, then 100 variables are created after transpose and when I concatenate them into one, it exceeds 32767 chars. Is there  a way, where we can detect when the chars become greater than 32KB and we can split the recors into 2 records.</description>
      <pubDate>Tue, 15 Mar 2011 01:33:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CATX-function/m-p/28138#M5176</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2011-03-15T01:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: CATX function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CATX-function/m-p/28139#M5177</link>
      <description>OK&lt;BR /&gt;
making a little more sense.&lt;BR /&gt;
But - why would you want to hold all this text in a SAS data set?&lt;BR /&gt;
peterC</description>
      <pubDate>Tue, 15 Mar 2011 07:34:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CATX-function/m-p/28139#M5177</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2011-03-15T07:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: CATX function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CATX-function/m-p/28140#M5178</link>
      <description>I am actually trying to merge several messages under one ID into one message for each ID. Kind of forming a story for each id. This is a business requirement. &lt;BR /&gt;
&lt;BR /&gt;
Any pointers to tackle this?</description>
      <pubDate>Tue, 15 Mar 2011 15:09:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CATX-function/m-p/28140#M5178</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2011-03-15T15:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: CATX function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CATX-function/m-p/28141#M5179</link>
      <description>Hi.&lt;BR /&gt;
After using char=catx(of ...),you can use length(char) to identify whether this variable is over range of 32767.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ksharp</description>
      <pubDate>Wed, 16 Mar 2011 03:38:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CATX-function/m-p/28141#M5179</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-03-16T03:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: CATX function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CATX-function/m-p/28142#M5180</link>
      <description>&amp;gt; I am actually trying to merge several messages under&lt;BR /&gt;
&amp;gt; one ID into one message for each ID. Kind of forming&lt;BR /&gt;
&amp;gt; a story for each id. This is a business requirement.&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Any pointers to tackle this?&lt;BR /&gt;
&lt;BR /&gt;
instead of "a variable" comprising the message, why not just make it "a list" (series of obs) - one line for each message of one ID?

Message was edited by: Peter.C</description>
      <pubDate>Wed, 16 Mar 2011 07:25:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CATX-function/m-p/28142#M5180</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2011-03-16T07:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: CATX function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CATX-function/m-p/28143#M5181</link>
      <description>Hi Ksharp!&lt;BR /&gt;
Thanks for your input. &lt;BR /&gt;
Right now,  when I am using just CATX, it will delete the all the messages in that id. So if id=1234 has greater than  32KB chars, the output does not have this id itself. So even if I use length(char) after CATX, I do not think it will work.&lt;BR /&gt;
&lt;BR /&gt;
Is there a way we can just pass the first 32KB chars instead of just not having taht id in the output.&lt;BR /&gt;
&lt;BR /&gt;
Thanks!!</description>
      <pubDate>Wed, 16 Mar 2011 13:53:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CATX-function/m-p/28143#M5181</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2011-03-16T13:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: CATX function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CATX-function/m-p/28144#M5182</link>
      <description>Hi.&lt;BR /&gt;
Maybe you need right code.&lt;BR /&gt;
[pre]&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: navy; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;proc&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt; &lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: navy; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;sort&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;=&lt;SPAN class="SpellE"&gt;sashelp.class&lt;/SPAN&gt;;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;&lt;SPAN style=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="GramE"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;by&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt; sex;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN class="GramE"&gt;&lt;B&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: navy; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;run&lt;/SPAN&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN class="GramE"&gt;&lt;B&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: navy; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;data&lt;/SPAN&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt; want;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;&lt;SPAN style=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="GramE"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;set&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt; &lt;SPAN class="SpellE"&gt;sashelp.class&lt;/SPAN&gt;;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;&lt;SPAN style=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="GramE"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;by&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt; sex;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;&lt;SPAN style=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="GramE"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;length&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;&lt;SPAN style=""&gt;&amp;nbsp; &lt;/SPAN&gt;whole&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt; $ &lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: teal; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;20&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: green; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;*20 is your 32760;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;&lt;SPAN style=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="GramE"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;retain&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt; whole &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: purple; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;'&lt;BR /&gt;
&lt;SPAN class="SpellE"&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;&lt;SPAN style=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="GramE"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;if&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt; &lt;SPAN class="SpellE"&gt;first.sex&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;then&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;call&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt; missing (whole);&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;&lt;SPAN style=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="GramE"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;if&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt; (&lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: teal; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;20&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt; - length(whole)) &lt;SPAN class="SpellE"&gt;gt&lt;/SPAN&gt;&lt;BR /&gt;
&lt;BR /&gt;
length(name) &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;then&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt; whole=&lt;SPAN class="SpellE"&gt;catx&lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: purple; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;' '&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;,&lt;SPAN class="SpellE"&gt;whole,name&lt;/SPAN&gt;);&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;&lt;SPAN style=""&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="GramE"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;else&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;do&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;&lt;SPAN style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;
&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="GramE"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;output&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;&lt;SPAN style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;
&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="GramE"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;call&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt; missing(whole);&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;&lt;SPAN style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;
&lt;/SPAN&gt;&lt;SPAN class="GramE"&gt;whole=&lt;/SPAN&gt;&lt;SPAN class="SpellE"&gt;catx&lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: purple; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;' '&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;,&lt;SPAN class="SpellE"&gt;whole,name&lt;/SPAN&gt;);&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;&lt;SPAN style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="GramE"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;end&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;&lt;SPAN style=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="GramE"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;if&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt; &lt;SPAN class="SpellE"&gt;last.sex&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;then&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;output&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;&lt;SPAN style=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="GramE"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;keep&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt; sex whole;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN class="GramE"&gt;&lt;B&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: navy; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;run&lt;/SPAN&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ksharp&lt;BR /&gt;
[/pre]&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2011 03:28:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CATX-function/m-p/28144#M5182</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-03-17T03:28:12Z</dc:date>
    </item>
  </channel>
</rss>

