This is what's called a horizontal pivot and is exactly what the Pivot stage is intended to do.
Look in your manuals for Pivot.pdf which explains how to use it, with examples.
Search the forum for an example of pivoting the constants (P1 through P4).
Search found 53125 matches
- Sun Oct 23, 2005 3:13 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Convert Pivot to Flat file
- Replies: 1
- Views: 657
- Sun Oct 23, 2005 3:12 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Dynamic hashed files and Static hashed files - pros and cons
- Replies: 7
- Views: 1476
Arnd, T30FILE does not govern the issue of file units; this is managed purely from the rotating file pool for all file types. What T30FILE does is to specify the size of a table in shared memory (visible via smat -d ) in which the current sizing parameters of each dynamic hashed file are kept, so th...
- Sat Oct 22, 2005 7:18 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Create multiple Records from single record
- Replies: 16
- Views: 4938
Your range values are too large for integer arithmetic, and the leading zeroes need to be preserved. Search the forum for the code for my OpenSequentialFile routine and implement same. Then pre-process your file with the following before-stage subroutine. In its input value field supply the pathname...
- Sat Oct 22, 2005 4:43 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Dynamic hashed files and Static hashed files - pros and cons
- Replies: 7
- Views: 1476
For larger volumes of data a well-tuned static hashed file will out-perform a dynamic hashed file during the load phase. A dynamic hashed file where the minimum modulus has been appropriately set will, however, get close to the load performance of the well-tuned static hashed file. It's really just ...
- Sat Oct 22, 2005 4:30 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: UtilityHashLookup calling
- Replies: 10
- Views: 2433
When you are performing a lookup in DataStage, whether from this routine or from a Transformer stage, failing to find the key value will result in each column on the reference input link being set to NULL. In this it behaves in exactly the same way as does a left outer join in SQL, it guarantees tha...
- Sat Oct 22, 2005 4:25 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: We have added extra CPUs then we got Extra Problems!!!
- Replies: 5
- Views: 1925
- Sat Oct 22, 2005 4:24 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Improving Performance
- Replies: 9
- Views: 2786
- Sat Oct 22, 2005 4:20 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: compacted ascii data
- Replies: 7
- Views: 2025
- Sat Oct 22, 2005 4:14 pm
- Forum: Enhancement Wish List
- Topic: Vegas
- Replies: 3
- Views: 1999
Last year they did "Ascential World Down Under". For a number of reasons - mainly Ascential presenters not being able to come at the last minute due to the IBM thing - it was a fizzer. I doubt they'll even think of doing it again. Throughout the rest of Asia (both east and south) it is my experience...
- Sat Oct 22, 2005 12:02 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How do I configure for multiple network interfaces on SMP?
- Replies: 27
- Views: 9063
The PX configuration file is about "processing nodes", which are logical entities, but which each refer to some processing capacity and associated resources. You may investigate distributing resources onto mounted file systems, and you can employ specific resources (for example the db2 resource) ont...
- Fri Oct 21, 2005 5:36 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Phantom Aborting with @ABORT.CODE = 1
- Replies: 3
- Views: 2548
Welcome aboard! :D Every job in your project has a unique number; the job where this problem occurred is job number 378. (You can map names to job numbers in the DS_JOBS table, but I'm sure you know which job it is - its status is Aborted.) "Phantom" is simply DataStage's name for a background proce...
- Fri Oct 21, 2005 5:30 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Create multiple Records from single record
- Replies: 16
- Views: 4938
- Fri Oct 21, 2005 5:29 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Datastage phantom error
- Replies: 14
- Views: 5746
- Fri Oct 21, 2005 5:22 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Reading file from different folder
- Replies: 2
- Views: 944
Post your code. You definitely don't need a cd command. Further, DSExecute opens a new shell (in which your cd command would be performed) - that shell closes before DSExecute returns. Please specify exactly what you're trying to achieve. Is it, for example, to read all files in a folder? You will n...
- Fri Oct 21, 2005 5:16 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to write routine
- Replies: 2
- Views: 926