Search found 180 matches

by rafik2k
Tue May 22, 2007 2:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Using lookups
Replies: 13
Views: 3860

Re: Using lookups

Hi , Scenario: select * from product master; pcode desc --------------- 500 Edible oil select * from product_inv; Pcode stck_in_hnd rol ------------------------------ 1 10 20 250 20 30 500 30 40 I would like to have a resultset that has the following fields pcode desc stck_in_hnd ------------------...
by rafik2k
Tue May 22, 2007 1:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Using lookups
Replies: 13
Views: 3860

Oracle Stage -------------------> [Product_master] Transformer----------------> Oracle stage Oracle Stage -------------------> [Product_inventory] Where is your hash file/lookup table in your diagram? Follow the steps, what Craig mentioned in his reply. As you said All these pcodes 1 ,250 and 500 w...
by rafik2k
Tue May 22, 2007 1:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Can anybody help me fix this warning.
Replies: 7
Views: 2626

Can you post some sample data?
by rafik2k
Mon May 21, 2007 7:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unix- Dos Style Issue
Replies: 8
Views: 2979

CR is carriage return or Cursor Return :( DOS-Line-Termination is CR and LF ( CR=Cursor Return CHAR(13), LF=Line Feed CHAR(10). UNIX-Line-Termination is only LF Important is to write and read with the same kind of termination. If you mix them up you get an error. (to much colums). You can use both k...
by rafik2k
Mon May 21, 2007 7:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to kill or release a DS job.
Replies: 7
Views: 3648

Here is one for u.
viewtopic.php?t=109565

Make sure you have deleted your post :D
by rafik2k
Mon May 21, 2007 7:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Current Timestamp in to DB2
Replies: 10
Views: 3883

First try to insert one dummy row with timestamp value '2007-05-21 15:21:00' into target db2 table, and see what output you get. If it's ok then you can try following code. I am using following format to generate current db2 timestamp in my jobs. you can try oconv(@Date,"D-YMD[4,2,2]"):&qu...
by rafik2k
Mon May 21, 2007 7:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Current Timestamp in to DB2
Replies: 10
Views: 3883

I am using following format to generate current db2 timestamp in my jobs.
you can try

Code: Select all

oconv(@Date,"D-YMD[4,2,2]"):" ":Oconv(@TIME,"MTS")

Result = 2007-05-21 15:21:00
by rafik2k
Thu May 17, 2007 12:48 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Validate the Date
Replies: 5
Views: 2000

Code: Select all

Job Type: Parallel 

Are you using server job or parallel job?

In case of parallel job you can't use iconv/oconv function.
by rafik2k
Tue May 15, 2007 12:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reading the Hash file
Replies: 9
Views: 3151

Hi , Thanks for the reply here is my job design : ODBC STAGE(SOURCE FILE) -------> HASH FILE-------------->TRANSFORMER STAGE----------->ODBC STAGE(TARGET) AND I HAVE ONE LOOK UP ODBC STAGE I am getting everytime some weird warning when i ran for the first time i got abnormal termination of stage an...
by rafik2k
Tue May 15, 2007 12:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Authentication problem in DataStage 8
Replies: 16
Views: 10223

It's Windows 2003 server edition,
BTW IBM gave new version of datastage 8.0.1, But we didn't test it yet.
by rafik2k
Mon May 14, 2007 7:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Count the sum of of records in a particular column
Replies: 8
Views: 1897

In output link in aggregator stage, what devivation value you have?
You don't need any group by clause

You will have value like this

Code: Select all

OUTPUT_column_name		derivation
C1				SUM(INPUT COL1)
C2				SUM(INPUT COL2)
C3				SUM(INPUT COL2)
by rafik2k
Mon May 14, 2007 2:11 am
Forum: General
Topic: row to column
Replies: 3
Views: 1992

Input ==== col1 col2 col3 A,B,C,D,E,F,G a,b,c,d,e,f,g P,Q,R,S,T,U,V It's not displaying values for each column correctly. The value of col1 is till first space(i.e A,B,C,D,E,F,G ), and the value of col2 is till second space i.e.( a,b,c,d,e,f,g ) and for col3 is ( P,Q,R,S,T,U,V ). Presently i am cre...
by rafik2k
Mon May 14, 2007 1:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Can I use Insert or update statement in User defined sql?
Replies: 9
Views: 2279

Can you post the sql you are using insert or update?

Also post log error message for that
by rafik2k
Mon May 14, 2007 12:49 am
Forum: General
Topic: row to column
Replies: 3
Views: 1992

row to column

Input ==== col1 col2 col3 A,B,C,D,E,F,G a,b,c,d,e,f,g P,Q,R,S,T,U,V Output ==== col1 col2 col3 A a P B b Q C c R D d S E e T F f U G g V I have implemented this I have taken input data into a Transformer, where using Ereplace(DSLink2.inputColumn, ",", CHAR(13):CHAR(10)), i have converted e...
by rafik2k
Fri May 11, 2007 6:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Join multiple DB2 tables
Replies: 7
Views: 2133

ray.wurlod wrote:U isn't performing the query. bpaje is.
:roll:
Ray, ofcourse It's not me..
But I had similar kind of issue while joining multiple source table.