Search found 90 matches

by neena
Fri Jan 18, 2013 4:03 pm
Forum: General
Topic: DB2 UDB API pointing to right schema
Replies: 12
Views: 5491

Yes I did. But please let me understand what that has to do with the parameter sets? I don't even have the schema name parametrized.
by neena
Fri Jan 18, 2013 3:52 pm
Forum: General
Topic: DB2 UDB API pointing to right schema
Replies: 12
Views: 5491

Thanks, we are using parameters sets, but I can see in SQL statements that there is no where schema name is passed as parameter. For testing purpose we have created a test project and done the full project import and then when I do the view data it is pointing to the right schema. Just for the Note:...
by neena
Fri Jan 18, 2013 1:43 pm
Forum: General
Topic: DB2 UDB API pointing to right schema
Replies: 12
Views: 5491

DB2 UDB API pointing to right schema

Hi all, can anyone please let me know how does the schema name gets passed to DB2 UDB API stage? In the userdefined SQL query there is only table name mentioned but when I export the job as XML and checked it's showing up as "DW\.Table name". I understand for the ODBC driver you set the Al...
by neena
Fri Jan 04, 2013 12:47 pm
Forum: General
Topic: Routine getting aborted
Replies: 4
Views: 2033

Thanks so much, because of your suggestions I started debugging if it could be the CLI function SQLExecDirect error. Finally we find that we are having ODBC Driver issue. In the advanced tab of the driver we found that for Alternate ID there is no default schema mentioned, after correcting that ever...
by neena
Thu Jan 03, 2013 6:00 pm
Forum: General
Topic: Routine getting aborted
Replies: 4
Views: 2033

That would not be the case. I have ran the query in rapid SQL and it returned the result. I am having this issue with all the routines which are using the Db2 Connection.
by neena
Thu Jan 03, 2013 4:37 pm
Forum: General
Topic: Routine getting aborted
Replies: 4
Views: 2033

Routine getting aborted

I tried searching the issue but I wasn't able to come up with any info. If I missed please direct me. When I am running the Job sequencer which is using a user Defined routine, the job sequencer is getting aborted with the Routine warning. SQLExecDirect STATUS-Select = -1 SQLSTATE= 00000 dbmscode=-1...
by neena
Wed Aug 22, 2012 2:25 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SAP ABAP extract - Build SQL Query method issue
Replies: 1
Views: 2724

SAP ABAP extract - Build SQL Query method issue

Hi all, I am trying to extract data from a Cluster table in SAP and the requirement is that I join this table with two other tables and get the data. Since it is a cluster table I choose the option "Build SQL query" while generating the ABAP code. Issue: I was not able to join the Cluster ...
by neena
Wed Apr 13, 2011 9:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error occurred in call to ORPHCallActivePluginTerminate()
Replies: 1
Views: 3265

Error occurred in call to ORPHCallActivePluginTerminate()

Hi, while we are calling the mainframe cobol program (stored procedure) we got the Fatal error mentioning "Error occurred in call to ORPHCallActivePluginTerminate()" . can any one please let me know why we would get this error. Please let me know if you need more details. I searched the fo...
by neena
Wed Feb 03, 2010 12:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SQL server stored procedure wait time
Replies: 1
Views: 934

SQL server stored procedure wait time

Hi all,

Could any one please let me know if there is any time limit that datastage has when it calls SQL server stored procedure.

We are calling Stored procedure using DRS stage in Before tab. So I was wondering how long could the datastage wait to complete the SP.
by neena
Thu Jan 14, 2010 4:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Invalid conversion error
Replies: 1
Views: 2061

It resolved when i made the non-key columns as keys in datastage to update the table.
by neena
Thu Jan 14, 2010 4:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Invalid conversion error
Replies: 1
Views: 2061

Invalid conversion error

Hi, I wrote a custom SQL in DB2 stage, in which i am updating two columns based on two other non-key columns Job design is dataset --> Transformer -- > DB2 API stage. I am getting following error, is it because i am using non-key column to update the table? DBMS.CODE=-99999, SQLSTATE=07006, [IBM][CL...
by neena
Thu Dec 24, 2009 12:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: concatenate column value of different records in 1 record
Replies: 4
Views: 1809

Can you try this. Sort the keys and create following stage variables. StageVar1: If JMKCOO:JMDOCO:JMDCTO:JMLNID <> Stage Var2 then JMTXLN Else Stage Var3 : JMTXLN Stage Var2: JMKCOO:JMDOCO:JMDCTO:JMLNID Stage Var3: Stage Var1 Then assign Stage Var3 to your output column and capture the last row in t...
by neena
Wed Nov 04, 2009 2:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to timestamp conversion
Replies: 22
Views: 31784

Stage Var1: String[18,2] Stage Var2: When Stage Var2 = 'PM' and string[9,2] = '12' Then '12' Else If Stage Var2 = 'PM' Then '12+string[9,2]' Else string[9,2] Stage var3: String[1,4]:'-':string[5,2]:'-':string[7,2]: ' ':Stage Var2: String[11,6] Column derivarion: StringToTimestamp(Stage var3,"%y...
by neena
Wed Nov 04, 2009 1:58 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to timestamp conversion
Replies: 22
Views: 31784

you need to add more logic when it is PM. Like create a stage variable to check for PM and hour part.

Like

Stage vari: When string = 'PM' and hour part = '12' Then '12' Else If string = 'PM' Then '12+hour part[]' Else hour part
by neena
Wed Nov 04, 2009 1:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to timestamp conversion
Replies: 22
Views: 31784

When you bring the field try to change into "yyyy-mm-dd hh:nn:ss" format and use the function. I did a test job and it seems like the function is working only with the above format.