Search found 200 matches

by sjordery
Thu Feb 07, 2008 9:06 am
Forum: General
Topic: hexatridecimal or base 36
Replies: 13
Views: 8490

chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ" lenChars = LEN(chars) ;! Check if ok to convert to this base... If nbase < 2 or nbase > lenChars Then Return('') End r = '' newNumber = '' ;! r contains offset of char that was converted to new base Loop r = MOD(num,nbase) newNumber = chars[r...
by sjordery
Thu Feb 07, 2008 8:28 am
Forum: General
Topic: hexatridecimal or base 36
Replies: 13
Views: 8490

I would wager you'll need to roll your own conversion. Before reading this, I thought it was a typo as 3x16 is 48 not 36... so, sexatrigesimal? :lol: Spot on! :lol: The most common latinate name for base 36 seems to be hexatridecimal, although sexatrigesimal would arguably be more correct." Fr...
by sjordery
Thu Feb 07, 2008 4:26 am
Forum: General
Topic: hexatridecimal or base 36
Replies: 13
Views: 8490

hexatridecimal or base 36

Hi All,

Part of a requirement I have is to store a number in hexatridecimal format (also known as base 36). Do you know if there are any built-in functions/routines in DataStage that will allow me to do this... or will it need to be something bespoke? :?

Many thanks in advance.

S
by sjordery
Fri Feb 01, 2008 10:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Trimming a string - rather than a character
Replies: 3
Views: 1591

Great - thanks very much for ther pointers. :)

Cheers,
S
by sjordery
Thu Jan 31, 2008 12:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Trimming a string - rather than a character
Replies: 3
Views: 1591

Trimming a string - rather than a character

Hi All, Probably a simple one for you gurus out there, but it's been a long day here... Basically, I have the following row: <OpenTag attritbute"888"><SecondOpenTag> As part of my processing, I am splitting up the XML and don't want the second open tag... So, what I want to do is: Trim(Inp...
by sjordery
Tue Jan 22, 2008 4:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error in the XML Input Stage
Replies: 11
Views: 6644

This usually means that your xpath expressions don't match the incoming XML document. Worth double checking them.

How did you create the xpaths - XML Meta Data Importer?

Cheers,
Stu
by sjordery
Mon Jan 21, 2008 11:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML Parsing job failing with - received signal SIGABRT
Replies: 5
Views: 2447

External Source Stage worked perfectly - Ernie, you are a hero, thanks.

Cheers
S
by sjordery
Thu Jan 17, 2008 9:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML Parsing job failing with - received signal SIGABRT
Replies: 5
Views: 2447

Did it reproduce after restart? Sadly, yes :? Some more information... The job uses a Sequential file as input and within that file is the full path and file name of the input XML. The file is declared as: * Record Type=Impicit * Field Delimiter=whitespace The contents are '/myFilepath/myInput.xml ...
by sjordery
Thu Jan 17, 2008 9:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML Parsing job failing with - received signal SIGABRT
Replies: 5
Views: 2447

Hi Ernie,

Restarting in 10 mins, will post back and let you know.

Thanks for looking in.
by sjordery
Wed Jan 16, 2008 12:07 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML Parsing job failing with - received signal SIGABRT
Replies: 5
Views: 2447

XML Parsing job failing with - received signal SIGABRT

Hello All, I have a job that up until today was running happily and producing the desired results. The job goes: Seq File =====> XML_Input =====> Dataset The sequential file contains the full path to the input XML document. I ran the job today, with the same inputs, parameters etc as before, and it ...
by sjordery
Wed Dec 19, 2007 6:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Multiple Ambiguous Errors on ODBC load to Oracle DB
Replies: 3
Views: 3125

Hi All, OK, I went back to basics and took out the fields to update before adding them back one by one and running. I have now managed to find the source of the problem... I had a timeStamp field that on the input contained '***********' which caused the invalid time message. Basically, this was dow...
by sjordery
Wed Dec 19, 2007 5:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Multiple Ambiguous Errors on ODBC load to Oracle DB
Replies: 3
Views: 3125

Thanks for your reply Ray. The ODBC table definition was imported from the target Oracle table. This is one of the peculiar things - viewing the table definition in the repository, two of the fields appear as: FieldOne - Double(15) FieldTwo - Decimal(38,0) However, if I load the tab defn from the re...
by sjordery
Tue Dec 18, 2007 6:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Multiple Ambiguous Errors on ODBC load to Oracle DB
Replies: 3
Views: 3125

Multiple Ambiguous Errors on ODBC load to Oracle DB

Hi All, I have a Parallel job that is loading data from a Dataset to an Oracle table using the Enterprise ODBC stage. The job compiles fine, but is aborting at runtime with multiple fatal messages. The job goes: dataset ----> Transformer ----> Enterprise ODBC The table definition used in the ODBC st...
by sjordery
Fri Dec 07, 2007 11:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Invalid precision value. Error in parameter #. ODBC Error.
Replies: 2
Views: 3741

Invalid precision value. Error in parameter #. ODBC Error.

Hi All, I did a search on this, but although 3 topics came up, none showed a resolution... I have an EE job that takes data from a dataset and passes through a Transformer, then loads it to an Oracle DB using the ODBC stage. To get the table definition for the input to the ODBC stage, I imported dir...
by sjordery
Tue Nov 27, 2007 5:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel Jobs Complilation problem
Replies: 11
Views: 4871

Check the Parallel job compiler options in the project's Environment Variables (using Administrator) to ensure that they are identical for both the old and new environments. Are both servers using the same OS?

Regards,
S