Search found 200 matches

by dnat
Thu May 07, 2009 1:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: data with double quote
Replies: 4
Views: 2198

data with double quote

Hi I have a job where the input file format is Delimiter | Quote double. But i got one record like this "aaaaa"|"bbbbbbbb"|"cccccccccc""|"ddddddd" Now this record is getting rejected because of the extra double quote in "ccccccc". is there a way...
by dnat
Fri May 01, 2009 5:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: updating date field
Replies: 5
Views: 2125

Even after converting it into 'DD-MON-YY' , i am not able to update it. I tried this Oconv(Iconv(Substrings(LkpMatched.AH_ACCT_RECLASS_DATE,1,10),"DYMD"),"D-DMY[2,A3,2]") The format of AH_ACCT_RECLASS_DATE is 'YYYY-MM-DD HH24:MI:SS' CvBT0002Job3AcctHistLoad_New.3273.XF1: At row 1...
by dnat
Fri May 01, 2009 4:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: updating date field
Replies: 5
Views: 2125

ok, i saw that this is present in the update statement

AH_PREV_ACCT_RECLASS_DATE=TO_DATE(:93, 'DD-MON-YY').

how do i convert my date into this format
by dnat
Fri May 01, 2009 4:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: updating date field
Replies: 5
Views: 2125

updating date field

Hi, I have a field Col1 with data type Date. From the oracle stage i am extracting this field like to_char(col1,'YYYY-MM-DD') and storing this value in the col. I have one more field Col2with data type Timestamp. From oracle stage i am extracting this field like to_char(col2,'YYYY-MM-DD HH24:MI:SS')...
by dnat
Thu Apr 16, 2009 5:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: time conversion
Replies: 2
Views: 1091

time conversion

Hi,

I have a date in the format 'YYYY-MM-DD' and i want to convert into timestamp format with OCONV. How can i achieve that.
by dnat
Wed Apr 08, 2009 4:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: sqlcode:1403 for insert records
Replies: 4
Views: 9085

no, i dont think i have..but how to find that out?
by dnat
Wed Apr 08, 2009 4:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: comparing with null values
Replies: 5
Views: 1900

what would be the value..1 or 0?
by dnat
Wed Apr 08, 2009 3:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: comparing with null values
Replies: 5
Views: 1900

comparing with null values

Hi,

When we compare two fields

If (link1.A=Link1.B) then 1 Else 0

Now when Link1.B is a null value what would be the result?
by dnat
Wed Apr 08, 2009 2:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: creation of reports
Replies: 3
Views: 2284

creation of reports

Hi We have got some requirements to create reports. We have to compare a file and a table and based on the conditions , we have to give the count. For example Col A in file matches Col A in table and Col B in file matches Col B in table--count of this Col C in file matches Col C in table and Col D i...
by dnat
Wed Apr 08, 2009 12:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: sqlcode:1403 for insert records
Replies: 4
Views: 9085

sqlcode:1403 for insert records

Hi, I am getting sqlcode:1403 while inserting the record into the table. Only one record gets rejected with this issue. I searched the forum, but couldnt find any resolution. Can anyone please help i am using ORA OCI stage and upsert method, where for update i have mentioned the where clause as 1=2,...
by dnat
Thu Apr 02, 2009 7:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: generating seq nos
Replies: 10
Views: 6324

my target tables are same for multiple jobs.

so if i start the jobs parallely then i will get the same value for all the jobs as input.
by dnat
Thu Apr 02, 2009 5:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: generating seq nos
Replies: 10
Views: 6324

i can get uniq nos not a problem. but when multiple jobs run at the same time all will query the database and get the max(col)+1 value, which will be same and when they calculate unique values, all will have the same values and cannot insert if it is a primary key for the output table. i want to hav...
by dnat
Wed Apr 01, 2009 11:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: generating seq nos
Replies: 10
Views: 6324

generating seq nos

Hi, I am trying to generate uniq ids for the data i am inserting. i know that there are lot of ways to achieve it, but i will be running the jobs parallely so i think there will be a problem. If i use the max(col) and pass it as a variable to the job and use @OUTROWNUM , then if parallely i run many...
by dnat
Tue Mar 24, 2009 3:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: creating an output record if input count is 0
Replies: 1
Views: 904

creating an output record if input count is 0

Hi, I am creating a statistics file in a job based on the count in the incoming link. I have aggregators to count the number of records. But if there are no records o.e zero records in the input link, it is creating a 0 byte output file , which is normal. But i want to create an output file(which is...
by dnat
Tue Mar 17, 2009 7:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: splitting the field values
Replies: 5
Views: 1869

i understood..thanks a lot.