Search found 53125 matches

by ray.wurlod
Tue May 28, 2013 2:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: mapping higher to lower length transformer
Replies: 7
Views: 2009

Code it yourself. Use a constraint expression such as

Code: Select all

Len(InLink.TheString) <= 15
Use an Otherwise/Log output link to capture the too-long strings.

If you want to generate a warning, you can create a routine that passes its argument through unchanged but called DSLogWarn() in its code.
by ray.wurlod
Tue May 28, 2013 2:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Header Record Validation in a fixed width file
Replies: 11
Views: 4883

Capture the date from the header into a stage variable. Compare this value with the value in detail records.
by ray.wurlod
Tue May 28, 2013 2:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Header Record Validation in a fixed width file
Replies: 11
Views: 4883

Why do you always post UNIX solutions on a DataStage forum? :?
by ray.wurlod
Tue May 28, 2013 2:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 "Delete" failing with Transaction log full msg
Replies: 8
Views: 4692

Why such large arrays? Bring it back to the default, say 2000 or 5000. See if that works. Then ramp it up gradually. Get the DBA to help with keeping the transaction log clean. Beware of any long-running transactions.

If you're completely replacing all the records, why not truncate the table?
by ray.wurlod
Tue May 28, 2013 2:48 am
Forum: General
Topic: DB2 Upgrade - Issues in connectivity
Replies: 3
Views: 1282

What issues? Your question is currently in the "my car won't start" category. More information is required. Find out exactly what "customer DB2 team" did. In particular did they change the administrator user/password, or change it to expire, or something else? Does the WebSphere ...
by ray.wurlod
Mon May 27, 2013 11:12 pm
Forum: General
Topic: Can i customize the status of a job
Replies: 7
Views: 1810

It is only easy to use in Server jobs. Every job has a reserved area, called its user status area, into which any value can be placed while the job is running. The value in the user status area can be interrogated once the job has finished, most usually via an activity variable in the controlling se...
by ray.wurlod
Mon May 27, 2013 8:07 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle sequence
Replies: 14
Views: 3309

mmanes wrote:I cannot spend $99.
Less than 30c per day. How much do you spend on coffee?
by ray.wurlod
Mon May 27, 2013 8:02 pm
Forum: General
Topic: Write datastage job status to Oracle
Replies: 1
Views: 943

Download ETLstats for free from Kim Duke's website - he's already done all the hard work for you.
by ray.wurlod
Mon May 27, 2013 4:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle sequence
Replies: 14
Views: 3309

I did address that in my response. You need to get yourself a premium membership to be able to view the entire response from the five premium posters. (This is the mechanism by which DSXchange is funded.)
by ray.wurlod
Mon May 27, 2013 4:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Different results in every run
Replies: 5
Views: 2614

How are your data partitioned on the inputs to the Lookup stage (assuming it's first after the Connector stage)?
by ray.wurlod
Mon May 27, 2013 4:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Invalid precision value. Error in parameter @
Replies: 5
Views: 2457

Make sure that the Precision setting in the Columns grid is not blank.
by ray.wurlod
Mon May 27, 2013 4:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need Help on job design.
Replies: 3
Views: 1279

Read each line as a single VarChar and parse in a Transformer stage. Use a stage variable to conserve the file name from the header row. Get version 9.1 in which the target Sequential File stage can distribute data as you specify, based on the second field value in the header row. Otherwise, and pro...
by ray.wurlod
Mon May 27, 2013 4:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue with Timezone date format
Replies: 4
Views: 1657

Your Oracle date picture ('YYYY-MM-DD HH24:MI:SS') does not specify an AM/PM designator - it specifies a 24 hour clock. Therefore DataStage isn't "disappearing" anything - your other viewer is ADDING the AM/PM designator.
by ray.wurlod
Mon May 27, 2013 4:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle sequence
Replies: 14
Views: 3309

You can use an Oracle sequence in user-defined SQL, for example INSERT INTO myschema.mytable(C1,C2,C3) VALUES mysequence.NEXTVAL, ORCHESTRATE.C2, ORCHESTRATE.C3); I leave it to Poovalingam to explain how to invoke within a Transformer stage; it's not something I'd do directly. Instead, I would conne...