Search found 21 matches

by DJRH
Mon Sep 20, 2010 3:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Field Function
Replies: 6
Views: 2913

Field Function

string ="TestString1 ^^^ TestString2" MyString = Field(string, "^^^" ,2) Call DSLogInfo(" The string value is : " : MyString , "JobControl") Does not fetch the second string. With single "^" as delimeter it works fine and fetches the " TestStrin...
by DJRH
Tue Apr 06, 2010 3:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem Running SSH2 on Windows Datastage server
Replies: 7
Views: 4774

ray.wurlod wrote:ssh2 executes a script on SERVER2. The output of ssh2 is on SERVER2. You must organize to get that output back to SERVER1 - perhaps using FTP.
We thought doing the same but using FTP is a policy violation in the organization.
by DJRH
Tue Apr 06, 2010 9:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem Running SSH2 on Windows Datastage server
Replies: 7
Views: 4774

Try using EXECUTE 'DOS -c "':BuildCmd:'"' CAPTURING CmdOutput RETURNING CmdRetCode Call DSLogInfo(" *** CmdOutput (":Len(CmdOutput):" chars) contains :" : CmdOutput , "") Does the output look different? Is the length of CmdOutput greater than 0? I tried the a...
by DJRH
Mon Apr 05, 2010 9:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem Running SSH2 on Windows Datastage server
Replies: 7
Views: 4774

Re: Problem Running SSH2 on Windows Datastage server

Not sure if I understand this correctly :? , you would like to submit a batch script on some remote WIN server (SERVER 2) through the DataStage Engine, again on a WIN box, which is on a different machine (SERVER 1) :?: Does the ssh2 command successfully initiate this batch script on SERVER 2 when s...
by DJRH
Sat Apr 03, 2010 11:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem Running SSH2 on Windows Datastage server
Replies: 7
Views: 4774

Problem Running SSH2 on Windows Datastage server

Please help as I am having issue running "ssh2" command through "DSEXECUTE" on windows datastage sever. This is what i am trying to do. I have to run a batch file on a target server and the command i am running from datastage is as follows. BuildCmd = "ssh2 " : Target_I...