Search found 42189 matches

by chulett
Sat Apr 10, 2004 9:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Importing Large XML DS Project Export Files
Replies: 1
Views: 1900

Welcome! I'm thinking your issue is memory related. 256mb is a small amount of RAM by any standards nowadays - barely enough to run XP - and that's a pretty large file to import. This problem is aggravated by the fact that the first thing the Import process has to do is convert the entire XML file t...
by chulett
Thu Apr 08, 2004 5:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: dsjob exit codes
Replies: 6
Views: 1563

One other thing to note is the difference between using -wait and -jobstatus when running a job. The former waits for the job to complete but passes back the exit status of the dsjob command itself - could it start the job or not. You need to use the latter if you want to pass back the exit status o...
by chulett
Thu Apr 08, 2004 8:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Accessing files on a remote server
Replies: 12
Views: 3427

NFS mount or an equivalent mechanism. Or work locally and use FTP to get the files back and forth.
by chulett
Thu Apr 08, 2004 8:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Version Control promotes wrong jobs
Replies: 4
Views: 1157

I've been using Version control in its various incarnations since 4.x and haven't seen this behaviour. Or perhaps only under one specific circumstance... Are you mixing development projects into a single VERSION project? One nice feature of the latest Version Control is the ability to easily support...
by chulett
Wed Apr 07, 2004 7:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Retrieving Job Log info from a routine
Replies: 12
Views: 3350

I don't remember all of the gory details (it's been awhile since I last played in this particular sandbox) but I do remember that I didn't have all that much luck working with DSGetNewestLogId. Like Tony mentions, it seemed kind of 'backwards' from the way I wanted to work the information. If I get ...
by chulett
Wed Apr 07, 2004 3:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Retrieving Job Log info from a routine
Replies: 12
Views: 3350

Well, here's what I've done Tony - hope this helps. First get the start time of the job/sequence that you want the current log entries for by using DSJ.JOBSTARTTIMESTAMP with DSGetJobInfo. Then you can call DSGetLogSummary, pass this in as the start time and use something like "9999-12-31" as the en...
by chulett
Wed Apr 07, 2004 2:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Purging of DataStage Log from Unix Script
Replies: 14
Views: 12853

Nope, sorry. The OP has it correct, this setting only applies to new jobs added to the Project. You'd need to understand the underlying structures and write some code to update the Auto Purge information in old jobs. Luckily, I believe you'll find that someone out there has already written a little ...
by chulett
Wed Apr 07, 2004 7:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Connection Problem
Replies: 11
Views: 3271

Check this post for information regarding turning on debug mode to see why the service is not starting. You'll need to translate all references of 'dsrpcd' to 'unirpcd', but everything else should apply.
by chulett
Wed Apr 07, 2004 6:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Trigger Job on the basis of records Processed
Replies: 2
Views: 916

That's one approach. There's always more than one way to skin a cat here. You could also build a generic routine to get a Link Row Count from a job and call that in your Sequencer, then branch on a 0 or >0 row count being returned from it. You can also build the User Status setting into the original...
by chulett
Wed Apr 07, 2004 6:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Inserting Dummy Row at the end
Replies: 8
Views: 4726

Which is why we've been pushing it as "the answer", Siddharth. While it would be great if there was some sort of automagic end-of-data detector built into the Transformers, there isn't. And there insn't a way to slip an extra row under the rug from inside one either. Union. Union. Union! Dang, start...
by chulett
Tue Apr 06, 2004 1:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Using Job Control Code to set Job Parameter
Replies: 10
Views: 2536

There's all kinds of ways to do what you need. You can use the Date() and Time() functions seperately and build an appropriate timestamp from that. You could also check out the TimeDate() function to get everything all at once. In either case, use some of the 'normal' techniques to take them apart a...
by chulett
Tue Apr 06, 2004 11:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Using Job Control Code to set Job Parameter
Replies: 10
Views: 2536

But of course! Do a search of the Forum for the DSSetParam function, which is what you need - you'll find all kinds of help here already on that particular subject. There's more to it than that, but that should get you started. Give it a shot and then post back when you have more specific questions....
by chulett
Tue Apr 06, 2004 9:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Running and resetting jobs from within job control
Replies: 3
Views: 1347

You might want to post your code so you can get specific help. But, as a general comment, after you attach to the job you can call DSPrepareJob before you run it and that will reset the job if it needs it.
by chulett
Tue Apr 06, 2004 7:48 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sort Stage
Replies: 6
Views: 1773

No, it is "defined by DataStage" - an internal sort specific to the product. This makes it easier to use and have more options than a UNIX sort, but also means it generally runs slower. You can certainly use the UNIX sort command in conjunction with DataStage or any other external sorting program l...
by chulett
Tue Apr 06, 2004 7:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Starting a Job from a JobScheduler
Replies: 2
Views: 1094

Welcome aboard, Hubert! :D You've asked one of the questions that has been answered here many times. Try searching the forum for dsjob as it is the command that allows external schedulers (like Control M, which we use) to launch DataStage jobs. You can find example scripts here that people have post...