Search found 42189 matches

by chulett
Thu Feb 05, 2009 3:26 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Email Notification
Replies: 10
Views: 4182

OK... you could extend that portion of the code where it logs the names of the jobs that aborted and, in addition to that, send the same information out in an email using the DSSendMail routine. The list could go into the email body or optionally to a file and included as an attachment.
by chulett
Thu Feb 05, 2009 3:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: EBCDIC numeric check
Replies: 9
Views: 3541

Assuming that last "unpacked" should say "packed"... no, not as far as I know. Happy for someone to prove me wrong, however.
by chulett
Thu Feb 05, 2009 3:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Email Notification
Replies: 10
Views: 4182

No clue, you'd have to explain what your "Master_Run_Utility" is... a Sequence job? If it is, would you be allowed to add this notification to it or would it need to be something separate?
by chulett
Thu Feb 05, 2009 2:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: EBCDIC numeric check
Replies: 9
Views: 3541

Once they're "unpacked" then sure, those functions should work fine.
by chulett
Thu Feb 05, 2009 1:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Variable for output value of server routine
Replies: 8
Views: 5184

True, but not knowing what is going on inside the routine... could be passing back DSExecute output for all we know. :wink:
by chulett
Thu Feb 05, 2009 12:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Variable for output value of server routine
Replies: 8
Views: 5184

Routine output is a dynamic array and so, depending on how you built the returned value, you may need to remove "field marks" from the output before you check for your value. For example: Convert(@FM,"",RA1.$ReturnValue) = 0 Or try referencing only the first element of the array:...
by chulett
Thu Feb 05, 2009 12:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: EBCDIC numeric check
Replies: 9
Views: 3541

Those functions are expecting ASCII data, AFAIK, so you'd need to convert the field to use them. These aren't packed fields, are they?
by chulett
Thu Feb 05, 2009 9:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DSGetProjectInfo
Replies: 1
Views: 896

To use it in a routine you need to add the appropriate "include" statement:

Code: Select all

$IFNDEF JOBCONTROL.H 
$INCLUDE DSINCLUDE JOBCONTROL.H 
$ENDIF 
by chulett
Thu Feb 05, 2009 8:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Remove Duplicates
Replies: 11
Views: 3358

No such option in the Server sort stage, checking and removing duplicates would need to happen downstream from the Sort.
by chulett
Thu Feb 05, 2009 8:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Concatenate 3 files and generate sequence number
Replies: 14
Views: 7004

What's unclear about that? For UNIX rather than DOS, use "cat". And in DOS you can use "type" as well.
by chulett
Thu Feb 05, 2009 6:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How can I put arguments in a dynamic array?
Replies: 8
Views: 2650

Then why is it marked as resolved?

So, are you not passing these values to the routine? Instead, you want to lookup the job parameter values from the job that is calling the routine? That's quite different than what you originally posted. :?
by chulett
Thu Feb 05, 2009 6:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Concatenate 3 files and generate sequence number
Replies: 14
Views: 7004

Server not PX job, so no "Col Gen" stage and a UNIX server so no ExecDOS or "copy" command, guys. This is an easy problem to solve and I posted a complete solution. Sure, you can cat in the Filter if you like rather than before job but I find that problematic at times and harder ...
by chulett
Thu Feb 05, 2009 6:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Display Jobs in a Category
Replies: 20
Views: 5567

Meaning, you must be sitting in the project directory when you run this. That and know what all the variables are that it is expecting, like what !CommandeDS! is.
by chulett
Thu Feb 05, 2009 6:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to run 2 jobs Parallel in JOB SEQUENCER
Replies: 18
Views: 5716

The OP has yet to post anything that looks like the actual start and end times of the jobs in question but rather has posted routine messages ("Dataset .. is deleted" ??) instead. I wouldn't make any judgments on what starts when until we see that. And we're just looking for a simple list:...
by chulett
Thu Feb 05, 2009 12:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Display Jobs in a Category
Replies: 20
Views: 5567

Yes, a "batch file" would be a DOS script file, one with an extension of ".bat" that you would run from the command line of a Windows PC.