Search found 42189 matches

by chulett
Thu Sep 23, 2010 11:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: userstatus
Replies: 9
Views: 4426

How exactly are you setting USERSTATUS in the first job? FYI, you don't need that UserVariables stage, the Sequence can pass what you need directly.
by chulett
Thu Sep 23, 2010 10:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: FTP transfers of XLS files
Replies: 23
Views: 5815

Only if you tell it to. :wink:
by chulett
Thu Sep 23, 2010 9:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Stage Statistics
Replies: 20
Views: 6344

You've gotten appropriate help, the functions listed are what you need. Your issue with the "accuracy" of the call to DSGetLinkInfo (based on your DSJ.ME usage) is the where of it and what you are passing it. That would only work "after job" and you need to make sure the stage yo...
by chulett
Thu Sep 23, 2010 9:24 am
Forum: General
Topic: Running a DOS batch from a routine
Replies: 6
Views: 1856

That -1 doesn't really tell us much other than 'something went wrong'. One way to help with debugging is to add COMMAND /Z to your batch file to have more diagnostic information logged. Or just simply 'echo' something inside the batch to see if it even gets that far. Also try passing the full path t...
by chulett
Thu Sep 23, 2010 8:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Stage Statistics
Replies: 20
Views: 6344

Check out the DSGet* API functions for both links and jobs. Off the top of my head, DSGetLinkInfo with LINKROWCOUNT can get you those counts and I believe DSGetJobInfo can get you at least the elapsed time, not sure about the CPU seconds but can't imagine that bit is all that critical.
by chulett
Thu Sep 23, 2010 8:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: FTP transfers of XLS files
Replies: 23
Views: 5815

They're going to have native Windows Excel files sent to a UNIX server for processing? Not a good idea. Have "them" convert the files to csv format by doing a 'Save As' in Excel first and then transfer the csv files.
by chulett
Thu Sep 23, 2010 8:03 am
Forum: General
Topic: Running a DOS batch from a routine
Replies: 6
Views: 1856

No, there's nothing special you need to turn on or off, this should just work. Can you drop some 'breadcrumbs' into your routine and batch? Call DSLogInfo and/or echo enough information to see where it might be going astray?
by chulett
Thu Sep 23, 2010 8:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Cannot RUN a DOS command
Replies: 4
Views: 1527

:!: Please mark this topic as Resolved and post your second question in another post.
by chulett
Thu Sep 23, 2010 7:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generate portfolio id
Replies: 10
Views: 2612

Hmmm, just the Array Size, I believe. And yes there will be a "performance" impact but if that is what it takes to solve this problem...
by chulett
Thu Sep 23, 2010 7:55 am
Forum: General
Topic: After Job Routine and DSJS.RUNNING
Replies: 7
Views: 6969

Yes, the job is still "RUNNING" regardless of before job, during job or after job... it's all running. And as noted, your Sequence trigger will be fine.
by chulett
Thu Sep 23, 2010 7:53 am
Forum: General
Topic: Running a DOS batch from a routine
Replies: 6
Views: 1856

Ok, thanks for the details. First question: are you specifying full paths for these files? Or does the batch file 'cd' to the proper directory first? Want to ensure the files are actually being found.
by chulett
Thu Sep 23, 2010 7:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generate portfolio id
Replies: 10
Views: 2612

I disagree. Since the job is generating the surrogate value, I don't see why one cannot include a check on the immediately preceeding insert to verify that it was not rejected and only in that case increment to the next value. In the event of a reject, reuse the last generated value. And from the ou...
by chulett
Thu Sep 23, 2010 7:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: OCI - Job aborts but records still commit
Replies: 5
Views: 4583

Trying to recall... I no longer have access to any of those email communications. Went round and round with IBM but did manage to get them a reproducible test case and they acknowledged the behaviour was not correct. Pretty sure they said it was something they corrected (or would correct) in a later...
by chulett
Thu Sep 23, 2010 6:54 am
Forum: General
Topic: Running a DOS batch from a routine
Replies: 6
Views: 1856

JP - I split your question out into its own topic, jumping on the end of other people's posts is frowned upon here. Now, you have one of your very own and have full control of its destiny. :wink: Going to need some details. So, you've used the "Test" facility to make sure your routine does...
by chulett
Thu Sep 23, 2010 6:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Cannot RUN a DOS command
Replies: 4
Views: 1527

What's the confusion here? The error message spells things out for you very explicitly. While you can run a "UNIX" command on a DOS server (thanks to the MKS Toolkit) the opposite is not true. At least not out of the box.

Switch to the UNIX flavor of that move command: "mv".