Search found 14 matches

by gulshanr
Tue Dec 28, 2004 3:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to know whether INSERT in Oracle Was a success
Replies: 1
Views: 890

How to know whether INSERT in Oracle Was a success

Hello, I have to insert number of rows in to DB table, At the same time I want to know , If Insert was a success then I want to write in one file else I want to write in another File. Is there any way, I can check about the status of insert, may be link status etc.? input---xformer--> insert | | IF ...
by gulshanr
Fri Jul 16, 2004 10:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error in Running Datastage Job
Replies: 3
Views: 2931

Thanks for your help. We were having problem with Configuration. Batch User was not added into Project, Hence we were getting error. But this is surprising, Instead of generating message like "insufficient previledge", we are getting -99 etc.

Once again, Thanks for your help
by gulshanr
Thu Jul 15, 2004 12:49 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error in Running Datastage Job
Replies: 3
Views: 2931

Error in Running Datastage Job

We are getting following set of problems in executing a job. Error running job Status code = -99 DSJE_REPERROR Error running job Status code = -14 DSJE_TIMEOUT Error running job Status code = -14 DSJE_TIMEOUT Any suggestion??? I am getting above error when execute the job in Batch mode, I am able to...
by gulshanr
Wed Jul 14, 2004 12:35 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Exception Handling raised by Oracle
Replies: 2
Views: 1259

Exception Handling raised by Oracle

I am eager to know how to handle exception raised by Oracle. We are using a file and then looking a database for some additional fields. We are experienceing a probelm in lookup. We are using RDB on VAX as lookup. We have problem with date field. Date field in RDB is having a date with year as 5 Dig...
by gulshanr
Tue Jul 13, 2004 3:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle Exception Handling
Replies: 1
Views: 1213

Oracle Exception Handling

I am eager to know, is there any way to handle exceptions raised by any SQL statement. For example. I am reading a file and inserting into ORACLE Table. I have used INSERT ROWS WITHOUT CLEARING. Now I want to trap the error due to UNIQUE CONSTRAINT Voilation. IN this case I want to go ahead and cont...
by gulshanr
Tue Jul 13, 2004 3:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Exception Handling
Replies: 1
Views: 1862

Oracle Exception Handling

I am eager to know, is there any way to handle exceptions raised by any SQL statement. For example. I am reading a file and inserting into ORACLE Table. I have used INSERT ROWS WITHOUT CLEARING. Now I want to trap the error due to UNIQUE CONSTRAINT Voilation. IN this case I want to go ahead and cont...
by gulshanr
Thu Jun 24, 2004 11:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Status code = -14 DSJE_TIMEOUT
Replies: 1
Views: 1986

Status code = -14 DSJE_TIMEOUT

We are running a job in server and getting following error code.
Status code = -14 DSJE_TIMEOUT

We have tested this job in other environment and worked.

Any idea why we are getting this error.
We are getting this error during RESET of job and also during execution.


Thanks,
by gulshanr
Mon Apr 26, 2004 10:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Debug a routin
Replies: 7
Views: 4389

I am trying to read a line from file and then generate 2-6 rows from same line. I have two fields Begin Date and end-Date, For each month between Begin Date and end Date, I have to generate a row. I have written this procedure, and calling from after stage of Transfarmer. This component execution is...
by gulshanr
Fri Apr 23, 2004 2:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Debug a routin
Replies: 7
Views: 4389

I figred out that I need an exit and modified code as per below. DEBUG ErrorCode = 0 ; * set this to non-zero to stop the stage/job infilename = Field(TmpFileDirectory_PHSCO, ",",1,1):"/MMR_XREF_S1.DAT":Field(TmpFileDirectory_PHSCO, ",",2,1) outfilename = Field(TmpFileD...
by gulshanr
Fri Apr 23, 2004 11:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Debug a routin
Replies: 7
Views: 4389

Ray, Thanks for your reply. I have written following code. DEBUG ErrorCode = 0 ; * set this to non-zero to stop the stage/job infilename = Field(TmpFileDirectory_PHSCO, ",",1,1):"/MMR_XREF_S1.DAT":Field(TmpFileDirectory_PHSCO, ",",2,1) outfilename = Field(TmpFileDirecto...
by gulshanr
Thu Apr 22, 2004 9:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Debug a routin
Replies: 7
Views: 4389

Debug a routin

Hi, I am new to writing routine in Datastage. I created the one, logic looks fine to me, But I want to know how to Debug this routine. I checked the manual and they say use DEBUG statement. I am not sure where to use this statement. Any help on this will be highly appreciated.

Thanks,
Gulshan
by gulshanr
Thu Apr 15, 2004 4:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle No data Found
Replies: 1
Views: 842

Oracle No data Found

I have created a job, which accepts parameters and based upon that it retrieve data from Oracle Table. Now I want to know how Can I handle no_data_found exception... Currently it is executing succesfully but I want to abort the job when it is unable to find the data based upon parameters.. Any help ...
by gulshanr
Thu Feb 26, 2004 1:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ORABULK
Replies: 4
Views: 2092

OraBulk

Thanks for your reply. I want to knwo how to use this stage. I have create aInput File stage which is input to Transformation stage and then it is input to ORABULK stage. I am wondering, How will it load the data directly to table. As per Documentation, I need to go SQLLDR... is it true?? If yes the...
by gulshanr
Thu Feb 26, 2004 1:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ORABULK
Replies: 4
Views: 2092

ORABULK

I am new to Datstage, Can anyone help me in using ORABULK stage. I have to load file in to Oracle Database (9.x). Any help on this will be highly appreciated.