Author |
Message |
Topic: Optimization question - Multiple acces of the same table |
THRIVIKRAM
Replies: 7
Views: 5709
|
Forum: Database Posted: Mon Dec 06, 2010 12:48 am Subject: Optimization question - Multiple acces of the same table |
Thanks Kolusu for the reply.
In my initial query, TABLEA A in one region and TABLEA B,C,D are in other region. Initial query has a different names for TABLEA B,C,D which are Data Proped from TABLE ... |
Topic: Optimization question - Multiple acces of the same table |
THRIVIKRAM
Replies: 7
Views: 5709
|
Forum: Database Posted: Fri Dec 03, 2010 2:41 pm Subject: Optimization question - Multiple acces of the same table |
Also, the counts doesnt match. Here is the O/P of the suggested query:
+-------------------------------------------------------------------------------
| DTNCNY | DTNSLIC | SVCTYPE | SMTLETTER ... |
Topic: Optimization question - Multiple acces of the same table |
THRIVIKRAM
Replies: 7
Views: 5709
|
Forum: Database Posted: Fri Dec 03, 2010 2:28 pm Subject: Optimization question - Multiple acces of the same table |
Thanks Kolusu for looking into this.
get all the 3 tables as a single table and then use that result table to join
1) There is only one table involved here. TABLEA
2) If I use the approach ... |
Topic: Optimization question - Multiple acces of the same table |
THRIVIKRAM
Replies: 7
Views: 5709
|
Forum: Database Posted: Fri Dec 03, 2010 10:11 am Subject: Optimization question - Multiple acces of the same table |
Hi,
Iam trying to optimize this query:
Query:
SELECT DISTINCT A.SMT_DTN_CNY_CD DTNCNY
,A.DTN_SLC_NR DTNSLIC
... |
Topic: Optimize of the Query |
THRIVIKRAM
Replies: 3
Views: 2449
|
Forum: Database Posted: Mon Nov 22, 2010 1:43 pm Subject: Optimize of the Query |
Helo,
Below is the query that Iam trying to Optimize:
SELECT
COUNT(DISTINCT E.SMT_NR)
, COUNT(DISTINCT F.SMT_NR ... |
Topic: Minimize Getmains |
THRIVIKRAM
Replies: 2
Views: 2712
|
Forum: CICS and Middleware Posted: Mon May 03, 2010 5:51 am Subject: Minimize Getmains |
Hi All,
We have MQ triggering the application program-1 when the first message comes on to the MQ. This program-1 calls program-2. We are using external copybooks to pass the MQ data from program-1 ... |
Topic: Eliminate the Last record type before insertin into table |
THRIVIKRAM
Replies: 1
Views: 1557
|
Forum: Application Programming Posted: Tue Apr 27, 2010 11:25 am Subject: Eliminate the Last record type before insertin into table |
Hi All,
I have records on MQ. I need to read each record and store it in a table as free form text area.
This record will be multiples of 130 bytes. The colum in the table can hold upto 76 chunks ... |
Topic: Compare date field with Varchar |
THRIVIKRAM
Replies: 4
Views: 2648
|
Forum: Database Posted: Fri Feb 19, 2010 10:03 am Subject: Compare date field with Varchar |
Thanks Kolusu! |
Topic: Compare date field with Varchar |
THRIVIKRAM
Replies: 4
Views: 2648
|
Forum: Database Posted: Thu Feb 18, 2010 2:50 pm Subject: Compare date field with Varchar |
Hi,
I got the solution. Below is the query I used:
(Test_Area is 40 bytes and last 6bytes is the date)
SELECT *
FROM TABLEA
WHERE
(SUBSTR(Test_Area,34,2) > '50' ... |
Topic: Compare date field with Varchar |
THRIVIKRAM
Replies: 4
Views: 2648
|
Forum: Database Posted: Thu Feb 18, 2010 1:55 pm Subject: Compare date field with Varchar |
Hi,
I have a DB2 table where one of the colum is Text_Area (Datatype: Varchar). This Colum stores the date field(format: YYMMDD).I want to query this table to fetch all the rows greater than
a pa ... |
Topic: Displace the fields in the copybook |
THRIVIKRAM
Replies: 1
Views: 1702
|
Forum: Application Programming Posted: Tue Jan 05, 2010 4:20 pm Subject: Displace the fields in the copybook |
Hi all,
I have a copybook of lenght 2000bytes. I read the MQ record into this copybook(generally the mq record is about 1500 bytes).
If the processing of this record fails, I want to write this me ... |
Topic: CICS Containers (Vs) External Copy Books |
THRIVIKRAM
Replies: 2
Views: 2781
|
Forum: CICS and Middleware Posted: Thu Dec 10, 2009 9:51 am Subject: CICS Containers (Vs) External Copy Books |
External Copy books are defined with the word "EXTERNAL". If a program calls another program in CICS, it need not pass any values. Instead both programs can use the variables in the EXTERNAL ... |
Topic: CICS Containers (Vs) External Copy Books |
THRIVIKRAM
Replies: 2
Views: 2781
|
Forum: CICS and Middleware Posted: Sun Dec 06, 2009 1:52 pm Subject: CICS Containers (Vs) External Copy Books |
Hi All,
Can I use External Copy book to pass data between two CICS applications to overcome the COMMAREA limitaion of 32K. I am finding some material on CICS containers which overcomes the same pro ... |
Topic: CICS TSP Processing |
THRIVIKRAM
Replies: 1
Views: 2250
|
Forum: CICS and Middleware Posted: Sun Dec 06, 2009 1:43 am Subject: CICS TSP Processing |
To make my question more clear, While using the CICS TSP processing can I implement the Message Handler program functionalities in the Application program. We have 11 MQ's in our design. If we can eli ... |
Topic: CICS TSP Processing |
THRIVIKRAM
Replies: 1
Views: 2250
|
Forum: CICS and Middleware Posted: Fri Dec 04, 2009 12:33 pm Subject: CICS TSP Processing |
Hi,
While implementing "Web Sphere MQ |
|