<?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 Stored Process Error in CI360 Flow Node — Code Executes Successfully, But Node Fails in SAS 360 Match</title>
    <link>https://communities.sas.com/t5/SAS-360-Match/Stored-Process-Error-in-CI360-Flow-Node-Code-Executes/m-p/970582#M258</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm using a stored process (SP) in a SAS CI360 decision flow that updates data on Teradata successfully — the SQL logic executes correctly, no errors appear in the SAS log, and I can confirm the database is updated. However, the CI360 flow node returns an "Error" status, even though everything ran as expected.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":magnifying_glass_tilted_left:"&gt;🔍&lt;/span&gt; Context:&lt;/P&gt;&lt;P&gt;The SP receives a segmentName prompt from CI360.&lt;/P&gt;&lt;P&gt;It connects to Teradata and runs an UPDATE (e.g., sets EMAIL_STATUS = 1).&lt;/P&gt;&lt;P&gt;%maspinit, %MAcount, and %MAstatus macros are used.&lt;/P&gt;&lt;P&gt;In some SPs, a work. dataset is created (work.Updated_Customers), others don't return any dataset.&lt;/P&gt;&lt;P&gt;The SP does not produce ODS output or use file _webout, unless manually added.&lt;/P&gt;&lt;P&gt;The SP is marked with the following properties:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Stored Process Server Only&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Result Capabilities: Stream + Package are both checked.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":light_bulb:"&gt;💡&lt;/span&gt; Interesting part:&lt;/P&gt;&lt;P&gt;The exact same logic works fine in another SP that updates PUSH_STATUS instead of EMAIL_STATUS. The only differences are:&lt;/P&gt;&lt;P&gt;Whether a segment is used in practice.&lt;/P&gt;&lt;P&gt;Whether a dataset or output is explicitly returned.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":question_mark:"&gt;❓&lt;/span&gt; My Questions:&lt;/P&gt;&lt;P&gt;What minimum output is required for a stored process to be considered "successful" by CI360?&lt;/P&gt;&lt;P&gt;Does CI360 require:&lt;/P&gt;&lt;P&gt;At least one SAS dataset in the work library?&lt;/P&gt;&lt;P&gt;A valid %MAstatus() file to be written under _STPWORK?&lt;/P&gt;&lt;P&gt;An ODS HTML or file _webout stream to be produced?&lt;/P&gt;&lt;P&gt;Is it OK for a stored process to return nothing (no dataset, no stream), or will CI360 always interpret that as an error?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":direct_hit:"&gt;🎯&lt;/span&gt; Goal:&lt;BR /&gt;My stored process works fine in SAS and updates Teradata correctly, but CI360 seems to expect an output or a signal to consider the node successful. I’d like to understand what that expected behavior is so I can make all my SP nodes CI360-compliant.&lt;/P&gt;&lt;P&gt;Thanks a lot in advance!&lt;BR /&gt;(Viya environment + CI360 + Teradata)&lt;/P&gt;</description>
    <pubDate>Fri, 11 Jul 2025 07:25:07 GMT</pubDate>
    <dc:creator>onuroruc</dc:creator>
    <dc:date>2025-07-11T07:25:07Z</dc:date>
    <item>
      <title>Stored Process Error in CI360 Flow Node — Code Executes Successfully, But Node Fails</title>
      <link>https://communities.sas.com/t5/SAS-360-Match/Stored-Process-Error-in-CI360-Flow-Node-Code-Executes/m-p/970582#M258</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm using a stored process (SP) in a SAS CI360 decision flow that updates data on Teradata successfully — the SQL logic executes correctly, no errors appear in the SAS log, and I can confirm the database is updated. However, the CI360 flow node returns an "Error" status, even though everything ran as expected.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":magnifying_glass_tilted_left:"&gt;🔍&lt;/span&gt; Context:&lt;/P&gt;&lt;P&gt;The SP receives a segmentName prompt from CI360.&lt;/P&gt;&lt;P&gt;It connects to Teradata and runs an UPDATE (e.g., sets EMAIL_STATUS = 1).&lt;/P&gt;&lt;P&gt;%maspinit, %MAcount, and %MAstatus macros are used.&lt;/P&gt;&lt;P&gt;In some SPs, a work. dataset is created (work.Updated_Customers), others don't return any dataset.&lt;/P&gt;&lt;P&gt;The SP does not produce ODS output or use file _webout, unless manually added.&lt;/P&gt;&lt;P&gt;The SP is marked with the following properties:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Stored Process Server Only&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Result Capabilities: Stream + Package are both checked.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":light_bulb:"&gt;💡&lt;/span&gt; Interesting part:&lt;/P&gt;&lt;P&gt;The exact same logic works fine in another SP that updates PUSH_STATUS instead of EMAIL_STATUS. The only differences are:&lt;/P&gt;&lt;P&gt;Whether a segment is used in practice.&lt;/P&gt;&lt;P&gt;Whether a dataset or output is explicitly returned.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":question_mark:"&gt;❓&lt;/span&gt; My Questions:&lt;/P&gt;&lt;P&gt;What minimum output is required for a stored process to be considered "successful" by CI360?&lt;/P&gt;&lt;P&gt;Does CI360 require:&lt;/P&gt;&lt;P&gt;At least one SAS dataset in the work library?&lt;/P&gt;&lt;P&gt;A valid %MAstatus() file to be written under _STPWORK?&lt;/P&gt;&lt;P&gt;An ODS HTML or file _webout stream to be produced?&lt;/P&gt;&lt;P&gt;Is it OK for a stored process to return nothing (no dataset, no stream), or will CI360 always interpret that as an error?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":direct_hit:"&gt;🎯&lt;/span&gt; Goal:&lt;BR /&gt;My stored process works fine in SAS and updates Teradata correctly, but CI360 seems to expect an output or a signal to consider the node successful. I’d like to understand what that expected behavior is so I can make all my SP nodes CI360-compliant.&lt;/P&gt;&lt;P&gt;Thanks a lot in advance!&lt;BR /&gt;(Viya environment + CI360 + Teradata)&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 07:25:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-360-Match/Stored-Process-Error-in-CI360-Flow-Node-Code-Executes/m-p/970582#M258</guid>
      <dc:creator>onuroruc</dc:creator>
      <dc:date>2025-07-11T07:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Process Error in CI360 Flow Node — Code Executes Successfully, But Node Fails</title>
      <link>https://communities.sas.com/t5/SAS-360-Match/Stored-Process-Error-in-CI360-Flow-Node-Code-Executes/m-p/978171#M260</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Can you share the working STP code ?&lt;/P&gt;&lt;P&gt;As I am not been able to create one.&lt;BR /&gt;it would be very much helpful if you could share a sample code&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2025 08:25:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-360-Match/Stored-Process-Error-in-CI360-Flow-Node-Code-Executes/m-p/978171#M260</guid>
      <dc:creator>LaniumFox</dc:creator>
      <dc:date>2025-10-31T08:25:23Z</dc:date>
    </item>
  </channel>
</rss>

