Search found 6 matches

by zendo59
Tue Mar 04, 2008 5:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Removing all characters before a certain type of character
Replies: 6
Views: 2053

Thanks guys. FIELD worked like a charm!
by zendo59
Tue Mar 04, 2008 4:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Removing all characters before a certain type of character
Replies: 6
Views: 2053

Removing all characters before a certain type of character

In a Transformer stage

I have a field defined as Varchar (50) which contains values like

CBAIB\jon
CBAIB\fred
PBS\jon
XXXX\xxx

I need to strip off the \ and all characters preceding it so the output will look like

jon
fred
jon
xxx

Can someone point me in the right direction?

Thanks in advance.
by zendo59
Thu Feb 28, 2008 4:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Filtering on contents of Integer field
Replies: 5
Views: 1855

I tried:

FieldName[1:1] = 7

FieldName[1,1] = 7


Don't laugh................... I am an old mainframe programmer....
by zendo59
Thu Feb 28, 2008 4:30 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Filtering on contents of Integer field
Replies: 5
Views: 1855

Filtering on contents of Integer field

We have a pipe-delimited source file. One of the fields is defined as integer. We want to filter the file and only keep records where the 1st character of this integer field is 7 e.g 7, 777, 700000 I can't seem to get this to work in a Filter stage. Can anyone give me some tips? Thanks in advance.
by zendo59
Thu Feb 28, 2008 4:21 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Is it possible to only run certain stages in a job?
Replies: 5
Views: 2095

Is it possible to only run certain stages in a job?

New to datastage.

I want to temporarily "disconnect" last few stages from a job during testing.

We have been making a copy of the job and manually deleting the last few stages.

Is there a 'better' way?

Is it possible to somehow tell it only run certain stages?

Thanks in advance.