Search found 42189 matches

by chulett
Mon Jun 16, 2008 6:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: processing the file based on the string in the file.
Replies: 12
Views: 1988

Then please mark the topic as Resolved.

ps. You don't need the quotes around FOOTER_FILE. Don't hurt but they aren't needed. And the "-i" means "ignore case", something I wouldn't do in this case.
by chulett
Mon Jun 16, 2008 6:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to transform the given input to output format
Replies: 3
Views: 1094

Won't work as the Pivot stage does 'Columns to Rows'. I'd use a hashed file here, keyed by Name where you read and write to it in the same transformer. The first 'miss' gets the whole record written out with two of the three fields set to zero. Each 'hit' after that updates whatever month you are pr...
by chulett
Mon Jun 16, 2008 6:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: NotificationActivity + Sequencer
Replies: 3
Views: 1031

Re: NotificationActivity + Sequencer

Welcome! :D What I would suggest is, rather than use the Nested Condition stage, let proper triggers do all the work. Have an 'OK' trigger from each job that goes to the next Job Activity in the flow. Have an 'Otherwise' trigger (to catch everything but OK) from every job go to a single Sequencer se...
by chulett
Sun Jun 15, 2008 10:59 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Number
Replies: 27
Views: 8054

Import the job. First thing it does is 'clear' (delete) the existing job and then it is created with a new job number.
by chulett
Sun Jun 15, 2008 10:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Number
Replies: 27
Views: 8054

A job has a unique number regardless of if it runs successfully or not, which can change over the lifetime of the job. You can query DS_JOB for the number but I'm curious why you specified 'when it runs successfully'?
by chulett
Sun Jun 15, 2008 2:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compilation Error in Job with Transformer
Replies: 1
Views: 697

Re: Compilation Error in Job with Transformer

One of my job is failing during compilation with a wierd message. Important point to note is, this this job fails compilation intermittantly. Please explain what this means. It almost sounds like you are saying that you can keep clicking compile until it finally compiles correctly. Line 5460 : Erro...
by chulett
Sun Jun 15, 2008 1:56 pm
Forum: General
Topic: Removing missing or null warnings
Replies: 11
Views: 2900

Is that a question? If so, then, yes. Sure. You can choose any value you like to represent null that wouldn't otherwise appear in your data as long as you handle it consistently on both 'sides'. I've done that with '*' or '~' from what I recall.

Make sure you annotate this on the canvas. :wink:
by chulett
Sun Jun 15, 2008 9:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: processing the file based on the string in the file.
Replies: 12
Views: 1988

Is this in an attempt to ensure a file, which is being transferred to your system via ftp, is complete?

Me, I'd grep for the footer record and count the result:

Code: Select all

grep FOOTER_FILE <filename> | wc -l

0 = not there, 1 = there. Easy to make a decision from there.
by chulett
Sat Jun 14, 2008 5:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generating a formatted XML output
Replies: 11
Views: 2709

I'm sure there are many to pick from. The only one I know of off the top of my head is the one we use. It is called svalidate and is an XMLBeans tool from Apache. It is command line streaming (hence the 's') validation so can handle (as far as I know) pretty darn big files. Or at least it has handle...
by chulett
Sat Jun 14, 2008 4:35 pm
Forum: General
Topic: How to run the job as parameter driven
Replies: 6
Views: 1452

Is that a PX restriction? I use that macro in Oracle table names, file names, hashed file names, etc over on the Server side. :?
by chulett
Sat Jun 14, 2008 4:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generating a formatted XML output
Replies: 11
Views: 2709

Well... you really still need to take a close look at your XML around the "ABS" value to see what is actually there (if anything) besides those visible characters. A 'linefeed' was just a guess, if you've tried that and there was no change to the output, that suggests that you may not have implement...
by chulett
Sat Jun 14, 2008 2:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: parameters with $
Replies: 1
Views: 689

Don't specify a $ (or slash) on the left hand side. And where are you passing anything as parameters to the job? There's no -param included with dsjob in your example. $PROJDEF should already be set and isn't anything needing to be 'passed'. And lastly, are the blank ones being 'unset' or just somet...
by chulett
Sat Jun 14, 2008 1:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Passing Env variables through dsjob
Replies: 23
Views: 6134

What? $PROJDEF is 'job only' but $UNSET and $ENV are perfectly valid for use in the Administrator. I thought I should take a minute and clarify this. I've used both of the tokens noted above in the following circumstances: $UNSET An environment variable exists that one does not want set when their ...
by chulett
Sat Jun 14, 2008 1:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Using lookup fileset : getting error
Replies: 12
Views: 2981

:!: Please post questions in the correct forum. This one is for reporting problems with or making suggestions re: the site itself or specific forums here.