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
Search found 31 matches
- 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
- 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 ...
- 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...
- 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
- 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...
- 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...
- 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...
- 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
- 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
- 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
ex. input col: AB IT
req output col:ABIT
- 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
- 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...
- 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
- 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...
- 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...