<?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: Need Help for SAS Data Integration Studio 3.4 in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61517#M17466</link>
    <description>Is there a function to cahnge the data size of the numeric data type without changing the data?&lt;BR /&gt;
&lt;BR /&gt;
E.g. student id = 12345678 data size 7 (source) &lt;BR /&gt;
       &lt;BR /&gt;
       same as&lt;BR /&gt;
&lt;BR /&gt;
       student id = 12345678 data size 8  (target)&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
Yours Sincerely,&lt;BR /&gt;
helphelp</description>
    <pubDate>Wed, 05 Aug 2009 03:11:05 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2009-08-05T03:11:05Z</dc:date>
    <item>
      <title>Need Help for SAS Data Integration Studio 3.4</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61510#M17459</link>
      <description>Hi, &lt;BR /&gt;
&lt;BR /&gt;
I have just getting started to use SAS Data Integratino Studion 3.4  I have a question to ask. &lt;BR /&gt;
&lt;BR /&gt;
Problem: &lt;BR /&gt;
The length of the target column is shorter than the source column. A derived mapping is required between these columns. Do you wan to create an expression?&lt;BR /&gt;
&lt;BR /&gt;
Eg src data field: student_id; data type numeric; data size 8&lt;BR /&gt;
     target data field: student_id; data type numeric; data size 7&lt;BR /&gt;
&lt;BR /&gt;
How can I overcome this problem?&lt;BR /&gt;
&lt;BR /&gt;
Thanks. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
Yours Sincerely,&lt;BR /&gt;
helphelp</description>
      <pubDate>Tue, 04 Aug 2009 06:32:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61510#M17459</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-08-04T06:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help for SAS Data Integration Studio 3.4</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61511#M17460</link>
      <description>Actually this is quite wrong.&lt;BR /&gt;
You are trying to populate a variable that is shorter in size (1 byte less) than the source expression, so truncation may occur.&lt;BR /&gt;
&lt;BR /&gt;
The right way to avoid this, would be resize BOTH variables to a desired value.&lt;BR /&gt;
What is the range of values of the student_id var?&lt;BR /&gt;
&lt;BR /&gt;
Cheers from Portugal.&lt;BR /&gt;
&lt;BR /&gt;
Daniel Santos @ &lt;A href="http://www.cgd.pt" target="_blank"&gt;www.cgd.pt&lt;/A&gt;.</description>
      <pubDate>Tue, 04 Aug 2009 07:41:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61511#M17460</guid>
      <dc:creator>DanielSantos</dc:creator>
      <dc:date>2009-08-04T07:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help for SAS Data Integration Studio 3.4</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61512#M17461</link>
      <description>Thanks for the reply.&lt;BR /&gt;
&lt;BR /&gt;
What if there is a situation like this, what should be done when you are mapping the source column to the target column? Is there any function to change the data size?&lt;BR /&gt;
&lt;BR /&gt;
Thanks.&lt;BR /&gt;
&lt;BR /&gt;
Yours Sincerely,&lt;BR /&gt;
helphelp</description>
      <pubDate>Tue, 04 Aug 2009 08:28:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61512#M17461</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-08-04T08:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help for SAS Data Integration Studio 3.4</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61513#M17462</link>
      <description>Yes there is.&lt;BR /&gt;
&lt;BR /&gt;
Check the online documentation for the TRUNC function:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/61724/HTML/default/a000245963.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrdict/61724/HTML/default/a000245963.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Cheers from Portugal.&lt;BR /&gt;
&lt;BR /&gt;
Daniel Santos @ &lt;A href="http://www.cgd.pt" target="_blank"&gt;www.cgd.pt&lt;/A&gt;.</description>
      <pubDate>Tue, 04 Aug 2009 09:17:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61513#M17462</guid>
      <dc:creator>DanielSantos</dc:creator>
      <dc:date>2009-08-04T09:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help for SAS Data Integration Studio 3.4</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61514#M17463</link>
      <description>When mapping you can create an expression using i.e. trim(), strip(), substr() or another function to change the length.&lt;BR /&gt;
