Search found 53125 matches

by ray.wurlod
Wed Oct 13, 2004 3:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Producing files in UTF8 format
Replies: 4
Views: 1907

You can determine whether national language support (NLS) is enabled or not easily; every passive stage link properties window will include an NLS tab. Alternately, you could examine the uvconfig file in the DataStage "home" directory ($DSHOME) and look for the NLSMODE parameter. If it's present, an...
by ray.wurlod
Wed Oct 13, 2004 3:18 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: datasets
Replies: 3
Views: 1645

DataStage does not limit the size of a dataset, but your operating system may. Does your operating system have a limit set on file size? If you are not running on a 64-bit-enabled file system, the maximum UNIX file size is 2GB. What is your ulimit setting for file size? Type the command ulimit -a to...
by ray.wurlod
Wed Oct 13, 2004 3:12 pm
Forum: General
Topic: Passing working Date to to JOB Parameter
Replies: 3
Views: 3336

You write a simple job control (server) job that runs your parallel job, setting the required parameters. The code would include code such as * Generate current month and day with no delimiters MonthDay = Oconv(@DATE, "DMD" : @VM : "MCN") * hJob is the job handle assigned...
by ray.wurlod
Wed Oct 13, 2004 3:07 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: No data uploaded to the server
Replies: 2
Views: 1541

Look in the job log file for messages like "active stage finishing". From that, determine how many rows were read, how many were written. Look also for messages (in the log) from Oracle that might indicate that the data your job sent were rejected - the messages will usually tell you why, for exampl...
by ray.wurlod
Wed Oct 13, 2004 3:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Hello OR logic in transformer Stage
Replies: 7
Views: 3432

The site I'm on at present isn't using PX, so I can't verify your claim. I trust you've reported it to Ascential?
by ray.wurlod
Tue Oct 12, 2004 8:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Execute Oracle Stored Procedure in Routine
Replies: 10
Views: 8077

You need to "escape" the quote characters. Otherwise they are interpreted by the operating system shell as quote characters rather than being passed. InputArg = "dev_pds_my,dev_pds_my,devpdsmy,EXECUTE DATASTAGE_TEST_SP(\'abcd\');" I have found the -S (silent) option to sqlplus to b...
by ray.wurlod
Tue Oct 12, 2004 3:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle control File(.ctl) for SQLLDR to Column Specification
Replies: 4
Views: 2040

There is nothing in DataStage to reverse-engineer a repository table definition from a bulk loader control script, or even from a create table statement. The latter has been on my low-priority "to do" list for about 30 months.
by ray.wurlod
Tue Oct 12, 2004 3:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Routine validation between two dates
Replies: 1
Views: 749

FUNCTION CheckDate(TheDate) * TheDate is expected to be in DataStage internal format * Calculate internal forms of boundary dates ThisMonth = @MONTH PrevMonth = ThisMonth - 1 ThisYear = @YEAR PrevYear = ThisYear - 1 If PrevMonth <= 0 Then PrevYear = ThisYear -1 PrevMonth += 12 End FirstOfPr...
by ray.wurlod
Tue Oct 12, 2004 3:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to convert 21 digits to 13 digits uniquely
Replies: 18
Views: 4004

Then ask the customer how they will get 21 litres of water into a 13 litre bucket.
by ray.wurlod
Tue Oct 12, 2004 3:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: job Parameters for Sequencer Jobs
Replies: 16
Views: 7595

I wrote one of these that's been in production for nearly two years. It uses BCI functions to access an ODBC database (Oracle 7 as it happens). The tricky part was an arbitrarily deep level of nesting in the dependencies.
by ray.wurlod
Tue Oct 12, 2004 3:15 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Improper DatType Error
Replies: 4
Views: 856

Try adding zero to the column.
by ray.wurlod
Tue Oct 12, 2004 3:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Hello OR logic in transformer Stage
Replies: 7
Views: 3432

Re: Hello OR logic in transformer Stage

sushanth wrote:Hai I need to change derivations in Transformer stage from OR logic to IF then Else if ,for the following Logic help
If IsNull(Tocl1) Or Len(Tocol1) = 0 Then 'sample' Else Tocol1
Why do you need to change? The logic you have will work perfectly well.
by ray.wurlod
Tue Oct 12, 2004 3:04 pm
Forum: Enhancement Wish List
Topic: DataStage Restricted Mode
Replies: 11
Views: 5583

Except for the word Unix, Ken's "solution" is platform-independent.
by ray.wurlod
Tue Oct 12, 2004 1:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to convert 21 digits to 13 digits uniquely
Replies: 18
Views: 4004

Probably a bit more math needed; break the decimal number using integer division and remainder, and convert the pieces.
by ray.wurlod
Mon Oct 11, 2004 9:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to convert 21 digits to 13 digits uniquely
Replies: 18
Views: 4004

Why not just convert to hexadecimal?
A 21-digit decimal number made up entirely of "9" reduces to DE9FFFFF (that is, eight characters) in hexadecimal.

The conversion is easy. Use

Code: Select all

Oconv(TheNumber, "MX") 
to convert to hexadecimal.