Search found 53125 matches

by ray.wurlod
Tue Feb 16, 2010 11:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compress Sequential File
Replies: 8
Views: 6373

You need to execute in sequential mode to compress into a single archive. But you can certainly have a Sequential File stage downstream of a Compress stage.
by ray.wurlod
Tue Feb 16, 2010 11:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Find a quarter from a date
Replies: 7
Views: 3152

You have to do some arithmetic. The first three months you need 1, the second three months you need 2, and so on. Mod(month,3) gives the wrong result, you need something like Int(month+(month<>(month-Mod(month,3))/3) If that seems abstruse, go with a functionally equivalent If..Then..Else construct....
by ray.wurlod
Tue Feb 16, 2010 11:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Surrogate Key Stage Error-- Unable to lock state file
Replies: 8
Views: 4548

Probably. When the next block of keys is obtained from the state file information has to be written back to it to record where it "left off".
by ray.wurlod
Tue Feb 16, 2010 11:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compress Sequential File
Replies: 8
Views: 6373

The Compress stage can compress/gzip a data stream. What you do with it after that is up to you.
by ray.wurlod
Tue Feb 16, 2010 11:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Surrogate Key Stage Error-- Unable to lock state file
Replies: 8
Views: 4548

Welcome aboard.

What has changed from when it worked and now? Design, total load on the system, configuration, ... anything.
by ray.wurlod
Tue Feb 16, 2010 5:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: help me how to implement this function in datastage
Replies: 3
Views: 1225

What are you trying to achieve?

July 1st of prior year?

Without a clear specification we would have to guess, which wastes both our times.
by ray.wurlod
Tue Feb 16, 2010 2:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Creating more records based on the day count
Replies: 3
Views: 1685

Moderator: please move to server forum

Create a routine to generate the rows as a dynamic array. Return that and replace each dynamic array delimiter character with newline character. Write to a text file then read back from that text file.
by ray.wurlod
Tue Feb 16, 2010 2:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Retrieve License XML file
Replies: 6
Views: 1891

If root did the install there's no guarantee that the licence XML file was put in the "installed directories". Could be anywhere. Perform the find as root.
by ray.wurlod
Tue Feb 16, 2010 1:21 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How do you handle break processing in DataStage
Replies: 6
Views: 2074

Data should be partitioned on the sort key.
by ray.wurlod
Tue Feb 16, 2010 1:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Metadata Quey
Replies: 7
Views: 2157

I only included Oracle enterprise stage types. You may need to research the value in field 8 of the DS_JOBOBJECTS record for other Oracle stage types if you're also looking for these.
by ray.wurlod
Tue Feb 16, 2010 1:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Routine in DS
Replies: 4
Views: 1889

There is an excellent training DVD Programming with DataStage BASIC available from the DSXchange Learning Center
by ray.wurlod
Tue Feb 16, 2010 1:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Retrieve License XML file
Replies: 6
Views: 1891

You may need single quotes around the wildcard. It's unlikely that you have no XML files at all on the system.

Code: Select all

find / -name '*.xml' -print 2>/dev/null
by ray.wurlod
Tue Feb 16, 2010 1:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Picking metadata at run time
Replies: 5
Views: 1998

Seriously, how often are table definitions changed in a real production environment. The usual (professional) approach is that such changes are planned, and advised to everyone involved, including ETL developers so that they can assess the impact. A proper software development lifecycle should apply...
by ray.wurlod
Tue Feb 16, 2010 1:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error in Lookup stage with too many number of references
Replies: 2
Views: 2090

Not "ur". The correct spelling is "your". Ur was a city in ancient Babylon or thereabouts.