Search found 221 matches

by cosec
Tue Jun 19, 2007 10:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Need to Find Maximum Value in a Certain Column
Replies: 9
Views: 2729

Need to Find Maximum Value in a Certain Column

Before Loading Data to a Target DB2 Table I need to check if "Column A" exists in the Target DB2 Table. If it exists then I need to add one to the Value of a "Column B". For Example in a case like this: Target : Column A Column B A1234 1 A1234 2 A1234 3 Source : Column A A1234 Co...
by cosec
Tue Jun 19, 2007 2:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to Connect to DS Server
Replies: 4
Views: 1588

There are others using the Languae support on their local machine but they have no problem with accessing their jobs. the others did not specify NLS when installation and it still works why ??? How do I check the NLS Settings ??? Login with telnet. If that doesn't work, login on the server itself (m...
by cosec
Tue Jun 19, 2007 1:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to Connect to DS Server
Replies: 4
Views: 1588

How do I check the NLS Settings ???
ray.wurlod wrote:Login with telnet. If that doesn't work, login on the server itself (maybe using Remote Console). Check the NLS settings. Make sure they match the code page set for the Windows environment on your ...
by cosec
Tue Jun 19, 2007 12:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to Connect to DS Server
Replies: 4
Views: 1588

Unable to Connect to DS Server

I get the following error message. I tried to login locally to the DS administrator in order to check the NLS setting but yet it gives me the error. Pls help. "Invalid Universe mark characters have been sent from the server, code page 936 may not support these characters, or you may need to ins...
by cosec
Wed Jun 13, 2007 4:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Annotation/DEscription
Replies: 1
Views: 788

Annotation/DEscription

I am unable to view my jobs with the annotations.....and its disabled on the pallete. It was displayed fine the last time i opened it.....how can i resolve it ??
by cosec
Fri Jun 08, 2007 10:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is there a better way to handle nulls ???
Replies: 9
Views: 2406

Thanks for all your responses....I guess I have no choice but to handle all the columns for nulls.....I was looking for a simpler solution as I have an enormous number of jobs to alter....thanks again...
by cosec
Fri Jun 08, 2007 8:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Warning "cannot convert null....
Replies: 6
Views: 2144

I do the following to handle it if trim(Arg1) ="" then @null else trim(Arg1) Are you saying I have no other alternative but to validate every column ??? If you specify " " as the representation of NULL in this field, in the Columns grid, then " " will automatically be r...
by cosec
Fri Jun 08, 2007 8:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is there a better way to handle nulls ???
Replies: 9
Views: 2406

Is there a better way to handle nulls ???

Loading data from a fixed with Sequential File to a DB2 Table. Some of the records I load consists of null columns...they are of data type date, timestamp,char,integer,decimal for date and timestamp I use a validation for the null handling.... For the others data types if I dont validate I get warni...
by cosec
Fri Jun 08, 2007 8:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Warning "cannot convert null....
Replies: 6
Views: 2144

Done...but I thought there would be an easier way to handle it.....but what about the warning ? can i make it not specify it as a warning
chulett wrote:They are two different things. If you want spaces to be NULL in your target, explicitly convert them in your job. ...
by cosec
Fri Jun 08, 2007 6:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Warning "cannot convert null....
Replies: 6
Views: 2144

Warning "cannot convert null....

How Can I not have a warning incase a null value is being loaded from a fixed with sequential file to a db2 table ? how can I get datastage to treat spaces as null ? AdjBar..Transformer_6: At row 1, link "Output", while processing column "VERSION_NO" Value treated as NULL Attempt...
by cosec
Fri Jun 08, 2007 5:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: NULL Handling
Replies: 1
Views: 823

NULL Handling

When Loading From a Fixed Width Sequential File (Space between columns =1 ) how to handle null values....do I have to validate every column ? for eg In the transformer for date column and timestamp column I have a validation such as = If trim(Arg1)="" then @null else iconv(trim(arg1)) Is t...
by cosec
Fri Jun 08, 2007 1:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Trim Function
Replies: 3
Views: 1844

There are a few columns in the Sequential File that are Null but when loading to the target DB2 table I get a waring ssaying that the column had to be trancated or datastage cannot convert string " " ..... To avoid this I use the function Trim(Column Name). DataStage server doesn't care ab...
by cosec
Thu Jun 07, 2007 7:36 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Trim Function
Replies: 3
Views: 1844

Trim Function

For what data types should i use the Trim function ?


I read data from a sequential file and load to a target Db2 table...whether i use a trim function for a timestamp or not I get the desired results...but for a character type if i dont use a trim function i have errors...
by cosec
Thu Jun 07, 2007 5:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error with Date
Replies: 6
Views: 1821

Re: Error with Date

thanks guys I have a date field of the YYYY-MM-DD in a sequential file...When I load to the target table I am having an error as follows... how do i fix this LD_RMM_COLL_BAT..TRX_RMM_COLL_BAT_1: At row 113, link "Output", while processing column "COLL_DT" Value treated as NULL At...
by cosec
Thu Jun 07, 2007 3:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error with Date
Replies: 6
Views: 1821

expected date format YYYY-MM-DD Target database : DB2 sequential file is of the form YYYY-MM-DD but when i run the job i get the error specified in the earlier message... You start by informing us what the target database is, and what its expected date format is. Then you adjust your value according...