Search found 85 matches

by vigneshra
Sun Mar 13, 2005 3:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: I want to load system date
Replies: 7
Views: 1553

Hi Ranga, Why cannot you put CurrentDate() in the derivation part of the field. What is the need for you to go for stage variables and @date function. I don't know because I used to work with DB2 database and I don't know about Oracle OCI stage. I just wanted to make sure that you know about the Cur...
by vigneshra
Wed Mar 02, 2005 7:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Before-SQL - To be committed only after the job finishes
Replies: 6
Views: 1949

Thanks Roy! Actually if we try to run the job with DB2 API, the job runs forever and if we try to abort, the table space gets corrupted and we need to rebuild the table once again. When we consulted with ETL, he suggested to go with Enterprise stage. So I was asking if there is any option to achieve...
by vigneshra
Wed Mar 02, 2005 6:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Before-SQL - To be committed only after the job finishes
Replies: 6
Views: 1949

Before-SQL - To be committed only after the job finishes

Hi We have a problem. We have to load a table using a user-defined insert query and we are doing it by just passing a dummy row to the DB2 plugin and triggering the insert query. Here before inserting we need to disable the redo logging for the table because the volume of insert is quite large and l...
by vigneshra
Mon Feb 28, 2005 9:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to read this file?
Replies: 6
Views: 2358

Hi Instead of juggling with DS logic, better you use grep command and seperate the records based on the value in the first column and put the records in seperate file. Later develop jobs for these individual files. That would be a better option to do if the number of values the first column can take...
by vigneshra
Fri Feb 25, 2005 6:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Join: When checking operator: Dropping component
Replies: 11
Views: 5424

Hi Vivek It's simple and straight forward! You are having a column (non-key column) in both the datasources for the join stage. Depends on your link ordering it picks the column from the driving datasource and dropping the other column with the same name from the other datasource. Just look into tha...
by vigneshra
Thu Feb 24, 2005 8:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SQLCODE - Upsert
Replies: 14
Views: 5889

Hi akrzy,
Just double-click the stage from which the link to the reject file arises (It may be a transformer or a database stage itself). Go to the column tab and find the check-box at the bottom left. Just uncheck and your problem will be solved! I don't know any other way to explain :D
by vigneshra
Thu Feb 24, 2005 5:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing a Job Parameter for picking up a dynamic File Name
Replies: 10
Views: 4294

Hi
Declare a parameter in the job for holding filename. From the shell script you call the job, just get the name of the file from the specified directory (since the only file in the directory is the required file), and pass it as the job parameter to the job. That solves the problem!
by vigneshra
Thu Feb 24, 2005 5:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: which stage is more efficient: Lookup, Join or Marge
Replies: 5
Views: 2700

akrzy,

Can you approximately tell what is the volume of the data your job is going to handle? The answer will be more crisp if you provide the detail of the volume of data. But generally, what Saravanan says will be more applicable.
by vigneshra
Thu Feb 24, 2005 4:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SQLCODE - Upsert
Replies: 14
Views: 5889

Hi akrzy,
As Arnd says, you need to turn off the column propagation for the reject link. That will solve the problem. Again, I raise a question here. What is the impact in the performance on turning on/off the column propagation option? Is it significant?
by vigneshra
Thu Feb 24, 2005 4:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: file should be cleared after taking values from the file
Replies: 5
Views: 2043

Rajiv It's quite simple! You can use a shell command as an after job subroutine like echo '' > File1 . Care should be taken to set the option that this command should execute only if the job completes successfully or otherwise you will lose your file. Alternatively you can also achieve this by calli...
by vigneshra
Thu Feb 24, 2005 3:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Can two jobs append to the same sequential file simultaneous
Replies: 7
Views: 2775

Hi Vivek,
As described in one of the previous post, it is a better idea to keep different names for the files and after all the jobs are executed, just merge all the files using a batch script. That's a neat and simple way of doing it. Any more ways? :roll:
by vigneshra
Wed Feb 23, 2005 8:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to split data into files?
Replies: 15
Views: 5840

Vivek,

As far as I could think, it's impossible to do in DataStage because in DataStage each output file you are writing into should be determined at the time of job development. One thing I can suggest you is that it can be done using DOS batch files. Please try that and let us know the result.
by vigneshra
Mon Feb 21, 2005 11:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Avoiding the stripping of single quote character
Replies: 9
Views: 5069

Hi Nothing including one, two or three single quotes in place of one single quote is working. Is it a bug in DataStage? Is it fixed in latest version? We are using 7.0.1 ! Is there any other work around to achieve this? Craig, there is no such option called SQL file in DB2 enterprise stage. I though...
by vigneshra
Mon Feb 21, 2005 6:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Avoiding the stripping of single quote character
Replies: 9
Views: 5069

Thanks Matthieu,
But even both the slashes did not work! Any other way of doing it?
by vigneshra
Mon Feb 21, 2005 6:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Avoiding the stripping of single quote character
Replies: 9
Views: 5069

Avoiding the stripping of single quote character

Hi All We are facing a peculiar problem for which we need a solution. We are passing an entire query to DB2 Enterprise stage as a parameter. The query has lot of conditions which includes lot of single quote characters. The problem we are having here is, whenever we try to pass the query as a parame...