Search found 31 matches

by lakshmipriya
Tue Sep 21, 2004 1:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to get the distinct count
Replies: 6
Views: 4064

how to get the distinct count

how to count the distinct of a column value

if the column values are

2
3
4
2

then the count should be 3

how to acheive this in datastage other than DB2
by lakshmipriya
Fri Sep 17, 2004 5:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: restartability in db2 enterprise stage
Replies: 5
Views: 3138

restartability in db2 enterprise stage

While writing in the DB2 Enterprise stage, if the job is aborted what is the flexibility of restarting it by deleting the written records in the previous unsuccessful run in the same job other than looking up the same table again in the same job before writing it or running one more job for solving ...
by lakshmipriya
Thu Sep 16, 2004 6:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: warning in the sequential file
Replies: 2
Views: 2552

warning in the sequential file

I am trying to read a column from a sequentile file to use it in the DB2 to delete the records. While running this job i am getting the following warning SEQL_File: Import consumed only 10bytes of the record's 106 bytes (no further warnings will be generated from this partition) How can i remove thi...
by lakshmipriya
Mon Aug 30, 2004 12:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Join stage warning
Replies: 4
Views: 3616

Try to change the columns names in it, since if u r using more than one joiner it might have this kind of problems. So Inside the joiner try to change the column names and run the job.

Even i 2 faced this kind of problem before, now it got solved using this name changing
by lakshmipriya
Thu Aug 26, 2004 10:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Amount of data a dataset can handle
Replies: 3
Views: 5681

Amount of data a dataset can handle

We have a data set which has the following columns and data type The structure of the data set is Dset1 C1 char(40) C2 smallint C3 char(6) C4 decimal(9,2) C5 integer C6 decimal(9,2) C7 integer C8 decimal(9,2) C9 integer This data set will have 150 million rows so how much will be the size of the Da...
by lakshmipriya
Mon Aug 23, 2004 11:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Null convertion convertion warning
Replies: 3
Views: 2755

Null convertion convertion warning

Hi while trying to creat a new column(SEQ_I) in the DB2 Enterprise stage and defining it as a not null column it is showig the warning as follows: When checking operator: When binding output interface field "SEQ_I" to field "SEQ_I": Converting nullable source to non-nullable res...
by lakshmipriya
Mon Aug 23, 2004 11:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: to convert the output of aggregator to integer
Replies: 2
Views: 2603

to convert the output of aggregator to integer

Hi In am using an aggregator stage to do a sum of a count whose output should have a data type of integer. But as of my knowledge i am getting the output only in dfloat and decimal. While tryong to to convert it into integer it is showin warning. How to convert the output from decimal to integer wi...
by lakshmipriya
Wed Aug 18, 2004 5:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date different in DB2
Replies: 4
Views: 2559

For number of days u can use the juliandays function

convert both the dates for which u have to find the difference to juliandayfromdate

For number of months

use the function monthfromdate
by lakshmipriya
Wed Aug 18, 2004 3:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: To remove the space in the string
Replies: 8
Views: 4484

i want to make this trim inside the DB2 query in a DB2 API stage itself could u pls let u know more exact query for writing the same
by lakshmipriya
Wed Aug 18, 2004 1:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: To remove the space in the string
Replies: 8
Views: 4484

To remove the space in the string

How can i achieve the output of the string with its space in between being removed in DB2 stage written in DB2 as a query

ex. input col: AB IT

req output col:ABIT
by lakshmipriya
Tue Aug 17, 2004 9:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Differenent DB2 setting for different runs in a single stage
Replies: 7
Views: 3335

Actrually in my project in am dealing with a very huge amount of datas around 1-2 TB
by lakshmipriya
Tue Aug 17, 2004 4:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Differenent DB2 setting for different runs in a single stage
Replies: 7
Views: 3335

Hi Lakshmi, What is the purpose of the temporary table?. You can use a Dataset for temporary storage. The Dataset need not be truncated but overwritten with the data from current cycle and used to load the database. You can also have different datasets based on different extraction dates. HTH --Ric...
by lakshmipriya
Mon Aug 16, 2004 9:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Controlled passing of parameters from a file
Replies: 2
Views: 1665

Thanks for ur interest. Actually what i need is, in need a time delay between the fetching of parameters for the 1 time to the next. For example if v have "a" & "b" as the contents in a parameter file, and this has to be passed a paramter to another file one by one, after fet...
by lakshmipriya
Mon Aug 16, 2004 8:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Differenent DB2 setting for different runs in a single stage
Replies: 7
Views: 3335

Truncate operation not possible in DB2 use delete for table truncate. Please explain more clear about your requirements. I have extraction dates for a same job which has to be passed as a parameter to create a temporary table. This is has to be inserted and transfered to another tables by performin...
by lakshmipriya
Mon Aug 16, 2004 5:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Differenent DB2 setting for different runs in a single stage
Replies: 7
Views: 3335

Differenent DB2 setting for different runs in a single stage

I want to have a DB2 stage which has to have a Insert as setting for certain number of runs and it should to truncate for the next and this whole process has to repeat in a cyclic process. How can I achieve this? For expample, if i have 5 buckets of data running in a consequtive process with job sp...