4 Replies Latest reply on Apr 9, 2021 4:51 AM by Akilan Chandrasekaran

    Pass target table name into a variable

    Richard Crowley New Member



      Is there a way to pass the name of the target table in a session to a variable? I want to be able to pass the name of the target to a shell script using the command task. So, ideally, I want to have a reusable command task, for example, like this:


      bash /directory/run_this.sh $$tgttblname


      where run_this.sh is my shell script, and $$tgttblname is the name of a target table (on the database, not the target name in informatica).


      Is this possible?


      Thank you