Search found 3 matches

by maks475
Fri Jun 26, 2015 3:01 am
Forum: General
Topic: Sqlplus cmd not returning control back to Routine
Replies: 4
Views: 2946

I do have such result printing statements but routine never ending the execution of the statement "DSExecute(...)" which is calling SQLPLUS.
by maks475
Thu Jun 25, 2015 8:48 am
Forum: General
Topic: Sqlplus cmd not returning control back to Routine
Replies: 4
Views: 2946

Sqlplus cmd not returning control back to Routine

Hi, calling sql query from a routine using sqlplus. routine run never ending. Code: Statement = "SELECT count(*) FROM TableName;" Command = "sqlplus -S ": pSrcDBUser : "/" : pSrcDBPwd : pConString : char(10) : "SELECT count(*) FROM TableName;" : char(10) : &qu...
by maks475
Wed Jul 06, 2011 5:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: multiple rows to single row
Replies: 15
Views: 7320

Re: multiple rows to single row

hi, guess you've only two fields, col1 and col2. then do the following.. source->sort>transformer->R.Duplicate->target. (in transforer take stage variables and define as below) stg_var1=col1 str_var2=col2 stg_var3=stg_var4 (this is final string to populate in target) stg_var4= if stg_var1=stg_var5 t...