Hi ArndW
We have not tried testing the job. My colleague mentioned that if our insert failed, we need to rollback the data. And commit if the insert is successful.
Search found 33 matches
- Fri Jul 10, 2015 5:48 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Oracle Enterprise Close Command
- Replies: 6
- Views: 3091
- Fri Jul 10, 2015 5:07 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Oracle Enterprise Close Command
- Replies: 6
- Views: 3091
- Fri Jul 10, 2015 3:57 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Oracle Enterprise Close Command
- Replies: 6
- Views: 3091
Oracle Enterprise Close Command
Hi Everyone, I like to ask for help on using Close Command on Oracle Enterprise Stage. What I need to do is to update a table using Close Command. We are not allowed to use UPSERT method because of large volume of data. So we are using Write Method = Load, Write Mode = Truncate. Can anyone point me ...
- Fri Jul 03, 2015 5:23 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Use Value from Flat File on Where Clause in Oracle Stage
- Replies: 6
- Views: 3897
Use Value from Flat File on Where Clause in Oracle Stage
Hi, I need to fetch rows from an oracle enterprise stage, my mapping document looks something like this, select Table.ID Where( DATASET.COL1|| '_' ||DATASET.COL2|| '_' |||DATASET.COL3) = Table.UNQ_ID Is it possible to use the value coming from a dataset as a filter to my select statement.? Thanks.
- Mon Jun 29, 2015 3:57 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date Problems
- Replies: 5
- Views: 2172
- Mon Jun 29, 2015 3:38 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date Problems
- Replies: 5
- Views: 2172
- Mon Jun 29, 2015 2:25 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date Problems
- Replies: 5
- Views: 2172
Date Problems
Hi, I have an input string (varchar) coming from a sequential file which looks like: yyyymmdd I want it on my output dataset to become sql type = date with same format yyyymmdd. Tried solution: 1. I tried using StringToDate("yyyymmdd", "%yyyy%mm%dd%") but on output viewdata it be...
- Mon Jun 08, 2015 5:47 am
- Forum: General
- Topic: Configuring FTP on unix script.
- Replies: 2
- Views: 1828
Configuring FTP on unix script.
Hi, Cant find anywhere else to ask for help. Hope someone can enlighten. We have a datastage sequence which we want to execute via shell script. The first job activity in that sequence is an FTP object writing to a sequential file. On datastage, that job is working fine, however, on the script, it i...
- Fri May 22, 2015 4:18 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Add total record count and total reject count in log file.
- Replies: 4
- Views: 1765
Write the new lines, and any required empty lines, to a dummy file. Then use TYPE command to append the log file. Then delete the log file, and rename the dummy file. The first of these steps is pr ... Hi , I cannot get any insight from your reply since I'm not a premium member. Job Pay is just eno...
- Fri May 22, 2015 3:16 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Add total record count and total reject count in log file.
- Replies: 4
- Views: 1765
Add total record count and total reject count in log file.
Hi, I have a log file which registers rejected records and is being used by 3 separate jobs executed as follows: Job1>Overwrite Log File; Job2> Append Log File; Job3>Append Log File. The Log file looks something like this. Co11~Col2~Col3~Col4~Col5~Col6 0123456~132455~987654678~ADDRNUMBER~1234566~1 M...
- Tue May 19, 2015 7:19 pm
- Forum: General
- Topic: Error running job using shell script.
- Replies: 7
- Views: 3443
- Tue May 19, 2015 7:05 pm
- Forum: General
- Topic: Error running job using shell script.
- Replies: 7
- Views: 3443
Hi. I tried setting OUT = $? , removing the double quotes on the $OUT in the if statements and running again but now I'm getting this output: Status Code = 0 Waiting for job... Finished Waiting for job Job Status : (1) Status Code = 1 aa.sh [36]: OUT: not found aa.sh [38]: test: 0403-004 Specify a p...
- Tue May 19, 2015 4:15 am
- Forum: General
- Topic: Error running job using shell script.
- Replies: 7
- Views: 3443
Error running job using shell script.
Hi. I have a simple source>join>target parallel job and when I run it on the Datastage it works fine, but when I run it using shell script it is returning errors. I'm currently on a much complex requirement where I should run 2 sequences using a shell script and trying my code on a smaller job befor...
- Thu May 14, 2015 7:45 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Datastage Transformation Error
- Replies: 7
- Views: 6382
Thank you for all your inputs. Now I dont have compile errors. What we did was remove the stage variable, add an additional transformer stage, create two new columns where the derivation we used was the one on the stage variable. and put the isnull and is not null into the constraint into the next t...
- Thu May 14, 2015 7:36 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Capturing Deleted Rows from an Oracle Enterprise Database
- Replies: 1
- Views: 1475
Capturing Deleted Rows from an Oracle Enterprise Database
Hi, My requirement is to capture the 2 fields from deleted rows from an oracle database and put those 2 fields in a sequential file. I used Write Method = Delete Rows; User defined delete. Do i need to insert the sequential file before I perform the delete? Or is it that the output of the Oracle Dat...