Search found 16 matches

by NewPXUser
Thu Sep 01, 2005 9:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Performing a non-equal lookup
Replies: 1
Views: 1590

Performing a non-equal lookup

Hi, I need to perform a reference to table where the key includes the effective period. i.e. Key contains of 3 cols - Main Key, Effective From Dt and Effective To Dt. The source brings along the Main Key and event date. I need to obtain the record from the reference which was valid on that point of ...
by NewPXUser
Mon May 16, 2005 10:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to remove non-ascii char from a string
Replies: 4
Views: 5315

How to remove non-ascii char from a string

Can anyone give me an idea of stripping non-ascii chars from a string. For e.g. removing tab chars.
by NewPXUser
Fri May 13, 2005 8:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading rows using schema file
Replies: 5
Views: 3851

T42, With no disrespect, all I asked for is someone to point out what the mistake with the schema file defn that gives raise to the warning during runtime. i.e. is the data content not a decimal or must some special parameters need to be set to read the specified format etc. This is why I mentioned ...
by NewPXUser
Thu May 12, 2005 5:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading rows using schema file
Replies: 5
Views: 3851

Reading rows using schema file

Hi All, I am trying to read row from a sequential file using column defn from a schema file. The schema file has record ( account_number: decimal[4, 0]; phone_nbr: decimal[1, 0]; ) and the sequential file has 1111,1 2222,2 3333,3 4444,4 Questions: 1.) I am not able to view data unless and otherwise ...
by NewPXUser
Thu Feb 17, 2005 5:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: any function to right justify the values in a column
Replies: 8
Views: 6125

The derivation of writing to the output (link) column is

SpaceStr : TrimStr

Does that answer your question or was it different?
by NewPXUser
Wed Feb 16, 2005 5:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: any function to right justify the values in a column
Replies: 8
Views: 6125

From my experience (which is simple and straight-forward), try using stage variables in the way mentioned below. TrimStr <- Trim(YourLinkVariable) LengthStr <- Len(TrimStr) SpaceStr <- Space(50 - LengthStr) // where 50 is the length of the field. Change if different YourOutputColumn <- SpaceStr : Tr...
by NewPXUser
Tue Feb 15, 2005 11:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Resturcture Stages
Replies: 2
Views: 2187

Maybe what you need is

awk '{ for (i = 2; i<= NF; i++) { print $1 $i } }' <filename>
by NewPXUser
Tue Feb 15, 2005 11:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Uses of Copy and Modify over Transformer
Replies: 3
Views: 3150

Thanks for the information. Is it possible to get hold of any Orchestrate documentation so to gain some insight and understanding of its working. Even though I have good experience with C/C++, it is difficult to follow the flow of the internal files, configurations, working mechanism, methodology et...
by NewPXUser
Tue Feb 15, 2005 8:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Uses of Copy and Modify over Transformer
Replies: 3
Views: 3150

Uses of Copy and Modify over Transformer

Most of the features of copy, modify (and some of filter) stages can be performed using transform stage. Can someone suggest me when do we use the copy or modify stage instead of tranformer. I scanned through the answers and found replies mentioning implicit or explicit transformations. Can someone ...
by NewPXUser
Tue Feb 15, 2005 8:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reject from Seq output
Replies: 2
Views: 2365

Reject from Seq output

Can somebody please let me know on what situation does a reject link connected directly to an output seq stage gets fired with some values. The manual says 'for some reason' and can someone clarify what the 'some reasons' are?
by NewPXUser
Tue Feb 15, 2005 7:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: NULL trapping
Replies: 7
Views: 4258

Yes. You were correct. The 'Nullable' property was set to 'Yes'. On making it to 'No', the warning disappeared. Having said that, the error appear to be misleading (atleast for people like me). It says When checking operator: When validating export schema: At field "inputcol2": Exporting n...
by NewPXUser
Tue Feb 15, 2005 6:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: NULL trapping
Replies: 7
Views: 4258

Yep.

As mentioned the same problem exists when using Sequential input and sequential output with just 10 dummy hardcoded rows - of which none are blank or null.
by NewPXUser
Tue Feb 15, 2005 6:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: NULL trapping
Replies: 7
Views: 4258

NULL trapping

My job returned the message When checking operator: When validating export schema: At field "inputcol": Exporting nullable field without null handling properties I inserted a modify stage and tried both NullToValue and handle_null functions but still receive the same error. I have made a c...
by NewPXUser
Fri Feb 11, 2005 8:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: PX Jobs reports failure (code 255)
Replies: 9
Views: 8349

It uses a config file designed for 4 processors. It was the case from the time when it was running ok. The parallel jobs compile ok. All parallel jobs, however small including a 1 - 1 mapping, fail with this error. Can somebody tell me what this error imply? Also is there a list of error codes that ...
by NewPXUser
Fri Feb 11, 2005 8:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: PX Jobs reports failure (code 255)
Replies: 9
Views: 8349

As mentioned, the jobs were running file before and all configurations were setup as required.

Can you please be specific on what to look at and what to verify so it will be easy to trace the lead.