Search found 6797 matches

by DSguru2B
Tue Mar 13, 2007 9:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: call DSGetLinkInfo from a trigger
Replies: 19
Views: 7422

Thanks Ray ji. Its obvious, but I was'nt sure.
by DSguru2B
Tue Mar 13, 2007 8:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Log of a Individual Job in a Sequence
Replies: 32
Views: 6214

However I missed a point in my earlier post. I don't retrieve logs unless a job fails. However I have seen that even if job B aborts, seq job S returns a jobstatus=1. Isn't that misleading? Thats becuase you have "Automatically handle failures". Uncheck that, this way you will have atleast a warnin...
by DSguru2B
Tue Mar 13, 2007 6:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: trim trailing characters
Replies: 7
Views: 1089

ray.wurlod wrote:Probably. Write it yourself in C, just to prove the point.

Nah. Even if there is a difference, it must be negligible.
by DSguru2B
Tue Mar 13, 2007 5:46 pm
Forum: General
Topic: Median Calculation
Replies: 36
Views: 10179

Or, load a hashed file with your data and tweak the routine I posted to read that particular coclumn and retrieve the Median.
by DSguru2B
Tue Mar 13, 2007 5:44 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Log of a Individual Job in a Sequence
Replies: 32
Views: 6214

Thats a good idea, to retrieve logs for every job. But if you need for a the job that failed then as advised earlier, you need to come up with a way to, from the log, get the job name that failed.
by DSguru2B
Tue Mar 13, 2007 5:41 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date conversion to SQL server
Replies: 24
Views: 6030

pavanns wrote:i tried doing it with varchar all the way but does not work as it says cannot insert null into the column.

Is it possible that your getting null from source and trying to insert to a not null column?
None of the rows get inserted?
by DSguru2B
Tue Mar 13, 2007 5:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Application Error Designer closes
Replies: 22
Views: 5364

Craig, have any other bright ideas :idea:
:wink:
by DSguru2B
Tue Mar 13, 2007 5:35 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: call DSGetLinkInfo from a trigger
Replies: 19
Views: 7422

Well, make sure while copy pasting you dont have a trailing space.
by DSguru2B
Tue Mar 13, 2007 5:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Log of a Individual Job in a Sequence
Replies: 32
Views: 6214

Well, you will have to have a mechanism to see which job fail. Probably traverse through the log that you create, get the jobname that failed and then get the log for that particular job.
by DSguru2B
Tue Mar 13, 2007 1:47 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: call DSGetLinkInfo from a trigger
Replies: 19
Views: 7422

Build a transform routine and not a before/after subroutine. FUNCTION myGetRowCount(JobName,StageName,LinkName) $INCLUDE DSINCLUDE JOBCONTROL.H hJob = DSAttachJob(JobName, DSJ.ERRFATAL) RowCount = DSGetLinkInfo(hJob, StageName, LinkName, DSJ.LINKROWCOUNT) ErrCode = DSDetachJo...
by DSguru2B
Tue Mar 13, 2007 1:35 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Abnormal termination of job
Replies: 5
Views: 849

When I said "pops up", I actually meant, if any message gets logged in the log file. Its a figure of speech. Anyways.
Give us more details of your job design, are you using inter-process buffering or IPC stage etc. Need more info.
by DSguru2B
Tue Mar 13, 2007 1:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job is not running from Designer but running from Director
Replies: 2
Views: 629

Thats odd. Did you try a re-install ?
by DSguru2B
Tue Mar 13, 2007 1:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: to run a job before the exit of sequencer
Replies: 10
Views: 2721

Build another sequence with two job activities. The first job activity will call your present sequence and the second job activity will run JOB A. The trigger will be "Unconditional".
by DSguru2B
Tue Mar 13, 2007 1:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Is Null Function
Replies: 5
Views: 882

The job that is failing, is it loading to a table. You might have that particular column set as nullable at the datastage end but if its not nullable in the database, it will generate error.
As for the run times, it depends upon the data volume, if network is involved, then network traffic etc etc.
by DSguru2B
Tue Mar 13, 2007 1:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Batch script
Replies: 6
Views: 1266

If you have to run them one by one then your good.