Search found 28 matches

by besco
Tue Jun 15, 2004 7:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Construct SQL statement by a routine
Replies: 4
Views: 881

To be more precise, I have two sequential with a transformer between them. In the transformer, I call my routine. In the final sequential File, I want to have some rows like this :
Update .....nanana
In the Update statement, names of the fields are essential. It's the reason I need this.
by besco
Tue Jun 15, 2004 3:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Construct SQL statement by a routine
Replies: 4
Views: 881

Can you be more precise ?
by besco
Tue Jun 15, 2004 1:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Delete rows in table Oracle
Replies: 9
Views: 2524

OK, so you recommand me to use Truncate Facility. this table was installed by myself for the needs of the project. I don't really matter by DBA or others persons.
Can I use Truncate at the end of my job ? I'd seen that i could delete at the end of my job but what about Truncate ?
by besco
Tue Jun 15, 2004 1:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Construct SQL statement by a routine
Replies: 4
Views: 881

Construct SQL statement by a routine

Hi, I have this routine to construct Insert SQL statement : Ans="INSERT INTO ":NomTab: " VALUES (" NbCol=DCount(Ligne, "|") For i=1 TO NbCol IF i<NbCol THEN Ans := FIELD(Ligne, "|", i):"," ELSE Ans := FIELD(Ligne, "|", i) Next i Ans:="...
by besco
Mon Jun 14, 2004 7:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Delete rows in table Oracle
Replies: 9
Views: 2524

Delete rows in table Oracle

At the end of a job, I want to clean a temporary table in oracle. I need to keep this table but a cleaning is necessary. Indeed, If we need to start again the job, data will be add to the table and data of my job of front are too old. Help me please!!!
by besco
Mon Jun 14, 2004 1:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem Concatenation
Replies: 9
Views: 2785

It works now. I just have two Stage "Sequential File", with a bond between the two. Thanks very much for your answers !!
;)
by besco
Fri Jun 11, 2004 7:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem Concatenation
Replies: 9
Views: 2785

Chullet has rigth. I had already check the append option but it doesn't work.
by besco
Fri Jun 11, 2004 7:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem Concatenation
Replies: 9
Views: 2785

About this, i have my first row in differents files which is the name of columns. When I concatene all this files with a unique columns, I don't know how to keep only one time the first row in the final file. I obtain several times the row with column names. My idea is to extract in a file only the ...
by besco
Fri Jun 11, 2004 6:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem Concatenation
Replies: 9
Views: 2785

Problem Concatenation

I want to concatene 2 Sequential File in one Sequential File. Is it possible ?
When I test it, I have just DATA of one sequential file but not of the two. The structure is always the same (just one columns).
by besco
Fri Jun 11, 2004 2:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Create Table
Replies: 2
Views: 1160

Your idea about create a fixed table with extra-column plait me. I just have one table to manage, it's more simple. I have now a question about this. When my job is finished, I want to delete all the rows of a specific client in this table (something like : Delete from email_temp where client='trala...
by besco
Fri Jun 11, 2004 1:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem with Hashed File
Replies: 2
Views: 1254

Problem with Hashed File

When I match a Hashed File and a sequential File, I have this in the log :
0 rows read from Extract_BlackListeTotale. But my Hashed File has 80000 rows. I don't see where is the problem. Could you help me ?
by besco
Thu Jun 10, 2004 9:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: problème fonction oracle
Replies: 3
Views: 4139

Yes, you understood my problem. I had developped a new idea about it. I make my SQL statement in user-defined query of ODBC. it is :

Code: Select all

Select email, decode(pk_emv.test(email), email, 1,O) from TEMP;
I stock all adress mail in a temporary table called TEMP and it works marvelously !!

Happy DAY!!!
by besco
Thu Jun 10, 2004 9:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Create Table
Replies: 2
Views: 1160

Create Table

I don't know how to say to Datastage to create a table. I have a parameter that is the name of the client, and I want to create a table in oracle with this name like NomClient_email_temp. if the table exists, I keep the table in oracle. In the same level, I want to delete all data in a table at the ...