GithubHelp home page GithubHelp logo

Comments (2)

snlwih avatar snlwih commented on June 16, 2024 2

Hi @vladsrynty,

You are correct that the current implementation of this custom step only supports one input port. So you would need to use the step twice, once for each input table, and have the output table show twice in the flow. See attached screenshot.

Some further clarification: Currently a Table step/node only supports a single input. That's the reason the table shows up twice in the flow. As this then results in multiple "streams" of nodes, the best practice approach is to put them in separate swimlanes. See attached screenshot.

Feel free to modify the custom step definition to support multiple input tables. This can be done by adding one (or more) input table controls in the Custom Step Designer, marking them as "not required" and then using the associated macro varaible in your SAS code. The user can then use the "Add Input Port" option on the node in the flow and attach a table to that port. Be aware that if the port has not been turned on by the user, the associated macro variable will not be generated by the custom step framework code generation and any references to that macro variable would result in warnings/errors at run time. So if the port was names inputTable2, then the SAS code should use %symexist(inputTable2) to check for the existence of the macro variable, and if the macro variable exists only then generate code that includes references &inputTable2. Hope this helps.

@torbenjuul, you contributed this step. Any plans to add support for multiple input tables in your Append Table step?
Screenshot Append Table and multiple source tables to append to single target table

from sas-studio-custom-steps.

snlwih avatar snlwih commented on June 16, 2024

Don't think the contributor has any short term plans to add support for multiple input tables.

Closing this issue now as the question has been answered.

from sas-studio-custom-steps.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.