Search found 105 matches

by JeroenDmt
Tue Jul 17, 2007 5:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Last Date of Previous Month
Replies: 11
Views: 6371

Prashantoncyber wrote:Tried by but not fetching proper result.
Looks like need some other approach.

Thanks
Prashant
The approach is correct.
Try

Code: Select all

DateFromDaysSince(-1,StringToDate(DateToString(CurrentDate(),'%yyyy-%mm-%dd')[1,8]:'01'))
by JeroenDmt
Wed Jul 11, 2007 4:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Set auto purge through command line
Replies: 5
Views: 1910

If you are creating a new environment (new project) its the right time to set the auto purge settings in Adminstrator client. As the setting will affect only the newly created job afte that setting. Rathere than fiddling with the script. Yes, I guess that's the best option then. I was hoping I coul...
by JeroenDmt
Wed Jul 11, 2007 3:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Set auto purge through command line
Replies: 5
Views: 1910

Set auto purge through command line

Is it possible to set the auto-purge of the job log for a project through the command line? I'm trying to make a unix script to set all the project properties in Administrator to make the move to another environment easier. For most properties I can use the dsadmin command, but I don't see any optio...
by JeroenDmt
Mon Jul 09, 2007 1:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Load Vs Upsert in Oracle Enterprise Stage
Replies: 5
Views: 2483

It's in the scratch directory that is set in your configuration file.
Usually it's something like ../Ascential/DataStage/Scratch
by JeroenDmt
Fri Jul 06, 2007 12:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Number of processors used
Replies: 8
Views: 3241

I don't think you will be able to appreciate the parallel capabilities on a 2 cpu server. You probably won't get much performance variation using 1, 2, or 4 node pools that couldn't be attributed to process task switching overhead. What configuration would be "good enough" to see those di...
by JeroenDmt
Wed Jul 04, 2007 7:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Number of processors used
Replies: 8
Views: 3241

Re: Number of processors used

can you post the cofigurations like partitioning schemes used in your job there are more possibilities but first of all check this The partitioning is all set to default since it's just a test. I don't think that should really make a difference here. I checked the distribution of the data over the ...
by JeroenDmt
Wed Jul 04, 2007 6:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CDC and comparing NULLS
Replies: 7
Views: 4031

Re: CDC and comparing NULLS

Is the data you read in from the csv file and the data you read in from the database table both indeed NULL after you read them in datastage? If you insert a peek stage for both of them and look at the actual values, do they show NULL or may an empty string? For the csv file to regard an empty strin...
by JeroenDmt
Wed Jul 04, 2007 5:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Number of processors used
Replies: 8
Views: 3241

Re: Number of processors used

Apparently I do have to read the books again. According to the unix operator my first job hardly used any CPU at all (probably it was too busy reading and writing to even need 2 CPU's). Another test jobs that required more processing (sequential file -> column importer -> sort stage -> dataset) appe...
by JeroenDmt
Wed Jul 04, 2007 5:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Number of processors used
Replies: 8
Views: 3241

Number of processors used

We are having a new server with supposedly 2 processors. I was curious to see the performance difference between running parallel jobs using 1 or 2 processors, so I made a few testjobs and ran them using a 1 /2 /4 node configuration file. I know the nodes don't necessarily correspond to different pr...
by JeroenDmt
Wed Jul 04, 2007 3:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Player 3 terminated unexpectedly
Replies: 1
Views: 1425

Player 3 terminated unexpectedly

Since a few days we're having a new datastage served installed (same version 7.5.1.A as on the old server, but a different machine). When running some jobs on the new server, I'm now and then getting fatal error messages node_node2: Player 3 terminated unexpectedly. main_program: Unexpected terminat...
by JeroenDmt
Wed Jun 27, 2007 1:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Complex logic
Replies: 5
Views: 1762

JoshGeorge wrote:Also add the constraint NOT(IsNull(indata.Col1)) in transformer :)
Oops, yes, that would be useful too :)
by JeroenDmt
Wed Jun 27, 2007 1:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Complex logic
Replies: 5
Views: 1762

Re: Complex logic

You can use a stage variable in a transformer to hold the parent value. If you define the stagevariable svParent as: if IsNull(indata.Col1) then indata.Col2 else svParent The value of this variable will change if a new parent record is found, and stay the same if child records are found. Then you ca...
by JeroenDmt
Fri Jun 15, 2007 2:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: if then else problem
Replies: 7
Views: 2824

Re: if then else problem

you need to add two extra 'end' statements before the 'else'
So it will be

Code: Select all

if arg1= '+' then 
res=a1+a2 
end
else 
if arg1='-' then 
res=a1+a2 
end
else 
if arg1='*' then 
res=a1*a2 
end 
end 
end
Then it compiles correctly.
by JeroenDmt
Fri Jun 01, 2007 7:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date plus months
Replies: 6
Views: 2257

you can convert the date to string. Separate the date month and year using Field or any similar function. Now increment the month and concatenate all three. And convert it back to date. Now if the month is 12 then you need to increment the year and the month to 1. Check for that condition before co...
by JeroenDmt
Fri Jun 01, 2007 1:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle relational stage aborts
Replies: 6
Views: 3143

I have seen people say before that you can specify the directory where the files are written like that. But the last time I tried it, you can specify a file , not a directory. In this file you get the sql loader command that would have been executed, which you can then execute yourself, and the file...