The actual problem is the output is delimited with the @FM character. so i replaced that character with null. then it worked fine
DSSetParam("SOURCE_FILE_NAME",convert(char(254),"",Output));
Thanks
Search found 2 matches
- Mon Jan 30, 2006 5:01 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Assigning the output of DSExecute command to job Parameter
- Replies: 4
- Views: 3292
- Tue Jan 17, 2006 7:25 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Assigning the output of DSExecute command to job Parameter
- Replies: 4
- Views: 3292
Assigning the output of DSExecute command to job Parameter
Call DSExecute("NT","D:\cygwin\bin\bash.exe --login -c '/cygdrive/d/Ram/script/CheckFile.sh NXRP_CBD'", Output, SystemReturnCode) The script returns the filename which starts with 'NXRP_CBD' How to assign the 'Output' to the job parameter. I tried this code. But this did not work...