Search found 558 matches

by ketfos
Thu Feb 08, 2007 7:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Loading data into Time Dimension
Replies: 14
Views: 5843

Hi, Thanks, I have loaded data into the time dimension table ( Date_SK (PK, int, not null) Date (varchar(8), null) Month_Number(int,null) Qtr_Number(int, null) Year_Number(int,null) I have transaction table Policy with following fields PolicyNumber, Premium_Amount, Region, payment_Date. How do I loa...
by ketfos
Thu Feb 08, 2007 12:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Warning Message - Job must be reset before it can run.
Replies: 3
Views: 4104

Hi,

I checked my job logs for last four days.

The job ran without any warning message.

Where do i look for
"Reset if required then run" options in my jobs?

Ketfos
by ketfos
Thu Feb 08, 2007 11:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Loading data into Time Dimension
Replies: 14
Views: 5843

Hi,

What calculations I need to build into the Excel for time dimesnion .
Loading from Excel to table is not a problem.

ketfos
by ketfos
Thu Feb 08, 2007 11:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Warning Message - Job must be reset before it can run.
Replies: 3
Views: 4104

Warning Message - Job must be reset before it can run.

Hi, I have a job scheduled to run at 9.00 am in the morning. I got this warning message in the error log Job IClaimsPolicyKeyUpdate must be reset before it can run. The source reads the target table for policyid is null. The action is to concatenate policyNumber and POlicyYear and populate it to pol...
by ketfos
Thu Feb 08, 2007 11:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Loading data into Time Dimension
Replies: 14
Views: 5843

Hi, I have transaction table with Policy Number, Location, Type, Premium Amount and Payment Date. I want to create FACT and DIMESNION table. I want to create a Fact Table which will have premium amount and corresponding Time Dimension table to analyze this fact on daily, monthly,quaterly and yearly ...
by ketfos
Thu Feb 08, 2007 11:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Loading data into Time Dimension
Replies: 14
Views: 5843

Loading data into Time Dimension

Hi,

I have Oracle database.

How do I load data into time dimension.
The measures are day, month, qtr, year.
We have datastage 7.5



Thks
Ketfos
by ketfos
Mon Sep 25, 2006 2:41 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to find row that causes error
Replies: 13
Views: 9099

Hi,

One simple way is to put a REJECT constraint in the transformer and write the output of REJECT constraint link to a file.

All the rejected rows will be written to a sequentila file.

Ketfos
by ketfos
Mon Sep 25, 2006 2:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSWaitForJob
Replies: 6
Views: 2109

Hi, hJobU2PM23 is the job handle from DSattach function for job named Updatejob ErrCode = DSWaitForJob(hJobU2PM23) Status = DSGetJobInfo(hJobU2PM23, DSJ.JOBSTATUS) If Status = DSJS.RUNFAILED Then * Fatal Error - No Return Call DSLogFatal("Job Failed: Updatejob", "JobControl") End...
by ketfos
Tue Aug 22, 2006 2:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Writing to Oracle Table is slow
Replies: 8
Views: 3205

Writing to Oracle Table is slow

Hi, I am reading from seq file and writing to Oracle table. The number of input records is 12 million. The action is set to Update/Insert. Array size is 400, transcation size = 0, transaction handling = 10000 I am getting like 60 rows/sec. Seqfile - Transformer - Oracle table. Any clues/suggestions ...
by ketfos
Tue Aug 01, 2006 2:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: EOR character in fixed width file on UNIX
Replies: 2
Views: 1097

EOR character in fixed width file on UNIX

Hi, I am reading from Unix Sequential file - fixed width format and writing to Oracle table. I am getting an error while I am writing to the table. LoadStage.MPNO.InRecord: read_fixedwidth() - row 53161308, column TXT, column unexpectedly ended by EOR The total number of records in the input file ar...
by ketfos
Tue Aug 01, 2006 2:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: EOR character
Replies: 1
Views: 937

EOR character

Hi, I am reading from Unix Sequential file - fixed width format and writing to Oracle table. I am getting an error while I am writing to the table. LoadStage.MPNO.InRecord: read_fixedwidth() - row 53161308, column TXT, column unexpectedly ended by EOR The total number of records in the input file ar...
by ketfos
Wed Jul 26, 2006 12:08 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Action - is not supported for pre-defined update action
Replies: 6
Views: 4649

Hi, Your suggestion did help and now I not getting the previous error message "is not supported for pre-defined update action. " The error message is ORA-01036: illegal variable name/number The user defined sql in target table -Oracle INSERT INTO TESTPAY (POLICY_NUMBER,POLICY_YEAR,POLICY_S...
by ketfos
Tue Jul 25, 2006 5:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Action - is not supported for pre-defined update action
Replies: 6
Views: 4649

Hi, Below is the user defined sql for insert into target table. TestPol..SchemaTABLENAMEACTION: INSERT INTO POLICY(POLICY_NUMBER,POLICY_YEAR,POLICY_SUFFIX,GROUP_NUMBER,BILL_TYPE,BILL_ACCOUNT_TYPE, POSTING_DATE, PAYMENT_DATE, PAYMENT_AMOUNT, PAYROLL_FROM_DATE, PAYROLL_TO_DATE, ALLOC_FROM_INITIAL_PREM...
by ketfos
Tue Jul 25, 2006 4:49 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Action - is not supported for pre-defined update action
Replies: 6
Views: 4649

Action - is not supported for pre-defined update action

Hi, I am using Oracle 9i and Datastage 7.5 Sever Edition. When I write a user defined sql for inserting into target table (Oracle) and update action is User -defined sql, and run the job, it gives warning message is not supported for pre-defined update action. The source is Oracle table. Is user def...
by ketfos
Mon Jul 24, 2006 6:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Timestamp datatype
Replies: 7
Views: 2331

Hi, No there is no trailing comma as shown below VALUES (:1,:2,:3,:4,:5,:6, TO_timestamp(:7, 'YYYY-MM-DD HH24:MI:SS:FF'), TO_DATE(:8, 'YYYY-MM-DD HH24:MI:SS'), :9, TO_DATE(:10, 'YYYY-MM-DD HH24:MI:SS'), TO_DATE(:11, 'YYYY-MM-DD HH24:MI:SS'), :12,:13,:14,:15, TO_DATE(:16, 'YYYY-MM-DD HH24:MI:SS')); k...