Search found 6797 matches

by DSguru2B
Fri Apr 06, 2007 1:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Checking to see if a DS job is compiled
Replies: 4
Views: 1179

You sure you want to do that. Why exactly do you want to do that?
A compiled job will only return a NOTRUNNING(99) status.
by DSguru2B
Fri Apr 06, 2007 1:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Checking to see if a DS job is compiled
Replies: 4
Views: 1179

What do you mean by "compiled from command line". You can only reset a job via a shell using dsjob command.
by DSguru2B
Fri Apr 06, 2007 12:55 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Migraton ISSUE
Replies: 10
Views: 2308

ds_developer wrote:View Data does not use user defined environment variables well. You have to type in the values when it prompts, you can't just use $PROJ_DEF.

Thats why I asked for DataStage version. They fixed that in 7.5 and the OP is on 7.5.1, so that should not be an issue.
by DSguru2B
Fri Apr 06, 2007 12:44 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Duplicate Row Issue
Replies: 10
Views: 3009

Did you try giving method a shot. Its easy and painless with no sorting involved. It will retain the first record of a key in the order it came in.
by DSguru2B
Fri Apr 06, 2007 9:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Migraton ISSUE
Replies: 10
Views: 2308

Thats odd. What version of DataStage are you using? Sounds like a bug.
by DSguru2B
Fri Apr 06, 2007 9:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Duplicate Row Issue
Replies: 10
Views: 3009

Why isnt reverse sorting possible? Any who,
Another approach is , that you can write to a hashed file and reference the same hashed file. If the key is found dont write it again. Hence your constraint will be reflink.NOTFOUND.
Make sure your hashed file is locked for updates.
by DSguru2B
Fri Apr 06, 2007 9:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Possibility of running many Mutiple Instances concurrently
Replies: 13
Views: 4075

You can write a short before job subroutine that checks what instance it is and pause accordingly. SLEEP command can be used.
by DSguru2B
Fri Apr 06, 2007 9:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: trim
Replies: 9
Views: 2032

First of all, its bad ettiquetes to use all caps as its a sign of shouting. Second of all, you should have mentioned this before that its a fixed width file. A fixed width file will be loaded with spaces to honor the length of the field. But that is if the type is set as 'char'. Keep the spaces as i...
by DSguru2B
Fri Apr 06, 2007 9:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: trim
Replies: 9
Views: 2032

vi the file, press the $ key by holding down the Esc key, does the currsor end up on the last character or after the last character? You might be seeing spaces in the view data but thats just the display definition. There might not be a space.
by DSguru2B
Fri Apr 06, 2007 9:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: trim
Replies: 9
Views: 2032

What is your source datatype? Specify both source and target as varchar (not char). Also try with just TRIM(FIELD)
by DSguru2B
Fri Apr 06, 2007 9:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: trim
Replies: 9
Views: 2032

Trim by setting the type as varchar.
by DSguru2B
Fri Apr 06, 2007 6:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: load method giving fatal error
Replies: 4
Views: 875

you need to look in the .bad file for more log messages.
by DSguru2B
Fri Apr 06, 2007 6:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Read From Dataset is slow
Replies: 6
Views: 1472

This is the phenomenon that Ken likes to call 'back pressure'. Your target stage can only handle the numbers you see.
by DSguru2B
Fri Apr 06, 2007 6:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Performance while loading target database table
Replies: 30
Views: 10134

I think this is not a problem. As noted, a lot of factors are involved. If you dont like this, extract your data onto a file and bulk load the data. That otta make you happy.
by DSguru2B
Thu Apr 05, 2007 7:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Loading the Target
Replies: 13
Views: 3150

Its a transform functioin. Its syntax is exactly what I gave you.

Code: Select all

DIGITS(in.Col)

where in.Col is your incoming column.
You can also use OCONV with MCN.

Code: Select all

OCONV(in.Col, "MCN")