Search found 42 matches

by gaya3
Thu Feb 04, 2010 1:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: trunc a decimal number to the X position
Replies: 6
Views: 3364

you can use the oconv format function for decimal conversions.

Oconv(1234.567, "MD20T") will give 1234.56 without rounding off. Replace '2' in MD20T with the number of decimal places that you want in your output.
by gaya3
Mon Jan 04, 2010 4:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error connecting to AS400 file
Replies: 18
Views: 9322

We have done the same Craig...waiting for their reply...

Thanks for your help!
by gaya3
Mon Dec 21, 2009 1:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error connecting to AS400 file
Replies: 18
Views: 9322

Hi,

When we set the $DB2CODEPAGE vlaue to 1208, we are able to successfully run the job, but the special characters are not sent to the output correctly!!!

Can anybody suggest what needs to be done in order to read a Latin-2 data in DataStage?

Thanks.
by gaya3
Thu Dec 17, 2009 12:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error connecting to AS400 file
Replies: 18
Views: 9322

Hi Craig, These are the steps followed to set the codepage at the job level. Add the environment variable $DB2CODEPAGE in the job parameters and set the default value as 912. From the NLS tab of the Db2 stage, select the option IS08859-2. This is because, the AS400 library from which we are trying t...
by gaya3
Wed Dec 16, 2009 7:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error connecting to AS400 file
Replies: 18
Views: 9322

No Ray, this happens even in other existing projects. To add more information from our analysis, the source database codepage is Latin -2 and the DataStage default is Latin -1. We are trying to set the codepage corresponding to Latin-2 which is 912 to the environment variable $DB2CODEPAGE in the job...
by gaya3
Mon Dec 14, 2009 4:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error connecting to AS400 file
Replies: 18
Views: 9322

The files do have data. From more analysis, when I try to query just a single column which has numeric data, I am able to see the contents from the same file/AS400 library. The issue is only when I try to view data from a character column. I get two kinds of error which keep changing at random. Eith...
by gaya3
Fri Dec 11, 2009 8:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error connecting to AS400 file
Replies: 18
Views: 9322

I am extremely sorry to have confused. Since the original job was aborting I designed a new job with just the three stages and the message in my last post comes when I view the data in the Db2 stage itself. The error message that comes in the job log (director) for this simpler job is testjob..Trans...
by gaya3
Fri Dec 11, 2009 8:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error connecting to AS400 file
Replies: 18
Views: 9322

This is the error message shown when I try to view the data, if it helps

testjob.DB2_UDB_API_0: /?( and one blank space)
by gaya3
Fri Dec 11, 2009 7:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error connecting to AS400 file
Replies: 18
Views: 9322

It is a very simple job.

DB2 Stage --> Transformer --> Sequential File

Even when I try to view data in teh DB2 stage I am not able to see the data properly. Sometime it throws a DataStage repository error message and at times it shows junk values in all columns.
by gaya3
Fri Dec 11, 2009 7:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error connecting to AS400 file
Replies: 18
Views: 9322

Hi Chulett,

There is no other error message even when I reset the job. It just shows this message. Any clues on how to attack teh problem?
by gaya3
Fri Dec 11, 2009 7:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error connecting to AS400 file
Replies: 18
Views: 9322

Error connecting to AS400 file

Hi, I get a fatal error when I try to run a DataStage job connecting to a AS400 file. The job is trying to read from a AS400 file and write to a hashfile. The error message is not very clear. It shows HashfilestageName.IDENT3: |-100|. This error message comes only with a new library file created in ...
by gaya3
Wed Jul 29, 2009 8:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Merge Stage Warning
Replies: 4
Views: 1846

Hi Sainath, after you put that question I just noticed that the line termination was Dos style. I changed it to Unix style and it works fine now.

Thanks!
by gaya3
Wed Jul 29, 2009 8:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Merge Stage Warning
Replies: 4
Views: 1846

It is comma for both the input files.
by gaya3
Wed Jul 29, 2009 7:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Merge Stage Warning
Replies: 4
Views: 1846

Merge Stage Warning

Hi, I am trying to use the Merge stage for the first time and I am not seeing expected results. My first input file: 1111,aaaa My second input file: 1111,bbbb and my ouput file is : 1111,1111,aaaa ,bbbb whereas what I expected was 1111,1111,aaaa,bbbb what could be going wrong? I have set the propert...
by gaya3
Wed Jul 29, 2009 1:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DB2 version upgrade
Replies: 4
Views: 2576

Hi cpppwiz,

Thanks for the information. I think the option you have provided is for enterprise edition. But mine is a server edition. Any idea on whether the server edition 8.0.1 will go well with db2 9.5?

Thanks,
Gaya3