Search found 154 matches

by DS_MJ
Thu Jun 07, 2007 9:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle error - input dataset '0' is NULL
Replies: 8
Views: 4528

Are you getting any warnings ? Can you send me your date format ,is it a date or time stamp field? My source Table for COL_DT Type = Date, Length = 10 and Nullable = Y. My Target Table for COL_DT is Type = Timestamp, Length = 23 Scale = 3, Nullable = Y. I am doing DateToString conversion. Yes I am ...
by DS_MJ
Thu Jun 07, 2007 8:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle error - input dataset '0' is NULL
Replies: 8
Views: 4528

Try this If IsNull(Col1)= 1 then SetNull() Else Trim(Col1). Hello samsuf2002: Thanks for your quick response. I tried the following: If IsNull(Opportunity_Product_lkp.COL_DT) = 1 then SetNull() Else Trim(DateToString(Opportunity_Product_lkp.COL_DT,"%yyyy-%mm-%dd"):' 00:00:00.000') The job...
by DS_MJ
Thu Jun 07, 2007 8:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle error - input dataset '0' is NULL
Replies: 8
Views: 4528

Hello: I am getting the same error. The Job Flow is as follows: DB2 | \|/ Lookup --------->Transformer -------->MSSQL Tbl /|\ | | Agg | | | Dataset(s) Dataset Verified: On the Metatable Table COL_DT is Type = Date, Length = 10 and Nullable = Y. My source Table for COL_DT Type = Date, Length = 10 and...
by DS_MJ
Fri May 04, 2007 9:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Interpretation in PX b/w Lnk.NOTFOUND and NOT(Lnk.NOTFOUND)
Replies: 5
Views: 1361

Not(IsNotNull(Input_Col)) = NOT(reflink.NOTFOUND)...?
by DS_MJ
Fri May 04, 2007 9:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Interpretation in PX b/w Lnk.NOTFOUND and NOT(Lnk.NOTFOUND)
Replies: 5
Views: 1361

Interpretation in PX b/w Lnk.NOTFOUND and NOT(Lnk.NOTFOUND)

In Server job the stream going to the hashed file will have constraint reflink.NOTFOUND and for the reject it will be NOT(reflink.NOTFOUND) . Is this correct...? In PX the constraint for reflink.NOTFOUND = IsNOTNULL(input_colName) and Reject link = IsNull(Input_Col_Name) Also, how do i interpret ser...
by DS_MJ
Wed May 02, 2007 11:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Null record drop warinig
Replies: 8
Views: 2080

Hello Problem resolved:

Code: Select all

If IsNULL(Appointment_Data_lnk.ORIG_ISSUE_DT then SetNull() Else DateToString(Appointment_Data_lnk.ORIG_ISSUE_DT,"%yyyy-%mm-%dd"):' 00:00:00.000'
by DS_MJ
Wed May 02, 2007 10:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Null record drop warinig
Replies: 8
Views: 2080

I am geeting the same error but for a timestamp field. APT_CombinedOperatorController,1: Field 'UP_FOR_RENL_DT' from input dataset '0' is NULL. Record dropped. COL_DATE is set to Nullable COL_DATE is a Timestamp field. This col on source side is a date col and on the target its a Timestamp col. I co...
by DS_MJ
Mon Apr 30, 2007 8:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup and DataSet Partitioning
Replies: 2
Views: 798

So initial lookup job do the following: Job1 DB2 Table ---> Transformer ----> Dataset_A Now to flip the key columns I do the following: Job2 Dataset_A --->Transform------>Dataset_B Some jobs use Dataset_A and some jobs use Dataset_B. However I am told I can use the Dataset_A with the copystage to fl...
by DS_MJ
Mon Apr 30, 2007 8:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup and DataSet Partitioning
Replies: 2
Views: 798

Lookup and DataSet Partitioning

Hello: In the job I do a lookup on the DB2 Dimension table and output it to a Dataset. This is a seperate job. So I pull the COL_KEY (PK) and COL_ID (FK) into the DataSet. QUESTION: Can I inverse the key column and use this Dataset for lookup.....? So I set the COL_ID to be my Primary key col and CO...
by DS_MJ
Thu Apr 26, 2007 12:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SetNull() in Stage Variable
Replies: 7
Views: 5156

Integer Stage variable and setting it to null

PX 7.5.x version.

What about a Integer Stage variable and setting it to null. How does one do it...?

I do not have a premium membership access.

Thanks.
by DS_MJ
Fri Apr 06, 2007 12:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: StringtoTimestamp + Substring
Replies: 2
Views: 938

ray.wurlod wrote:Just lose the Substrings() functions - the square bracket notation is sufficient to represent substringing. Also lose the Oconv() specification!

Code: Select all

StringToTimestamp(EXTRACTENDDT[1,4] ...[/quote]

Thanks Ray.
by DS_MJ
Fri Apr 06, 2007 10:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: StringtoTimestamp + Substring
Replies: 2
Views: 938

StringtoTimestamp + Substring

Hello All: I have in my job properties - Parameters the following: EXTRACTSTARTDT String 19000101000000000 EXTRACTENDDT String 20060906123746890 Target Table (MSSQL) Target_column_Name Timestamp 23,3 (Len,Scale) I am trying the to load the Parameters into the target table by using substring along wi...
by DS_MJ
Thu Mar 29, 2007 1:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Output Link Variable - OTHERWISE for Reject
Replies: 9
Views: 21126

Hello DSguru2B: What if I checked the little box in the transformer that says otherwise / log - where I put the constraint for if not null then load into the target. then get a reject link out of transformer to a dataset. Would it then capture rows rejected other then the not null into this link? Th...
by DS_MJ
Thu Mar 29, 2007 1:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Output Link Variable - OTHERWISE for Reject
Replies: 9
Views: 21126

No problem. Use another DRS stage to load the same error table. Or collect your rejects in a single file and then load it to the error table in another job or so. I thought that I could create a reject link going to a seq file and in another job used this DataSet file to load into the Error table h...
by DS_MJ
Thu Mar 29, 2007 12:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Output Link Variable - OTHERWISE for Reject
Replies: 9
Views: 21126

An Dynamic RDBMS - DBMS Type is MSSQL server.