Search found 42189 matches

by chulett
Fri Feb 06, 2009 5:14 pm
Forum: General
Topic: Parameters in Sequence
Replies: 4
Views: 1144

You will need to define it in all controlling sequences. Meaning from the job back up to the 'main' sequence job, any intermediate level 'sub-sequence' will need that parameter as well. Remember, it will need to be passed down from that first sequence job to the job in question through all of the st...
by chulett
Fri Feb 06, 2009 3:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Delete Failure on Oracle OCI
Replies: 7
Views: 4341

Exactly. Probably an Oracle (not DS) difference issue, most likely with the NLS_DATE format. Which adding quotes around the parameter name would fix. [cough]
by chulett
Fri Feb 06, 2009 2:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Email Notification
Replies: 10
Views: 4182

You've got an unmatched double-quote in the DSSendMail call and if you add the 'missing' one at the end, then everything becomes a literal and your job list won't work correctly. Try it in two steps, first build a string from the parts you have and then pass that string to the function: If Len(TRIM(...
by chulett
Fri Feb 06, 2009 1:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Record Count of Hashed File
Replies: 12
Views: 4428

Not so elusive, what you need has been posted in this thread more than once: SETFILE and COUNT. Search the forums for SETFILE, its syntax and usage *are* out there. For scripting help, search the forums for dssh which is where the commands would be run outside of the Adminstrator GUI.
by chulett
Fri Feb 06, 2009 1:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Email Notification
Replies: 10
Views: 4182

Seems like all you'd need to use is the CompletedJob variable, that CHAR(10) is a carriage return and the "JobControl" string is needed for the DSLogInfo function call, not in your email.

Likewise, use FailedJob or WarningJob for those problem children lists.
by chulett
Fri Feb 06, 2009 1:04 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Use of "in" in Stage Variables
Replies: 2
Views: 1986

One 'trick' is to build your delimited list in the Initial Value of a stage variable and leave the Derivation blank (so it is only evaluated once) and then use the Index function to check for your value in that list of values. For example: svValidValues: AAA,BBB,CCC,DDD Or you could even use your jo...
by chulett
Fri Feb 06, 2009 9:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Extraction of huge number of records to sequential file
Replies: 3
Views: 1045

That would be an O/S limitation, not a DataStage one.
by chulett
Fri Feb 06, 2009 8:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Are License keys platform specific?
Replies: 2
Views: 1072

License keys are version and O/S specific.
by chulett
Fri Feb 06, 2009 8:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: EBCDIC numeric check
Replies: 9
Views: 3541

Why a mainframe COBOL program, do you not need to unpack these fields regardless in your job? The job is doing that automatically when the file is read in, as you noted, so I'm honestly curious - why the need to check anything while it's still packed? :?
by chulett
Fri Feb 06, 2009 8:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ETLStats: Why is ReportDbDriver followed by a Sequencer?
Replies: 8
Views: 2997

Not Mr Kim, but I always end a Sequence job with a Sequencer as that allows the last activity to have an output / exit side trigger that can be checked by the job control and thus make it restartable.

Hope none of the words were too long. :wink:
by chulett
Fri Feb 06, 2009 1:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Delete Failure on Oracle OCI
Replies: 7
Views: 4341

You need quotes around the parameter in the TO_DATE function:

Code: Select all

EVENT_TIME < TO_DATE ('#pJobParameter#','YYYY-MM-DD')
by chulett
Fri Feb 06, 2009 1:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Variable for output value of server routine
Replies: 8
Views: 5184

gaurav.bhardwaj wrote:Let me explain my job in detail, which will facilitate proper discussion and help in arriving at a solution.
<snip>
We'd already surmised all that and given you the solution.
by chulett
Thu Feb 05, 2009 6:21 pm
Forum: General
Topic: Loading data into CLOB columns using DRS Stage
Replies: 3
Views: 1434

Of course - an Exact Match search for CLOB returned 121 matches for me.
by chulett
Thu Feb 05, 2009 3:28 pm
Forum: General
Topic: Loading data into CLOB columns using DRS Stage
Replies: 3
Views: 1434

Have you tried searching the forums for "CLOB"? The issues with that (unsupported) data type have been discussed here quite a bit.