Hi
I have to run a SQL script from the command line through EXECUTE COMMAND activity of the sequencer.Now I can give the command as
db2 -tf and the parameter as the file name.Now my question is where should I place the script file?Should it be placed in any specific folder?I am working on AIX.
Regards
Shiv
Execute script from DS
Moderators: chulett, rschirm, roy
For portability reasons, I found it sensible to place scripts into subfolders of the project directory, as the utilities executing OS commands or scripts always take the project directory as their working directory. Thus you can always specify the path to your script relative to the project account.
Stephan
Stephan
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: