Search found 50 matches

by piyu
Fri Jul 16, 2010 12:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: reading a fixed width file
Replies: 2
Views: 1660

An xls file is not a plain text file, it cannot be used directly in a file stage for read. Save it as txt file and then use it.
by piyu
Fri Jul 16, 2010 12:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Incrementing surrogate key
Replies: 10
Views: 6466

In 7x you can do it two ways : get the max value from the table, and have it incremented in the transformer for each row being inserted, OR always store the max value in a text file on unix and have it exported to the job environment.

8x provides the functionality in the surrogate key stage.
by piyu
Thu Apr 02, 2009 11:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SQL Loader Control File Truncated
Replies: 10
Views: 4313

Thought the same! Version 8 n bugs!
by piyu
Thu Apr 02, 2009 3:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SQL Loader Control File Truncated
Replies: 10
Views: 4313

Here is the snapshot of the control file for this table. OPTIONS(DIRECT=TRUE, PARALLEL=TRUE, SKIP_INDEX_MAINTENANCE=YES) LOAD DATA length semantics byte INFILE 'ora.12285.313228.fifo.0' "FIX 1967" APPEND INTO TABLE PT_MXG_TRADE_TRNRPPL_IRS1 ( "MTM_CCY" POSITION (1:5) varchar(3), ...
by piyu
Thu Apr 02, 2009 3:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SQL Loader Control File Truncated
Replies: 10
Views: 4313

Unfortunately I cannot check the control file on the oracle server installation.
by piyu
Thu Apr 02, 2009 3:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SQL Loader Control File Truncated
Replies: 10
Views: 4313

Yup. The DBA provided the control file and it is truncated. Here is the error : ORA_MOPC_DB_LOAD,1: SQL*Loader-350: Syntax error at line 142. ORA_MOPC_DB_LOAD,1: Expecting valid column specification, "," or ")", found "PO". ORA_MOPC_DB_LOAD,1: "LEG2_ACCRUAL3" ...
by piyu
Thu Apr 02, 2009 3:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SQL Loader Control File Truncated
Replies: 10
Views: 4313

SQL Loader Control File Truncated

Hi, The problem I'm facing is: I am using LOAD in Oracle Enterprise stage and the job is failing because the control file is being truncated. The same job runs fine with another schema which has relatively less columns compared to the one failing. The DBA says its something Datastage may be doing. I...
by piyu
Mon Sep 01, 2008 11:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error in Parallel job
Replies: 2
Views: 1469

Error in Parallel job

Does anyone have any idea about this particular error? I found something in Server Forum but no resolution. Error : ldFabLocation2(xfmDwid).#1.xfmDwid: |Error 11 in GCI Link initialisation After cleaning up this job and re-running : I keep getting this error : Error : xfmDwid,1: Unable to run job - ...
by piyu
Mon Aug 18, 2008 9:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Runtime column definition for Oracle Stage
Replies: 4
Views: 1534

Let me clarify:

The source stage metadata needs to be supplied at runtime as well.
by piyu
Mon Aug 18, 2008 8:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Runtime column definition for Oracle Stage
Replies: 4
Views: 1534

Runtime column definition for Oracle Stage

Hi, Apologise if I am repeating a previously posted query. My search has not yeilded any results. Is there anyway to provide runtime column defintion for Oracle source stage? I have over 200 tables to be loaded which read from Oracle table itself and simply do an insert to another table. Is there an...
by piyu
Mon Oct 08, 2007 6:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: error while importing the file
Replies: 1
Views: 1067

Connection to Server has timed out. Please relogin :D
by piyu
Sun Apr 09, 2006 11:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compiling and linking a parallel routine
Replies: 15
Views: 10178

Done it!

Used the "MAkefile" script which come with the installation cd to create shared object.

The option it uses on AIX are: -G -qmkshrobj=1000
by piyu
Thu Apr 06, 2006 10:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compiling and linking a parallel routine
Replies: 15
Views: 10178

The routine is available in transformer and the job compliles as well. But at run time,This is the error i am getting : Transformer_2: Failed to load the library "V0S2_test_parallel_routine_Transformer_2.o"; either the directory containing the library file is not on the library search path...
by piyu
Thu Apr 06, 2006 12:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compiling and linking a parallel routine
Replies: 15
Views: 10178

Nope it doesnt work!

Can some one pls send me a step wise procedure to create and run a parallel routine?

Thanks.
by piyu
Wed Apr 05, 2006 5:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compiling and linking a parallel routine
Replies: 15
Views: 10178

We have Visual Age C++ installed and xlC_r is also available.

The values for the env vars are :

APT_COMPILEOPT = -O -c -qspill=32704
APT_COMPILER = /usr/vacpp/bin/xlC_r
APT_LINKER = /usr/vacpp/bin/xlC_r
APT_LINKOPT = -G

I have the .o file. Dunno wat to do after that!