Search found 42189 matches

by chulett
Sat Jul 25, 2009 6:13 am
Forum: General
Topic: Constraints Set In Transformer Stage Don't Work
Replies: 13
Views: 4536

Not sure how I can. You are looking for nulls and there are none. Which means you need to check for 'empty' fields instead.
by chulett
Fri Jul 24, 2009 8:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Datastage client installation on citrix box
Replies: 3
Views: 4557

Ah... should have realized that was what was meant by "inbuilt DataStage functions", what with the DSU prefix. Which would imply there is no "known working fine" server installation behind it.
by chulett
Fri Jul 24, 2009 2:45 pm
Forum: General
Topic: Null Handling
Replies: 15
Views: 3991

You'd have to create a NullToValue transform as it does not ship with the Server product, but it is quite easy to write. Or do the equivalent IF-THEN-ELSE check directly in the derivation using IsNull() as noted.
by chulett
Fri Jul 24, 2009 2:41 pm
Forum: General
Topic: Constraints Set In Transformer Stage Don't Work
Replies: 13
Views: 4536

If an IsNull() constraint does not allow any rows to pass then there are no null values in the fields you are checking. Check for either an empty string or (if CHAR fields are involved) an 'empty' value of all spaces.
by chulett
Fri Jul 24, 2009 11:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Upgrade DataStage Server to lastest version
Replies: 4
Views: 2006

Easiest way is to simply install 7.5.3 over the top of your 7.5.1 installation and it will automagically upgrade everything. Make sure you have backups just in case! :wink: Or you could install 7.5.3 on a new server and then do a full Import of the 7.5.1 jobs into it but generally it is a very easy ...
by chulett
Fri Jul 24, 2009 8:27 am
Forum: General
Topic: Send files to email
Replies: 1
Views: 1026

Depending on the exact 7.x version you have, the Notification Activity stage in a Sequence job supports attachments. Otherwise you could always script a call to sendmail or your favorite command line mail tool and run that after job.
by chulett
Fri Jul 24, 2009 7:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Server Routine based on row count
Replies: 3
Views: 1640

Create a generic routine that uses DSGetLinkInfo() with DSJ.LINKROWCOUNT and call in it a Sequence job. Based on the output count, run the appropriate 'post' job.
by chulett
Fri Jul 24, 2009 5:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job run status in the server routine
Replies: 2
Views: 1236

That's easily solved. And regardless, I'll wager you can see the critical bit of information provided.
by chulett
Fri Jul 24, 2009 5:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: looping and restartability
Replies: 20
Views: 7166

I wasn't convinced myself until I watched it do it with mine own eyeballs for the first time many moons ago. 8)
by chulett
Fri Jul 24, 2009 5:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: GetAllBmkDynamicMovement - stored procedur isssue
Replies: 3
Views: 972

That may not be well supported in 8.0.1 or require a patch, perhaps a call to your official support provider is in order?
by chulett
Fri Jul 24, 2009 5:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to insert records into long columns like varchar(4000)
Replies: 8
Views: 3731

I guarantee you it was created in BYTES. :wink:

Perhaps simply changing the datatype in job to LongVarchar would help?
by chulett
Fri Jul 24, 2009 5:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: FileName Date Comparision
Replies: 3
Views: 1307

You can certainly use "cut" to get the portion of the filename you want. However, how you then compare that to get a number of days in a shell script I don't know off the top of my head, but I would assume some judicious googling would turn something up for you.
by chulett
Fri Jul 24, 2009 5:29 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Datastage client installation on citrix box
Replies: 3
Views: 4557

1,2: Sounds to me like you may not have a successful DataStage installation on that box, that or perhaps a permissions issue. Or maybe even both. I would suggest an uninstall and reinstall of the client there. I'm assuming you are connecting to a known 'working fine' Server installation and these is...
by chulett
Thu Jul 23, 2009 9:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SQL data type '%1' defined on column %2 is not supported.
Replies: 6
Views: 2739

You could try switching the DRS stage to ODBC or switching to the ODBC stage itself, it's the only one I'm aware of that will not care if the parameter markers (or lack thereof) do not match up to the columns in the stage. I personally know the ODBC stage supports this as I've taken advantage of tha...
by chulett
Thu Jul 23, 2009 9:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Remove file command
Replies: 3
Views: 1134

You can use DSExecute in the routine to run what's in the square brackets. Then check the output and delete the file when empty. And please people, stop piping cats - there's no need for that little bit of animal cruelty. DSExecute("UNIX","wc -l filename",ScreenOutput,Status) Whe...