BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
mayankmishra24
Fluorite | Level 6

SAS piple line node options.jpgI cannot see any option where I can change the node connections in the pipeline.
please help.

1 ACCEPTED SOLUTION

Accepted Solutions
antonbcristina
SAS Super FREQ

To add a parent node for all models, select all model nodes while holding down the SHIFT key and right-click --> Add parent node --> Miscellaneous --> SAS Code. You'll want to copy over the code into the SAS Code node that now sits between Data and the model nodes. 

View solution in original post

9 REPLIES 9
antonbcristina
SAS Super FREQ

Hi @mayankmishra24, which connection would you like to change? Nodes are usually connected by their parent/child relationship.   

mayankmishra24
Fluorite | Level 6
Like in the above shared image... I got my model comparison result. After analyzing that, I thought of creating a new variable from the original variables... For that, I used the SAS CODE node... Now I want all models to be linked to the SAS CODE node, which contains the new variable, and not to Variable selection.

new pipeline—data -> Variable selection -> sas code -> models -> comparison
sbxkoenk
SAS Super FREQ

SAS Model Studio does not allow for free-form drawing of arrows / connections like SAS Enterprise Miner does.

 

The core difference is that Enterprise Miner's visual process flow allows for more manual customization, including the free drawing of connections, while Model Studio focuses on a more streamlined and less manual approach to data pipeline creation by auto-generating connections between distinct visual components.

 

See here for more info :
Model Studio for SAS Enterprise Miner Users: Part 5, Building Models…Let’s get physical!

( by JThompson )


Ciao, Koen

mayankmishra24
Fluorite | Level 6
So, I cannot change the pipeline flow? In the above case, I got my model comparison result. After analyzing that, I thought of creating a new variable from the original variables... For that, I used the SAS CODE node... Now I want all models to be linked to the SAS CODE node, which contains the new variable, and not to Variable selection.
and to achieve new workflow
that is
new pipeline—data -> variable selection -> SAS code -> models -> comparison.

Do I have to create it from the start? in SAS Model Studio?
antonbcristina
SAS Super FREQ

To add a parent node for all models, select all model nodes while holding down the SHIFT key and right-click --> Add parent node --> Miscellaneous --> SAS Code. You'll want to copy over the code into the SAS Code node that now sits between Data and the model nodes. 

mayankmishra24
Fluorite | Level 6
Thank you so much; it worked!
mayankmishra24
Fluorite | Level 6
Can you also help me with new variable creations... like, I created new variables using the SAS code node. Can't I create this without code? I tried using the Transformation node, but it doesn't provide flexibility.
sbxkoenk
SAS Super FREQ

Remember! 

With respect to the SAS Code Node in SAS Model Studio : Modification of the data that you want to pass on to subsequent nodes and to publishing must be done within the scoring code pane.

 

See:

The SAS Code Node in SAS Model Studio versus SAS Enterprise Miner

https://communities.sas.com/t5/SAS-Communities-Library/The-SAS-Code-Node-in-SAS-Model-Studio-versus-...

Last update: 17-MAY-2022

Updated by: BethEbersole

 

Why not create new variables in advance? In SAS Studio, for example. Then these will already be in the CAS table that serves as the Analytical Base Table (ABT).

 

Ciao,

Koen

mayankmishra24
Fluorite | Level 6
Thank you so much.
As I am very new to SAS... a few things are confusing for me right now.
My first experience is on SAS Viya only. learning model studio for Hackathon.

very happy for the resources shared by you. Thanks, Sir.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 9 replies
  • 321 views
  • 2 likes
  • 3 in conversation