Search found 15603 matches

by ArndW
Mon Jul 31, 2006 10:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Run routine from Before/After Subroutine
Replies: 8
Views: 1565

Yes, you can do that; but the way you declare it and the way it is called from another routine will change. I think it is best to keep it the way it is - it is called as a function.
by ArndW
Mon Jul 31, 2006 9:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: .net
Replies: 4
Views: 997

I wish I understood the question. The normal custom routines in DS server are written in DS/BASIC and are internal to the package, so .net doesn't play a role. External routines can (with some difficulty) be bound into the package, but they too are unaffected by .net. Are you referring to custom wri...
by ArndW
Mon Jul 31, 2006 9:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Run routine from Before/After Subroutine
Replies: 8
Views: 1565

Let us assume you wrote a routine called MyRoutine and it has two arguments, A and B . You would declare a line DEFFUN MyRoutine(A,B) CALLING 'DSU.MyRoutine' MyRoutineAnswer = MyRoutine(Param1,Param2) The two parameter variables are placeholders and don't need to match the declaratio...
by ArndW
Mon Jul 31, 2006 8:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Run routine from Before/After Subroutine
Replies: 8
Views: 1565

You can run any BASIC routine or function from a before/after subroutine. You will need to declare it and then call it correctly. Which routine do you wish to call? If it is a function type call (which is what the "routines" in the manager tend to be) then you need to declare it with a DEFFUN statem...
by ArndW
Fri Jul 28, 2006 12:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job getting aborted due to internal error
Replies: 5
Views: 1735

I'm fairly certain that this script gets generated at compile-time; so it should not sometimes be available and at other runs not be found. That is why I was wondering what your date/time stamp for that file is.
by ArndW
Fri Jul 28, 2006 11:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Stop services by DOS command line
Replies: 1
Views: 1082

The DataStage engine runs as services on Windows; so you can use the "net stop {service}" to stop DataStage. net stop "DataStage Engine Resource Service" net stop "DataStage Telnet Service" net stop "DSRPC Service" There might be a way to call the control panel applet directly as well, but I don't k...
by ArndW
Fri Jul 28, 2006 10:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: parameter in the ExecCommand Activity Stage
Replies: 7
Views: 1675

Thanks for that info; I'll keep that in mind next time I play on HP-UX.
by ArndW
Fri Jul 28, 2006 9:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Duplicates
Replies: 6
Views: 1779

Re: Duplicates

meena wrote:...If OutTX1.P1=OutTX1.P1 and OutTX1.P2=OutTX1.P2 or IsNull(RefT2.P1) then @flase else @true...


If you cut-and-pasted that text then look into the mnemonic "@flase" as it doesn't exist.
by ArndW
Fri Jul 28, 2006 9:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: parameter in the ExecCommand Activity Stage
Replies: 7
Views: 1675

Craig - do you remember offhand which won't work? I tried it on AIX and it did work, and know I've done it successfully on Windoze in the past.
by ArndW
Fri Jul 28, 2006 9:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Load Seq.file to table
Replies: 8
Views: 3628

I think that @INROWNUM and @OUTROWNUM are case sensitive. Also, inrownum > 2000 and @outrownum <= 2000 , should be corrected to "@INROWNUM > 2000 AND @OUTROWNUM <= 2000" Each run will start off with @INROWNUM and @OUTROWNUM being 0, so you will need to pass your start row number into the job as a pa...
by ArndW
Fri Jul 28, 2006 9:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: parameter in the ExecCommand Activity Stage
Replies: 7
Views: 1675

Yes you can. The command line needs to be an executable and not contain any parameters, but I've done something like make the command line "sh -c " and the command line options then contain "#JobParameterWithUNIXCommand#"
by ArndW
Fri Jul 28, 2006 9:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job getting aborted due to internal error
Replies: 5
Views: 1735

I'm not at a PX station right now, but I find it odd that in two cases you don't have a valid path to the file (missing "/"),
internal error-missing script file RT_SC8741 oshExecute.sh
by ArndW
Fri Jul 28, 2006 8:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Head & Tail Stage
Replies: 2
Views: 2250

The answer to "can we use these stages" is yes. What you are really asking is "should we use these stages in a production environment" and the answer to that is not always straightforward. In most of the cases you will not want to add any non-essential overhead to a job in production so you should r...
by ArndW
Fri Jul 28, 2006 8:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job getting aborted due to internal error
Replies: 5
Views: 1735

Does the error always refer to the same file and have you checked to make sure that the file is actually there (if yes, what is the date/time stamp on it - i.e. has it just recently been created or is it from days ago?). Does it always abort on the same or similar parameter values? Is there any rule...
by ArndW
Fri Jul 28, 2006 8:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Duplicate Records
Replies: 30
Views: 13034

You've just said "the code doesn't work" without telling anyone what happened. You also stated that you've put in a sort but the data you posted isn't sorted so none of the example or suggestions can work. Try doing the sort first to a sequential file to ensure that this is working. Then use the tra...