Search found 53125 matches

by ray.wurlod
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...
by ray.wurlod
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...
by ray.wurlod
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

Yes, as far as I can remember, but you have to be VERY careful to use the correct version of the Informix client software and/or ODBC driver.
by ray.wurlod
Tue May 04, 2004 2:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: StringDecode - Default value
Replies: 17
Views: 3856

How about this then? You don't need the Convert statements if you can deliver your values as dynamic arrays - I have used comma delimited lists as examples. Every function I've used is in the DataStage BASIC manual. StartVals = "1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20" EndVals =...
by ray.wurlod
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...
by ray.wurlod
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...
by ray.wurlod
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...
by ray.wurlod
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
by ray.wurlod
Mon May 03, 2004 4:47 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash file caching limits
Replies: 3
Views: 4374

The shmtest utility does not make assumptions about huge hashed files.

Indeed, its main purpose is to detect whether the default locations are in use by anything else. I understand (based on only a small amount of investigation) that it recommends the default locations if they're free.
by ray.wurlod
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...
by ray.wurlod
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...
by ray.wurlod
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 ...
by ray.wurlod
Fri Apr 30, 2004 6:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: hashfile in shared container
Replies: 5
Views: 1715

WoMaWil wrote:In Ray you can trust.


Luckily I know Wolfgang isn't in the USA, otherwise I'd be forced to comment that this is a bit unnecessarily messianic! :wink:
by ray.wurlod
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...
by ray.wurlod
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

Write that link to a sequential file, then read it again with tail -1 as the filter command.

Poor skinless cat!! :lol: