Your requirement is bit unclear for me. Maybe that is because you are discussing more than one issue.
How are you calling your Unix script from DataStage ?
Is it a before/after routine or from sequence ? If it is from sequences, you can use convert function to change '\' to '/'.
How are you using the directory names ? Hope you are concatenating the filename after the directory. If so, you can suffix an extra dot ('.') to the directory name. Something like'
"ksh yourScript " : $scriptDir : ". " : $logDir : ". "
This way, the last char will not be a back-slash.
how to call unix script with project level parameters
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom