Search found 16 matches

by lathalr
Sat Sep 15, 2018 2:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Fetch out of sequence error in transformer
Replies: 2
Views: 12527

Fetch out of sequence error in transformer

Hello,

Server job is aborted with the following error : ReportWIPRMJ1..TRF_ReportWIPRm: ORA-01002: fetch out of sequence

Please suggest.

Thanks in advance.
by lathalr
Fri Oct 14, 2016 3:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sparse Lookup
Replies: 2
Views: 2604

Sparse Lookup

Hello Team, My source has only 4 records and the reference has 10K+ records. I am using sparse lookup. More than 4 records are flowing out of the lookup to the next stage. I have used below properties in lookup stage: 1. Condition not met : Fail 2. Lookup failure : Reject I want only 4 records (matc...
by lathalr
Mon May 23, 2016 11:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How do I add business days to a timestamp?
Replies: 8
Views: 8607

Thank you Teej :)

Can you pls explain me with some example...
for eg: my input date : 23-MAY-15.. i need to add 17business days (Monday to friday). Please help me on this and thanks in advance.
by lathalr
Sun May 22, 2016 10:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How do I add business days to a timestamp?
Replies: 8
Views: 8607

Thanks all!!!!!!!! I want to exclude only weekends. Holidays is not mandatory. I tried with 14calendar days which gives 10business days(Monday to Friday) and its working fine. But my requirement, not only 10 business days...some places i have to use 14,17,21 business days. So I want to implement thi...
by lathalr
Fri May 20, 2016 8:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How do I add business days to a timestamp?
Replies: 8
Views: 8607

How do I add business days to a timestamp?

Hello everyone, I want to add 10 business days to one field which is timestamp datatype. I tried in SQL like below Select add_business_days(timestampfieldname,5) as A from XYZ. But it is saying invalid identifier. So I want to implement this logic in my job using some stages. I know we have some fun...
by lathalr
Wed Oct 09, 2013 8:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job aborts when array size and record count is set to 65000
Replies: 4
Views: 3904

Job aborts when array size and record count is set to 65000

Hi All, We get the error and the job aborts when array size and record count is set to 65000 on ODBC stage-Insert Bulk failed due to schema change on target table. Observation - new nullable columns are added to the table after we developed the job. These new columns are not defined in the job but a...
by lathalr
Tue Jul 02, 2013 8:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Calling Stored Procedure from datastage
Replies: 1
Views: 2027

Calling Stored Procedure from datastage

Hi All, In datastage we are calling stored procedure to load the main tables from staging tables. our job looks like row_generator -> transformer -> stored procedure stage -> output file We are creating and passing input parameter to stored procedure and also passing the status to output file using ...
by lathalr
Fri Apr 05, 2013 4:37 am
Forum: General
Topic: Sequence job
Replies: 1
Views: 1649

Sequence job

Hi All, I am using a sequencer to run all of my parallel and child sequence jobs. In master sequence, am calling two parallel jobs and one sequence job. In child sequence, am executing script. If suppose the child seq gets aborted, then my master also gets aborted. When I tried to compile and re-run...
by lathalr
Thu Mar 21, 2013 3:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: surrogate key
Replies: 5
Views: 4048

Thanks to all..The problem is resolved now. Actually the problem is with my input files. I have read two files, so DS is reading the file in parallel mode eventhough in transformer the execution mode is sequential. I am not sure about the problem. But now I have concatenated the input files and read...
by lathalr
Wed Mar 20, 2013 7:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: surrogate key
Replies: 5
Views: 4048

Hi Chulett, Thanks for ur reply. I need to create two output files as mentioned. File_1 is correct that is the output value is 1,2,3. But the file_2 is like 0,2,3,1,0. But for the single node or 2node, the output is perfect. I am doing any partitioning inside my job. I am reading the data sequential...
by lathalr
Wed Mar 20, 2013 7:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: surrogate key
Replies: 5
Views: 4048

surrogate key

Hi All, I am reading two files in CFF stage. After that, generating sequence number using transformer stage with nextsurrogatekey() function. And I need to create two files. Input data: A000000000000000000 B000000000000000000 B000000000000000000 B000000000000000000 A000000000000000000 B0000000000000...
by lathalr
Thu Mar 14, 2013 3:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to handle multiple files in CFF Stage
Replies: 1
Views: 1901

How to handle multiple files in CFF Stage

Hi All, I have used CFF stage in my job to read a mainframe file. I have used one file which is having multiple record type. Is there are any possible to read one more file in the same job? If yes, then what are changes I need to do in my job? They required same metadata or different? If the second ...
by lathalr
Fri Mar 08, 2013 7:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Merge stage
Replies: 6
Views: 2977

Merge stage

Hi All, I have two different files. I want to merge two files but I don't have any common keys. So I have created a dummy key to merge two files. Master link having 13rows and reference having 5rows. But after merging, I am getting only 17rows. One row is missing. Please help me to get 18rows in my ...
by lathalr
Thu Feb 14, 2013 11:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Complex flat file
Replies: 2
Views: 2081

Hi Andy,

Thanks for ur help. My problem was resolved. Actually the problem is with my data. Now its working fine. Thanks once again.