&lt;BR /&gt;
But remember to look into why you wan't to change the length on your target table.</description>
      <pubDate>Tue, 04 Aug 2009 09:42:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61514#M17463</guid>
      <dc:creator>GertNissen</dc:creator>
      <dc:date>2009-08-04T09:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help for SAS Data Integration Studio 3.4</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61515#M17464</link>
      <description>&amp;gt; When mapping you can create an expression using i.e.&lt;BR /&gt;
&amp;gt; trim(), strip(), substr() or another function to&lt;BR /&gt;
&amp;gt; change the length.&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; But remember to look into why you wan't to change the&lt;BR /&gt;
&amp;gt; length on your target table.&lt;BR /&gt;
&lt;BR /&gt;
True for alphanumeric variables, which is not the case.&lt;BR /&gt;
&lt;BR /&gt;
Of course you could always convert them to alpha, trim, then back to numeric. But, a little bit confusing to do.&lt;BR /&gt;
&lt;BR /&gt;
Cheers from Portugal.&lt;BR /&gt;
&lt;BR /&gt;
Daniel Santos @ &lt;A href="http://www.cgd.pt" target="_blank"&gt;www.cgd.pt&lt;/A&gt;.</description>
      <pubDate>Tue, 04 Aug 2009 11:19:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61515#M17464</guid>
      <dc:creator>DanielSantos</dc:creator>
      <dc:date>2009-08-04T11:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help for SAS Data Integration Studio 3.4</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61516#M17465</link>
      <description>ups, sorry your right - had not seen it was a numeric variable - my fault.</description>
      <pubDate>Tue, 04 Aug 2009 12:32:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61516#M17465</guid>
      <dc:creator>GertNissen</dc:creator>
      <dc:date>2009-08-04T12:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help for SAS Data Integration Studio 3.4</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61517#M17466</link>
      <description>Is there a function to cahnge the data size of the numeric data type without changing the data?&lt;BR /&gt;
&lt;BR /&gt;
E.g. student id = 12345678 data size 7 (source) &lt;BR /&gt;
       &lt;BR /&gt;
       same as&lt;BR /&gt;
&lt;BR /&gt;
       student id = 12345678 data size 8  (target)&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
Yours Sincerely,&lt;BR /&gt;
helphelp</description>
      <pubDate>Wed, 05 Aug 2009 03:11:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61517#M17466</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-08-05T03:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help for SAS Data Integration Studio 3.4</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61518#M17467</link>
      <description>it is not a function that sets a numeric variable's length, but the data definition. &lt;BR /&gt;
In the mapping where the variable is first defined, see if you can set its properties, including its length.&lt;BR /&gt;
 &lt;BR /&gt;
PeterC</description>
      <pubDate>Wed, 05 Aug 2009 12:50:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61518#M17467</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2009-08-05T12:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help for SAS Data Integration Studio 3.4</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61519#M17468</link>
      <description>Have you tried this?&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; Yes there is.&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Check the online documentation for the TRUNC&lt;BR /&gt;
&amp;gt; function:&lt;BR /&gt;
&amp;gt; &lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/617" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrdict/617&lt;/A&gt;&lt;BR /&gt;
&amp;gt; 24/HTML/default/a000245963.htm&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Cheers from Portugal.&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Daniel Santos @ &lt;A href="http://www.cgd.pt" target="_blank"&gt;www.cgd.pt&lt;/A&gt;.</description>
      <pubDate>Wed, 05 Aug 2009 14:11:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61519#M17468</guid>
      <dc:creator>DanielSantos</dc:creator>
      <dc:date>2009-08-05T14:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help for SAS Data Integration Studio 3.4</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61520#M17469</link>
      <description>nope&lt;BR /&gt;
looking at it now, it is interesting and useful outside of DI, but...&lt;BR /&gt;
but in the DI environment, you need to register such column attributes, or you lose them.. Possibly the same will happen in E.G.&lt;BR /&gt;
 &lt;BR /&gt;
PeterC</description>
      <pubDate>Wed, 05 Aug 2009 16:50:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61520#M17469</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2009-08-05T16:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help for SAS Data Integration Studio 3.4</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61521#M17470</link>
      <description>Hello Peter.&lt;BR /&gt;
