<?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 SAS Model Studio - Locked Target Variable in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/SAS-Model-Studio-Locked-Target-Variable/m-p/824567#M10223</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this might be a really stupid question but I am currently getting to grips with SAS VIYA with a view to move our company over later in the year from EG and as far as I know I have searched all relevant documentation without a satisfactory answer (probably missed it).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After you define a Target variable in model studio and then run a pipeline should you be able to change the target variable? as I cant, and one of my modules failed as I selected the wrong target. I would prefer to change the target variable rather than start a fresh but either way would like to know if its possible so I can share that knowledge with my colleagues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;many thanks in advance&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stewart Jardine&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jul 2022 09:04:34 GMT</pubDate>
    <dc:creator>stew90210</dc:creator>
    <dc:date>2022-07-21T09:04:34Z</dc:date>
    <item>
      <title>SAS Model Studio - Locked Target Variable</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/SAS-Model-Studio-Locked-Target-Variable/m-p/824567#M10223</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this might be a really stupid question but I am currently getting to grips with SAS VIYA with a view to move our company over later in the year from EG and as far as I know I have searched all relevant documentation without a satisfactory answer (probably missed it).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After you define a Target variable in model studio and then run a pipeline should you be able to change the target variable? as I cant, and one of my modules failed as I selected the wrong target. I would prefer to change the target variable rather than start a fresh but either way would like to know if its possible so I can share that knowledge with my colleagues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;many thanks in advance&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stewart Jardine&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 09:04:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/SAS-Model-Studio-Locked-Target-Variable/m-p/824567#M10223</guid>
      <dc:creator>stew90210</dc:creator>
      <dc:date>2022-07-21T09:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Model Studio - Locked Target Variable</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/SAS-Model-Studio-Locked-Target-Variable/m-p/826518#M10239</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/280289"&gt;@stew90210&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use the below node in your Model Studio pipeline ( and change | replace your target variable with it ) :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE id="n0p2rnfmolgv78n1x8lyvbwfxfr5" class="xisDoc-table"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="xisDoc-forScope" scope="row"&gt;
&lt;P class="xisDoc-paragraph"&gt;Manage Variables&lt;/P&gt;
&lt;/TH&gt;
&lt;TD&gt;
&lt;P class="xisDoc-paragraph"&gt;Enables you to make modifications to the variable metadata from within a Model Studio pipeline.&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 20:37:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/SAS-Model-Studio-Locked-Target-Variable/m-p/826518#M10239</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2022-08-01T20:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Model Studio - Locked Target Variable</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/SAS-Model-Studio-Locked-Target-Variable/m-p/962062#M11029</link>
      <description>&lt;P&gt;See above message (also written by me).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am coming back to this , because the information given (in August 2022) is wrong.&lt;/P&gt;
&lt;P&gt;You can indeed use &lt;STRONG&gt;the "Manage Variables"-node in a Model Studio VDMML project&lt;/STRONG&gt; to make changes to the metadata (role, measurement level, order, ...) of the variables involved, &lt;STRONG&gt;but for the target variable you cannot&lt;/STRONG&gt;. For the target variable, the modification screen is greyed out (locked).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In fact, you should also be aware of the fact &lt;SPAN&gt;that the target variable role in a Model Studio project cannot be modified after executing any node or pipeline in it.&lt;BR /&gt;&lt;/SPAN&gt;So, think carefully before defining the target variable in the data pane, because once you start working with it you can't go back!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Koen&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 10:18:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/SAS-Model-Studio-Locked-Target-Variable/m-p/962062#M11029</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2025-03-18T10:18:19Z</dc:date>
    </item>
  </channel>
</rss>

