Search found 53125 matches

by ray.wurlod
Wed Oct 30, 2013 5:51 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Datastage Server Job V8.5 OracleDB Date Not Loading Properly
Replies: 3
Views: 1724

Does the Oracle DB match perfectly in terms of default date picture? (Clearly, from your example, it does not.) Therefore you either have to transform the string coming in from the sequential file so that it conforms to your Oracle default date picture, or use TO_DATE() function in your INSERT/UPDAT...
by ray.wurlod
Wed Oct 30, 2013 2:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ustring to string function results NULL
Replies: 4
Views: 2880

You might also reveal whether you have used the NullFieldValue property in your target Sequential File stage.
by ray.wurlod
Wed Oct 30, 2013 2:22 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Datastage Server Job V8.5 OracleDB Date Not Loading Properly
Replies: 3
Views: 1724

Sequential files don't have data types - they just have text. Try including a TO_DATE function in a user-defined SQL statement, specifying a date picture that corresponds with your actual data, that is 'YYYYMMDD'.
by ray.wurlod
Wed Oct 30, 2013 2:16 pm
Forum: Site/Forum
Topic: Premium Membership Expired
Replies: 1
Views: 5180

Follow the Member Benefits link from the DSXchange home page.
by ray.wurlod
Tue Oct 29, 2013 3:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading CLOB Column in DS 8.7
Replies: 1
Views: 1317

For a definitive statement go to the IBM Information Center for Information Server v8r7

I don't see anywhere in your SQL where you are using CAST to convert to Long VarChar2. Is this implicit in the CONVERT() function?
by ray.wurlod
Tue Oct 29, 2013 3:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading clob data
Replies: 2
Views: 1085

For a definitive statement go to the IBM Information Center for Information Server v8r7

VarChar should support 4000 in most implementations. Long VarChar should be able to support far more.
by ray.wurlod
Tue Oct 29, 2013 2:08 pm
Forum: General
Topic: Multiple Instance Job in Sequence
Replies: 2
Views: 609

To achieve multiple instances you have to provide an invocation ID. This can be provided as a sequence parameter if necessary though, from memory, you have to type in the parameter reference - there's no "insert job parameter" control on this field.
by ray.wurlod
Tue Oct 29, 2013 2:07 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: main_program: Fatal Error: Type mismatch for field 'ACCOUNT_
Replies: 3
Views: 2775

Check the data type in the database table.
Check the data type in your job's metadata.

If you're using a Connector stage, change the "Fail on type mismatch" property from Yes to No.
by ray.wurlod
Tue Oct 29, 2013 2:05 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequence number to duplicates
Replies: 3
Views: 1248

Short of answering using all upper-case I don't know how any "higher level" might be achieved. Craig's answer seems singularly complete to me. DSXchange is not here to do your work for you (though some consultants who post here may do so for money). DSXchange will help, as Craig has done. ...
by ray.wurlod
Tue Oct 29, 2013 2:01 pm
Forum: General
Topic: pass quotes in Execute command activity
Replies: 6
Views: 1038

Use the 8dot3 name so that you don't have to have spaces in the pathname.
by ray.wurlod
Tue Oct 29, 2013 1:59 pm
Forum: General
Topic: Sequencer issue
Replies: 2
Views: 732

The command in your Execute Command activity has an exit status of 2 (which usually means "file not found"). View the sequence log to determine whether there was any additional output from the command.
by ray.wurlod
Mon Oct 28, 2013 3:30 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Use @OUTROWNUM as sequential file name suffix
Replies: 9
Views: 3196

As noted, you could use a server Folder stage, either in a server job or in a server Shared Container in a parallel job.

Or you could upgrade to version 9.1.2 (the latest), in which this functionality exists in the Sequential File stage.
by ray.wurlod
Mon Oct 28, 2013 3:26 pm
Forum: General
Topic: Executable path cannot contain Parameters
Replies: 2
Views: 932

You can't put the parameters in the Command field.
You can, however, put them in the Parameters field.

So, in your case, the Command field just contains COPY and the Parameters field contains the (parameterized) remainder of the command.
by ray.wurlod
Mon Oct 28, 2013 1:21 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Balanced Optimizer - Transform Stage
Replies: 8
Views: 3100

The compiler is needed to compile any parallel job with a Transformer in it. This has nothing at all to do with Balanced Optimization. I don't know whether pushing any of the job's logic into a database can be done without the compiler (my installations have always had it). It would surely depend on...
by ray.wurlod
Mon Oct 28, 2013 1:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SCD2 on the basis of months
Replies: 2
Views: 1081

Split the job into two streams based on the date rule, run the data through SCD stage with properties appropriately set on each stream.