&lt;BR /&gt;
I was actually asking HelpHelp, because he/she had already posted the question before, and that was my answer.&lt;BR /&gt;
&lt;BR /&gt;
From my SAS DI Studio experience there is nothing wrong mapping different variable sizes (bigger to smaller, which is the case), IF an expression is specified to convert/truncate the source value. SAS DI Studio uses the same principle, as stated in the error message.&lt;BR /&gt;
&lt;BR /&gt;
Cheers from Portugal.&lt;BR /&gt;
&lt;BR /&gt;
Daniel Santos @ &lt;A href="http://www.cgd.pt" target="_blank"&gt;www.cgd.pt&lt;/A&gt;.</description>
      <pubDate>Wed, 05 Aug 2009 17:10:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61521#M17470</guid>
      <dc:creator>DanielSantos</dc:creator>
      <dc:date>2009-08-05T17:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help for SAS Data Integration Studio 3.4</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61522#M17471</link>
      <description>The easiest way I found in these situations is just to map using a derived expression, and just pick/print the source columns name.&lt;BR /&gt;
As discussed earlier, you need to be sure that truncation (loss of numeric precision) will not occur, but going from 8 to 7 bytes should in most cases be safe, at least if only integers is to be stored.&lt;BR /&gt;
&lt;BR /&gt;
/Linus</description>
      <pubDate>Mon, 10 Aug 2009 10:10:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61522#M17471</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2009-08-10T10:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help for SAS Data Integration Studio 3.4</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61523#M17472</link>
      <description>Hi Guys,&lt;BR /&gt;
&lt;BR /&gt;
Thanks for helping me out. &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
the trunc function only allows you change from a smaller size ( i.e from a data size 8 to 7) &lt;BR /&gt;
&lt;BR /&gt;
What if I am needed the other way round ( E.g. from a data size 7 to data size &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; &lt;BR /&gt;
the trunc function will not allow me to do that. &lt;BR /&gt;
&lt;BR /&gt;
So, is there any function that allows me to do this kind of upsizing the data size? )&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
Yours Sincerely,&lt;BR /&gt;
helphelp</description>
      <pubDate>Tue, 11 Aug 2009 05:31:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61523#M17472</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-08-11T05:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help for SAS Data Integration Studio 3.4</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61524#M17473</link>
      <description>To "upscale" a column, numeric or char, you don't need any function, both SAS programming wise and in DI Studio, you just map the columns 1:1.&lt;BR /&gt;
/Linus</description>
      <pubDate>Tue, 11 Aug 2009 07:46:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61524#M17473</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2009-08-11T07:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help for SAS Data Integration Studio 3.4</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61525#M17474</link>
      <description>Thanks so much for the help you all have given me.&lt;BR /&gt;
&lt;BR /&gt;
Thank you very much</description>
      <pubDate>Thu, 13 Aug 2009 02:01:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61525#M17474</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-08-13T02:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help for SAS Data Integration Studio 3.4</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61526#M17475</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
Do you know how am I able to read a foriegn language data into SAS Data Integration studio?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
THanks.&lt;BR /&gt;
&lt;BR /&gt;
Yours Sincerely,&lt;BR /&gt;
helphelp</description>
      <pubDate>Thu, 13 Aug 2009 02:02:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61526#M17475</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-08-13T02:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help for SAS Data Integration Studio 3.4</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61527#M17476</link>
      <description>I'm not aware of any complications when working with different language data in the DIS application. There are some concerns that you may have when setting up system options etc in Foundation. See National Language Support in on-line doc.&lt;BR /&gt;
If you like to discuss this in further detail, I suggest that you post a new thread.&lt;BR /&gt;
&lt;BR /&gt;
/Linus</description>
      <pubDate>Thu, 13 Aug 2009 07:19:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-Help-for-SAS-Data-Integration-Studio-3-4/m-p/61527#M17476</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2009-08-13T07:19:07Z</dc:date>
    </item>
  </channel>
</rss>

