Search found 15603 matches

by ArndW
Wed Dec 06, 2006 1:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Overlay cobol file
Replies: 2
Views: 808

This might be a case where you could think about using a Server job, at least to read and process the Cobol file. I've never heard of Comp-6 but if it is a simple 4-bit packed representation as stated in the comments then you can use the DataStage Server builtin routines to convert the "binary" repr...
by ArndW
Wed Dec 06, 2006 1:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Output Record count in a transformer
Replies: 14
Views: 8303

beaditya - let's take a step back. Where do you want this row value returned? A transformer gets executed for each incoming row. You could do an after-stage subroutine call and pass it the value of @OUTROWNUM. But all this depends what you want to do with the maximum row number.
by ArndW
Wed Dec 06, 2006 12:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Locate Statement not Searching Whole Array in a Routine
Replies: 7
Views: 1731

The LOCATE statement works with DataStage dynamic arrays. The elements of these are separated by certain characters, @FM, @VM, @SM and @TM for the 4 different levels. The comma you are using is not one of these, which is why the statement isn't working as you expect. Try WorkString = "123,456,7...
by ArndW
Wed Dec 06, 2006 11:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job performance
Replies: 7
Views: 1333

Table1 and Table2 are different in your DataBase. Different numbers of records and perhaps you have different internal table setups / indices as well.
by ArndW
Wed Dec 06, 2006 11:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Output Record count in a transformer
Replies: 14
Views: 8303

You should be using "<>" instead of "=" to reject those records. You do have a stage mnemonic called @OUTROWNUM that you can use in the transform.
by ArndW
Wed Dec 06, 2006 7:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CLOSE_WAIT,FIN_WAIT_2
Replies: 4
Views: 2320

the DS engine will not start up with processes attached in the FIN_ or CLOSE_ wait statuses. Have you brought down that instance? Also, which flavor of UNIX are you using - I recall issues with HP-UX where an OS bug prevented these sockets from being released.
by ArndW
Wed Dec 06, 2006 5:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to deal with char(1) in datastage
Replies: 9
Views: 2798

Is the datatype perhaps NCHAR? And what is your character encoding in both DS and your database?
by ArndW
Tue Dec 05, 2006 2:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Converting numbers to decimal dot, and comma separated
Replies: 10
Views: 3477

Oops, I got the order of the parameters wrong. Sorry.

Code: Select all

CONVERT(',.','.,','123,456.78',)
by ArndW
Tue Dec 05, 2006 2:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash File passing "?" as values
Replies: 15
Views: 3376

A "?" in view data from the designer can denote a character that can't be displayed. Where are you seeing this question mark?
by ArndW
Tue Dec 05, 2006 2:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Converting numbers to decimal dot, and comma separated
Replies: 10
Views: 3477

Thats a tricky one. A little Math can also help here. Ereplace(Ereplace(Ereplace('132,21.32', ',','*'),'.',','),'*','.') gives you 132.21,32 If you really want to go the text route, use CONVERT('123,456.78',',.','.,') , is it simpler and more efficient. I still think...
by ArndW
Tue Dec 05, 2006 2:03 pm
Forum: General
Topic: Automatic Job Generator - does one exist??
Replies: 39
Views: 18825

There is no such code generator, but if your metadata has been loaded into the repository creating such a job as you described should take no more than 1 minute. Drop source type on the canvas, ditto for target. Fill out source/target path and file information, load in the metadata and link the stag...
by ArndW
Tue Dec 05, 2006 1:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: regarding universe command utility
Replies: 9
Views: 1624

"LIST DICT" and "LIST.DICT" are synonyms. The default sort order for the DICT listing happens to be the same as a simple SORT command, so produce the same ordering.
by ArndW
Tue Dec 05, 2006 1:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem with trimming the filed value
Replies: 8
Views: 1746

Add 0 to it in a transform stage or TRIM(Column,"0","L")
by ArndW
Tue Dec 05, 2006 11:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: abt universe
Replies: 2
Views: 835

At version 7 the repositories for metadata and job information for both PX and Server reside in DataStage (which used to be UniVerse but has split). There is no advantage or disadvantage since you have no choice of where the repository, as of Version 8 (formerly code-named "Hawk") you will have choi...
by ArndW
Tue Dec 05, 2006 11:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Converting numbers to decimal dot, and comma separated
Replies: 10
Views: 3477

This looks like you are trying to make the number look German. Without having NLS enable, try OCONV('1234567','MD2["$",".",",",""]')