Search found 23 matches
- Thu Oct 18, 2007 5:41 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Column header repeat
- Replies: 4
- Views: 1712
followup
I cant sort. The data comes in a manner that ordering it is not advisable.
- Thu Oct 18, 2007 4:57 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Column header repeat
- Replies: 4
- Views: 1712
Column header repeat
Hi, I have a record like this: |Number|Name|Country| |9|Henry|France| |10|Rooney|England| |Number|Name|Country| |10|Zidane|France| |Number|Name|Country| |3|Cole|England| I want the output to have only the first column header and then the data: |Number|Name|Country| |9|Henry|France| |10|Rooney|Englan...
- Wed Aug 15, 2007 2:50 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: parameter in sql file
- Replies: 4
- Views: 2265
followup
The approach doesnt work unfortunately
Anyway thanks
Anyway thanks
- Wed Aug 08, 2007 2:35 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Call an SQL script from Teradata API
- Replies: 1
- Views: 1098
Call an SQL script from Teradata API
Hi All, Is it possible to call an .sql script containing the Select statement (to read fromDB) in a Teradata API stage? I mean instead of typing the SQL statement in the SQL tab in Teradata API. Likewise, would it be possible to do the same if I were to load into Teradata(insert SQL file) Thank you....
- Mon Jan 29, 2007 3:07 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Calling stored procedure.
- Replies: 14
- Views: 9545
sp
Hi Guru, This is what I did. TeradataAPI ->(Transformer optional) -> Teradata In the Source table, I loaded the table and connected to the teradata database, in the target,however, I called the stored procedure to do the inserting in the SQL-before. Its not working unfortunately. The table definitio...
- Sat Jan 27, 2007 3:00 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Calling stored procedure.
- Replies: 14
- Views: 9545
sp
Do I need to call the procedure in both before and after or just BEFORE?DSguru2B wrote:Do it in the before/after sql of DRS stage. ...
Sorry to bother you..
- Sat Jan 27, 2007 2:13 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Calling stored procedure.
- Replies: 14
- Views: 9545
sp
What version of DataStage do you have.? If 7.5x then you must be having STP stage. Use that. If you are expecting return parameters then doing a simple "call stp" from before/after sql tab is out of question. Calling a parameter from odbc stage has its limitations. It can only support IN ...
- Thu Jan 25, 2007 10:37 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Calling stored procedure.
- Replies: 14
- Views: 9545
sp
The stored procedure is inserting some values into a specific column. The job should call the stored procedure and populate the column.
- Thu Jan 25, 2007 10:19 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Calling stored procedure.
- Replies: 14
- Views: 9545
sp
Hi Guru, Thanks for the reply.Assuming Im trying with Teradata, ODBC ---> TERADATA In the ODBC stage, do I select using Stored procedure in the Ouputs-General Tab and then enter the stored proc name in the text box? Or theres no need to do this..instead in the target Teradata stage, call the stored ...
- Thu Jan 25, 2007 4:41 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Calling stored procedure.
- Replies: 14
- Views: 9545
sp
Hi, Thanks for the reply. The procedure should insert some values(all values are specified in the procedure) into sybase and teradata database.Thats what the procedure should do. Would it be fine to have a stage like this: /-->SYBASE ODBC --/-> TERADATA In the ODBC stage, import the stored procedure...
- Thu Jan 25, 2007 3:16 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Calling stored procedure.
- Replies: 14
- Views: 9545
Calling stored procedure.
Hi, I need to call a stored procedure(sybase and teradata). Would it be better to use a routine or normal ljob creation? Could someone show me the stage required if I would need to create a job? This is what I did... Teradata API -TRANSFORMER -TERADATA It doesnt seem to make sense to me though...as ...
- Thu Oct 05, 2006 9:06 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Basic program to monitor path
- Replies: 23
- Views: 8390
folowup
Heres the script #!/bin/ksh while read AGE V_PATH DELAY do cd $V_PATH for file in $(ls) do if [[ $(( $($HOME/./fileage $file)/60)) -ge $AGE ]] then echo $file >>outputfiles.txt fi done >outputfiles.txt final=`wc -l outputfiles.txt|awk '{print $1}'` if [ $final -ge 1 ] then echo $final "Unproces...
- Thu Oct 05, 2006 8:07 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Basic program to monitor path
- Replies: 23
- Views: 8390
followup
The path /home/A/B/script.sh is the path to the script on the unix server. Apparently the default DS path is not this, so I need to set it. Could someone tell me how to change the path please?
Thanks
Julia
Thanks
Julia
- Thu Oct 05, 2006 7:22 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Basic program to monitor path
- Replies: 23
- Views: 8390
followup
Is it fine to do this in job control?
UnixCmd="sd.dfd.com" (hostname)
CALL DSExecute("UNIX", 'sh -x /home/A/B/script.sh', ScreenOutput, ReturnCode)
I ran it and got the same warning "cannot open file" like the previous case.
UnixCmd="sd.dfd.com" (hostname)
CALL DSExecute("UNIX", 'sh -x /home/A/B/script.sh', ScreenOutput, ReturnCode)
I ran it and got the same warning "cannot open file" like the previous case.
- Thu Oct 05, 2006 7:20 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Basic program to monitor path
- Replies: 23
- Views: 8390
folowup
THe script reads from an input file. When I execute it normally it works, but when I execute from DS, it says cannot open file in the log. I checked the rights and everything looks ok.
Thanks
Julia
Thanks
Julia