Search found 53125 matches
- Tue May 04, 2004 4:41 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: passing the value from transformer to Befor/After subroutine
- Replies: 8
- Views: 2761
You're doing something fundamentally wrong. The expressions you use in a Transformer stage are exactly that; expressions. They are not assignment statements. To set a variable value you must do it indirectly, perhaps in a Routine that copies the value into the variable then returns the value unchang...
- Tue May 04, 2004 4:37 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Calling Job Sequencer job from a server job
- Replies: 5
- Views: 1168
Create two jobs, run them with dependency in a sequence. The first job contains nothing but execution of your script (in Job Control routine). Or in a before-job subroutine, but you will then need to do something innocuous, such as X = 1 as your "job control" routine. The sequence will detect the co...
- Tue May 04, 2004 4:28 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: DataStage 4.2.1 and Informix 7.31
- Replies: 2
- Views: 721
- Tue May 04, 2004 2:43 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: StringDecode - Default value
- Replies: 17
- Views: 3856
- Tue May 04, 2004 2:34 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Calling Job Sequencer job from a server job
- Replies: 5
- Views: 1168
Ignoring DataStage, what are you trying to accomplish? When we know this we may be able to supply more cogent answers. There are many ways to execute a command from a server job. Probably the easiest is a before/after subroutine, which is executed only once. I take it you don't want to execute the c...
- Tue May 04, 2004 12:25 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: passing the value from transformer to Befor/After subroutine
- Replies: 8
- Views: 2761
Stage variables will not have been evaluated when a before-stage subroutine is executed, so would generate "variable not assigned" errors if you could do it. The DSGetStageInfo() function will allow you to retrieve a list of stage variable names . However, when the Transformer stage is compiled, the...
- Tue May 04, 2004 12:16 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Simple job - Extract, check dup, write header and trailer
- Replies: 5
- Views: 1292
If the meaning of "duplicate" means "same key", write to hashed file then read from hashed file. Updates to hashed files are destructive overwrites, so this is an easy way to remove duplicates. If you need to record duplicates, this is slightly more complex, in that you have to check the same hashed...
- Mon May 03, 2004 4:52 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: String list searching
- Replies: 3
- Views: 1079
Code: Select all
Locate Upcase(AttName) In Convert("|",@FM,Upcase(AttList)) Setting Pos
Then
Ans = Field(AttValues, "|", Pos, 1)
End
Else
Ans = ""
End- Mon May 03, 2004 4:47 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Hash file caching limits
- Replies: 3
- Views: 4374
- Mon May 03, 2004 4:45 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Splitting a Dataset
- Replies: 3
- Views: 2582
Umm... What do you mean by "dataset" here? In the PX environment we usually refer to a dataset as something created by DataStage PX. Also, a fileset is something similar, the main difference being that a dataset is in memory to the greatest degree possible, while a fileset exists in persistent stora...
- Sat May 01, 2004 7:00 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Update Actions - Clear table, then insert rows
- Replies: 9
- Views: 9944
It always has been and, I believe, always will be, DataStage philosophy to log every item of information received from database servers, even though these are only informational messages. In the highly litigious USA, this limits the possibility of Ascential being sued because their software failed t...
- Fri Apr 30, 2004 6:16 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Record Count - ?
- Replies: 3
- Views: 1643
Beware that all DataStage function names are case sensitive. Further, the link row count is obtained from DSGetLinkInfo, not from DSGetJobInfo function. As a graphical alternative, you could generate two more outputs, with a counter (fed by @OUTROWNUM), pass these through Aggregator stages applying ...
- Fri Apr 30, 2004 6:02 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: hashfile in shared container
- Replies: 5
- Views: 1715
- Fri Apr 30, 2004 5:58 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Hash file
- Replies: 1
- Views: 779
In general no. If you're only reading from the hashed file, there is no contention or locking. Though if you're looking to load the hashed file into memory, read the manual about sharing cached hashed files. If you're writing using multiple links, you need to be aware that every write to a hashed fi...
- Fri Apr 30, 2004 5:50 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Pick Up only last row...
- Replies: 7
- Views: 2580