Search found 4 matches

by Edric
Mon Jul 11, 2005 9:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: code to convert EBCDIC to ASCII
Replies: 13
Views: 5754

As said ArndW, you can simply convert EBCDIC to ASCII / ASCII to EBCDIC with either Sequential Stage or Column Import / Export Stage. In the Sequential Stage, go to Output, Format, in Type Default \ General, set Character Set = EBCDIC and Data Format = Binary. Now for each columns, the best is to se...
by Edric
Fri Dec 24, 2004 9:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Seq Generator
Replies: 11
Views: 5940

There's a sequence (key) generator in 7x but there's nothing in 6x in fact. The only way i see in 6x for a unique sequence is either use "SEQ.NEXT_VAL"... either use in transformer something like : (@INROWNUM * @NUMPARTITIONS) + @PARTITIONNUM as a sequence but don't remember if in 6x u can...
by Edric
Fri Dec 24, 2004 3:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error in lookup stage
Replies: 4
Views: 2331

in fact u need to rename ur column, u must have the same name for the key.

rename ur "col5" in "col2", and it'll work.
u can rename the column with several stages... sometimes the most simple is to use a "Copy" to rename.
by Edric
Thu Dec 23, 2004 8:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Loader, problem with blanks
Replies: 0
Views: 1055

Oracle Loader, problem with blanks

Hi, got a problem with the Oracle stage, when i use Sql Loader. I have some datas that can have one blank (ie: CD_TEST varchar (10) not nullable = ' ') The problem is that the loader don't use delimiters by default, it's fix lenght, and with the ctl generated, blanks means NULL. So when i load datas...