Search found 15603 matches

by ArndW
Fri Aug 19, 2005 7:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is there any limit for aggregator stage in handling rows
Replies: 7
Views: 2023

Hmmm... a lakh is 10-Man which is 86A0x. Very clear... As Clarcombe mentioned, if your data is sorted then the Aggregator stage doesn't need to load and keep each & record in memory, it only needs to compute values until the next group level change. Using sorted input is the best and most effici...
by ArndW
Fri Aug 19, 2005 6:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: PX Job not terminating
Replies: 3
Views: 1231

Hell Saleguele, Doing a CLEAR.FILE &PH& will just clear the existing logfiles, it won't stop a job from continuing to run. It might be that your job is actually finished running (with an abort) but the Director doesn't know that. If you do a "ps -ef " grep {your-user}" do you see any process...
by ArndW
Fri Aug 19, 2005 6:29 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Count of populated columns
Replies: 5
Views: 1044

In order to do "array" type processing you could load your sequential as just one column. That gives a longish string, but you can parse that easily with the FIELD() function. In terms of execution performance, I think that the (ugly) (In.Column1+In.Column2+...)/((IF In.Column1#0)...
by ArndW
Fri Aug 19, 2005 3:59 am
Forum: Site/Forum
Topic: Add a "DataStage Project Stories" Folder
Replies: 6
Views: 3382

I think that the forum should also contain disasters/horror stories - it should show both sides. It shouldn't be a product-bashing area - that wouldn't happen too often, since the reasons for the failure are seldom in the product. I do agree that IBM/Ascential will use the "good" stories but that in...
by ArndW
Fri Aug 19, 2005 3:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to code a while Loop
Replies: 2
Views: 1035

You can create a loop in the Job Control portion of a job using DSBasic. There is a FOR ... NEXT construct, a WHILE / LOOP / REPEAT construct in different variations. I usually use the following type of syntax EQUATE True TO 1 EQUATE False TO 0 Finished = False LOOP UNTIL Finished = True JobHandle =...
by ArndW
Fri Aug 19, 2005 3:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DS files on AIX
Replies: 2
Views: 1582

Hello ruotahel, those "folders" in UNIX are actually databases (hashed files) to DataStage. They should not be deleted from UNIX, they contain information used to generate jobs; you will get one of these directories per job that you have in the project. The only places in a project directory that ca...
by ArndW
Fri Aug 19, 2005 1:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: converting string to decimal
Replies: 13
Views: 20466

DataStage will do the conversion for you automatically. If you have an input VARCHAR(10) column called MyString containing the value "1943.100" you can create an output column in a transform called MyNumber, you can do a derivation such as "In.Mystring*3.14159" and it would convert for you automatic...
by ArndW
Fri Aug 19, 2005 1:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to reset job status (96) via job control
Replies: 7
Views: 2811

I just re-read your post and see what you mean. Have you tried doing a "reset" in the Director and looking at the "from previous run" to see what the error might be, or looking into the &PH& entry for that run? If you have a programming error in a routine, or maybe even call a routine that d...
by ArndW
Fri Aug 19, 2005 1:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to convert Numeric to Char in DataStage server routine?
Replies: 1
Views: 1338

DataStage Server variable are not typed. The system will perform an implicit conversion depending on what you are doing, thus you can do: MyVar = '10000000' MyVar = MyVar[1,4] * 4 MyVar = MyVar - 3 : '22' MyVar -= 1 If you want to force a conversion to a string type for some reason, you can do a MyV...
by ArndW
Thu Aug 18, 2005 12:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Warning Message
Replies: 3
Views: 876

Navenn,

in your TRANS1 transformer you are performing some mathematical derivation on your data, but some value is not a number (i.e. it contains a character) and thus Datastage uses a 0 instead of aborting. So, check your transform stage for derivations...
by ArndW
Thu Aug 18, 2005 11:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Discovering Where Hashed Files are used
Replies: 10
Views: 4717

Hello Dan,

if the files are created within a job and people also use the column definition metadata, then I would go to the Manager, click on the metadata for that file and then do a "usage analysis" on it.
by ArndW
Thu Aug 18, 2005 11:22 am
Forum: Site/Forum
Topic: Add a "DataStage Project Stories" Folder
Replies: 6
Views: 3382

Add a "DataStage Project Stories" Folder

I would enjoy seeing a new Forum on this site into which posters can put down some of their DataStage achievements - not necessarily as personal ones, but showing what results they have achieved with DataStage in their projects recently. I for one love to read about what has been done, how it was ac...
by ArndW
Thu Aug 18, 2005 10:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup
Replies: 3
Views: 1081

Hello vcannadevula, from your description it looks like you are doing multiple lookups, one per column. This is basic ETL and DataStage technology and is covered in every PDF, sample, tutorial as well as in the forum; so I will assume that this is not what you are asking. Could you perhaps explain a...
by ArndW
Thu Aug 18, 2005 9:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Issue with source tables which are read only.
Replies: 5
Views: 1626

Subramaya,

I think it is time to submit a call to Ascential - sounds like an easy issue to reproduce. Please post the response/resolution here as well, since I for one am very interested and I am sure that this scenario will pop up again.
by ArndW
Thu Aug 18, 2005 9:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Edit Row - Date Type - Default
Replies: 7
Views: 3704

What about 1900-01-01 (with and/or without single quotes)? I just don't like that integer-like look of the date and think that is where the parsing is getting messed up.