Search found 336 matches

by Raftsman
Mon Nov 20, 2006 12:58 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: User Status
Replies: 19
Views: 7922

User Status

Could someone please provide an example on how I might setup the userstatus variable and populate it. I have researched the guide and forum to no avail.

Thanks in advance.

P.s. I will be using the variable further on in a job sequence.
by Raftsman
Fri Nov 17, 2006 10:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Variables
Replies: 6
Views: 1869

Using the Job Sequencer, I am going to create a job that populates either a variable or record with the last DB2 value. The subsequent job will have a parm that contains the value from the previous job.
by Raftsman
Fri Nov 17, 2006 10:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Variables
Replies: 6
Views: 1869

In order to pass variables, how would I go about it.

Thanks
by Raftsman
Fri Nov 17, 2006 8:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Variables
Replies: 6
Views: 1869

Variables

I have a DB2 file that I will append records to. The key is incrementally increased by +1 for every record written. I don't know what the last key value is when I start adding. My plan was to do a count on the DB2 table, retrieve the last key value and pass it on to the transformer stage incrementin...
by Raftsman
Thu Nov 16, 2006 10:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup Stage
Replies: 3
Views: 1081

Lookup values are:

FieldA = Code_Table.FieldB

If match

move Code_Table.Desc to Target.FieldA

What I am trying to accomplish is Source FieldA contains IBQ and I want to change it to the code table value in the target field

I.e. Source FieldA = IBQ change it to the code table desc value
by Raftsman
Thu Nov 16, 2006 10:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup Stage
Replies: 3
Views: 1081

Lookup Stage

Has anyone ever experienced a lookup that matches the criteria and the values do NOT get changed. For some reason the source is carried to the target. I used a reject on the lookup stage but it never get triggered. I assume the match is working. Is there an easier way to debug this. I have Peek stag...
by Raftsman
Thu Nov 16, 2006 9:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup Stage - Multiple Keys
Replies: 1
Views: 895

Lookup Stage - Multiple Keys

Is it possible to search on multiple keys within one lookup stage. I use the same code table for two different fields from the same source

i.e. field1 = code.fieldA or
field2 = code.fieldA

Thanks
by Raftsman
Thu Nov 16, 2006 9:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify Stage - Combining Commands
Replies: 2
Views: 1013

Modify Stage - Combining Commands

Is there a way to combine the following command in the specification line of the modify stage. CD = string_trim[" ",end](substring[3,6](CD)) I get an error. The CD column is a VarChar type. I need to trim the spaces for the lookup stage. Even though I use substring, I must suppress the rem...
by Raftsman
Wed Nov 15, 2006 12:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup Stage - Problem
Replies: 7
Views: 3328

Question: Can you not use to different field names to make the lookup.

i.e. SYS_APLC_NM = Table.CD


The SYS_APLC_NM will match the Table Code
by Raftsman
Wed Nov 15, 2006 11:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup Stage - Problem
Replies: 7
Views: 3328

I set the environment variable to TRUE but I am not sure how to dump the schemas. Could you please let me know. thanks
by Raftsman
Wed Nov 15, 2006 10:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup Stage - Problem
Replies: 7
Views: 3328

It is a VarChar datatype
by Raftsman
Wed Nov 15, 2006 8:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup Stage - Problem
Replies: 7
Views: 3328

Lookup Stage - Problem

I am getting the following error and I am not sure why: Look_Code: Error when checking operator: Key field "SYS_APLC_NM" not found in input schema I joined two DB2 tables and then used the modify stage to remove spaces from the SYS_APLC_NM field. I can't understand why the lookup stage can...
by Raftsman
Fri Nov 10, 2006 1:30 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify Stage
Replies: 1
Views: 984

Modify Stage

In the Specification clause, can I combine functions

i.e. String_trim[" ",end](substring[3,6]field_A)

If not, is there another way
by Raftsman
Fri Nov 10, 2006 10:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup Stage
Replies: 7
Views: 3396

Lookup Stage - Multiple Keys

Is it possible to user to different key lookups in one lookup stage.

i.e. Field_A.input = B.Code_Table
Field_C.input = B.Code_Table

How do I join multiple fields to one Code table field.

Thanks
by Raftsman
Fri Nov 10, 2006 9:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup Stage
Replies: 7
Views: 3396

I used the modify to convert the CHAR to VARCHAR. Is there a performance difference between the MODIFY and TRANSFORMER stage? Which is better to use?

Thanks