Search found 162 matches

by laknar
Fri Sep 04, 2009 5:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Issue with variable
Replies: 7
Views: 2990

Andy is correct .
If the job parameter is "REPORT_DATE" then how is the value of "ReportDate" being derived?
by laknar
Fri Sep 04, 2009 5:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Import from fixed length file
Replies: 51
Views: 16400

Specify Record Delimiter= UNIX New Line or the file may be in DOS Format
by laknar
Fri Sep 04, 2009 4:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Issue with variable
Replies: 7
Views: 2990

this seams that ReportDate parameter is not specified for that job.
check the job parameters , the parameter name should be the ReportDate name.
by laknar
Fri Sep 04, 2009 3:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Import from fixed length file
Replies: 51
Views: 16400

your problem may be in last line.
check whether the last line contains new line character or line feed.
by laknar
Fri Sep 04, 2009 3:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem with decimal data
Replies: 4
Views: 1027

use substring function to extract

Code: Select all

decimalcolumn[1,11]:".":decimalcolumn[12,2]
by laknar
Fri Sep 04, 2009 2:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unique requirement to combine two files
Replies: 9
Views: 4114

why don't use the funnel stage
give union option there
by laknar
Thu Sep 03, 2009 3:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: In what scenario can we not use a hash file
Replies: 6
Views: 2121

hashed file stage remove duplicate data based on key value.
there will be count mismatch on the data flow. we need to avoid the hashed file as source.
by laknar
Thu Sep 03, 2009 3:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: LAST_DAY function in db2
Replies: 8
Views: 3677

select DATE('given_date') +1 month -day(DATE('given_date')) as lastday from tablename
by laknar
Thu Sep 03, 2009 3:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Import from fixed length file
Replies: 51
Views: 16400

Go to the columns tab and right click the column properties go to edit row specify the field length for each column. you can give the start position. after setting the property run the job again
by laknar
Tue Sep 01, 2009 11:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading file name having spaces
Replies: 5
Views: 2962

From next stage extract the filename from the full path.

Code: Select all

Field(Filenamecolumn:'/','/',4)
by laknar
Tue Sep 01, 2009 11:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: IF THEN ELSE
Replies: 6
Views: 1788

Sorry

Code: Select all

IF IsNull(ColumnA) Then '0' Else If (ColumnA='O13' or ColumnA='S10' or Trim(ColumnA='')) Then ColumnA Else '0'
by laknar
Tue Sep 01, 2009 10:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: IF THEN ELSE
Replies: 6
Views: 1788

Stage Variable1 ------------------------- IF IsNull(ColumnA) Then '0' Else If (ColumnA='O13' or ColumnA='S10' ) and ColumnB>0 Then ColumnB Else '0' Stage Variable2 ------------------------- IF IsNull(ColumnA) Then '0' Else If (ColumnA='O13' or ColumnA='S10' or Trim(ColumnA='')) Else '0' Have Constra...
by laknar
Mon Aug 31, 2009 2:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SIGSEGV error occured during loading the data
Replies: 26
Views: 17700

If source is a file. definitely this will be the file issue.

can you please post the source file format and job design. And do you have any constraints in transformer stage.
by laknar
Mon Aug 24, 2009 3:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Alphanumeric/Transformer
Replies: 1
Views: 1183

Read the column as varchar then

Code: Select all

If IsNull(columnname) then @NULL Else If Num(columnname)=0 Then Convert('a','0',columnname) Else columnname
by laknar
Sat Aug 22, 2009 12:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Ports to Open
Replies: 8
Views: 2227

check if there is any firewall.that may prevent client connections to server.

install the datastage client in local
give prvileage to developers to access the datastage server through remote client.