Search found 6 matches

by OttMAdpttch
Wed May 09, 2007 11:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash file not getting created
Replies: 5
Views: 3267

If your data volume today is close to before then perhaps the create error message has to do with Unix file permissions. I'd suggest that you verify that the login you are using has the correct Unix permissions to create/modify the hashed data file (and/or its directory location). If your permission...
by OttMAdpttch
Wed May 09, 2007 9:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: field function
Replies: 8
Views: 3555

It appears that your source data can have several different formats but basically representing two separate fields. I'd suggest that you create a simple DS routine that uses the MATCH[ES] command in a case structure. If the extraneous spaces are not required for the output then I'd first Trim the st...
by OttMAdpttch
Fri Sep 15, 2006 10:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading and writing from the same file?
Replies: 13
Views: 6570

In either version of Datastage (Server or EE), you cannot open the same sequential or dataset file for both read and write. The only file type that you can do this with is a hash data file.
by OttMAdpttch
Fri Sep 15, 2006 7:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem with DSExecute command
Replies: 3
Views: 1954

Hiten,

You need to set a variable to the Unix command you wish to execute and then use this variable in the DSExecute funtion.

Cmd = 'grep ':Filename:' ':Pathname
Call DSExecute('UNIX',Cmd,Output,SystemReturnCode)
by OttMAdpttch
Fri Sep 15, 2006 7:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Substring Problem
Replies: 3
Views: 2219

I can think of a couple of ways to accomplish your string extraction: 1) If you know that your data will always have the "_20060913.csv" at the end, you can simply do a the following in your derivation: link.columnname[1,Len(link.columnname)-13] This approach will always work no matter whi...
by OttMAdpttch
Thu Sep 14, 2006 1:59 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Seperate Numeric field into two with Charcaters as delimitte
Replies: 10
Views: 6974

Re: Seperate Numeric field into two with Charcaters as delim

Probably the simplest means of accomplishing the extraction of one or the other values is to create a simply Datastage Transform that has three visible arguments: DataToParse (actual data value), Delimiter (such as space), and ValueToReturn (integer value 1,2,3, etc. to indicate which value you want...