how to run a script and a sample script(some script).
@london_wannable -
To Run a shell script through Informatica, Just use the Pre/Post-Session command (on Success / on Failure) at session level properties.
In that Pre/Post-Session command, locate the path of the script with the filename.
Based on Pre/Post-Sessioncommand, the Shell script will be called and executed.
A Sample script is as follows -
Summary - Execute a shell script to remove the trigger file before executing the session.u06/home/pwcenter/bin/delete_trigger.shContent of delete_trigger.shrm u06/home/pwcenter/sessfiles/trg_dwjob.trg
exitIn Pre-Session command of the session property, use the above command to remove.
It can be achieved in other way also -
In Workflow Manager, we are having a command task. Locate the path of the script with the filename and use this command task before the execution of that particular session.
Let me know, if you need any further info..!
Admin -
Topic Moved from Unix Shell scripting to the appropriate Forum (Informatica)