Search found 53125 matches
- Tue Apr 19, 2005 12:45 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Using copy stage to do a double lookup
- Replies: 1
- Views: 1231
My thinking is that the query from DB2 will be cached in a virtual data set, and therefore doing one would be less demanding of memory than doing two. Both outputs from the Copy stage should be able to use the same data set. Beyond that I don't really know what other factors would influence "efficie...
- Tue Apr 19, 2005 12:42 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to make read-only routines in datastage
- Replies: 1
- Views: 1122
You can make them read-only using Version Control as part of promoting from development into test or production. You can toggle the READONLY value in the DS_ROUTINES table (search for this one). If it's a C routine, you can use operating system permissions to protect the source and/or compiled versi...
- Tue Apr 19, 2005 12:38 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Datastage jobs cannot be run/execute
- Replies: 6
- Views: 1843
Migrating DataStage is much more than moving things from one disk to another, just as migrating any database product is much more than moving things. Now that you've done so, there are quite a few repairs that you will need to do. It might be worth hiring in a competent consultant. Needed repairs in...
- Mon Apr 18, 2005 6:36 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: SEQ_FILE
- Replies: 7
- Views: 1875
- Mon Apr 18, 2005 6:20 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: SEQ_FILE
- Replies: 7
- Views: 1875
Be more precise with your requirement. What, exactly, is your required output for each line processed? For example, for each X record, do you need the number of preceding Y and Z records (separate counts or combined count)? What is the output for Y and Z records? The solution will certainly make use...
- Mon Apr 18, 2005 6:15 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to count the number of records in a seq file
- Replies: 8
- Views: 2543
Omitting error handling for clarity:
Code: Select all
OpenSeq "pathname" To filevariable
Then
LineCount = 0
Loop
While ReadSeq Line From filevariable
LineCount += 1
Repeat
End
CloseSeq filevariable
Ans = LineCount- Mon Apr 18, 2005 6:14 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Hash Logic Help
- Replies: 5
- Views: 1071
If there's no match to the hashed file, then all columns returned from the reference input link are set to NULL by DataStage. You can capture the NULL by direct reference to the input link; otherwise there's no value to capture, so you might (for example) set a default value (999) in the output colu...
- Mon Apr 18, 2005 6:12 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: A problem with Shared Containers
- Replies: 4
- Views: 2262
This behaviour also occurred in 5.2. When compiling a job that uses a shared container, the compiler attempts to set a lock on each referenced shared container (Designer already has a lock on the job), so that they are not changed during compilation. The only solution is a management one; you have t...
- Mon Apr 18, 2005 6:09 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Script to delete files based on timestamp
- Replies: 8
- Views: 3015
- Mon Apr 18, 2005 6:05 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: The Job is runnning and I can't stop it
- Replies: 14
- Views: 7756
The "end process" from Director and from DS.TOOLS, and the "UniVerse" command (MASTER OFF) all send a signal ( kill -15 ). If the process is not using any CPU cycles (for example if it is sleeping) it will not be able to service this signal. This is why "log out process" sometimes appears not to wor...
- Mon Apr 18, 2005 6:00 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: User Defined Variables
- Replies: 4
- Views: 1200
- Mon Apr 18, 2005 5:57 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Creating Sequential files using BASIC
- Replies: 2
- Views: 743
You don't seem to understand the statements. OPENSEQ doesn't create anything. CREATE or WEOFSEQ creates an empty file (one with zero columns). WRITESEQ writes an entire line, including the line terminator. Therefore you need to construct the entire line, including delimiter characters or space paddi...
- Mon Apr 18, 2005 5:51 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Help with Sequential file operations (BASIC)
- Replies: 10
- Views: 2347
No. Because you haven't specified which column(s) specify the file and which are data to be written to the file. You need to pass all needed columns as arguments, naturally. If there's only one column being used to differentiate output files, the only change is to add the other columns to the WriteS...
- Mon Apr 18, 2005 5:42 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Unable to read LOGS.DIR entry from D_UV_LOGS
- Replies: 6
- Views: 2777
- Mon Apr 18, 2005 5:39 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Creating config for accessing Teradata
- Replies: 11
- Views: 10746