Author |
Message |
Topic: DB2 - declare global temp table |
Hema_Manyam
Replies: 6
Views: 5889
|
Forum: Database Posted: Sat Dec 31, 2005 9:51 am Subject: DB2 - declare global temp table |
Manas,
I have read in manual that DECLARE GLOBAL TEMPORARY TABLE is issued in program to create an empty instance and then INSERT , DELETE, UPDATE can be used in GTT. In what cases these are useful ... |
Topic: DB2 - delay |
Hema_Manyam
Replies: 4
Views: 4377
|
Forum: Database Posted: Sat Dec 31, 2005 12:52 am Subject: DB2 - delay |
Thanks Manas & a_seshu. I realise, I am out of my mind when I am posting this question. Here is the reason why it happened.
Currently I am also working in IDMS, here when deadlock happens we cl ... |
Topic: DB2 - declare global temp table |
Hema_Manyam
Replies: 6
Views: 5889
|
Forum: Database Posted: Sat Dec 31, 2005 12:39 am Subject: DB2 - declare global temp table |
Manas,
That was an excellent explanation. Thanks for your detailed reply.
I got the complete picture now.
Regards,
Hema |
Topic: DB2 - declare global temp table |
Hema_Manyam
Replies: 6
Views: 5889
|
Forum: Database Posted: Thu Dec 29, 2005 6:35 am Subject: DB2 - declare global temp table |
Hi Kolusu,
Thanks for your quick reply.
I have already referred this link. But I could not understand the relation between scrollable cursor and GTT , on how they should be operated together ?? Pl ... |
Topic: DB2 - declare global temp table |
Hema_Manyam
Replies: 6
Views: 5889
|
Forum: Database Posted: Thu Dec 29, 2005 4:49 am Subject: DB2 - declare global temp table |
Hi,
I have learned that DB2 uses a declared temporary table to hold and maintain the data returned by a scrollable cursor.
Below is SENSITIVE STATIC SCROLL cursor, how should I use declared temp ... |
Topic: DB2 - delay |
Hema_Manyam
Replies: 4
Views: 4377
|
Forum: Database Posted: Thu Dec 29, 2005 3:53 am Subject: DB2 - delay |
Hi,
Is there a delay command in DB2 ?
Suppose if I have batch DB2 pgm, and if I encounter deadlock then I want to delay for 3 min and then again perform the same statement to avoid deadlock. How ... |
Topic: Types of cursors |
Hema_Manyam
Replies: 1
Views: 1434
|
Forum: Database Posted: Wed Dec 28, 2005 12:58 am Subject: Types of cursors |
Hi,
How many types of cursors are there in DB2 ??
I got 2 different types of answers as below
Ans 1) Scrollable, non-scrollable, held, non-held cursors
Ans 2) Static, dynamic, Forward-only ... |
Topic: key field in STARTBR |
Hema_Manyam
Replies: 1
Views: 1344
|
Forum: CICS and Middleware Posted: Tue Dec 27, 2005 6:39 am Subject: key field in STARTBR |
Hi,
The STARTBR command establishes the position within the file but does not retrieve a record. Here based on key value, position is set in the file. So it depends on your requirement
HTH
Hema |
Topic: Primary Key - Unique Index |
Hema_Manyam
Replies: 1
Views: 1198
|
Forum: Database Posted: Sun Dec 25, 2005 1:57 am Subject: Primary Key - Unique Index |
Hi,
After creating a primary key for a table, why is it required to create unique index on primary key column ? I saw in most of the shops this standard is followed. Please advise.
Thanks
Hema |
Topic: CICS - MQ |
Hema_Manyam
Replies: 2
Views: 1797
|
Forum: CICS and Middleware Posted: Tue Dec 20, 2005 7:46 am Subject: CICS - MQ |
Hi,
I have a new program written in MQ running under CICS.
what is the setup that needs to be done to initiate a cics transaction when ever the data arrives in queue ?
Thanks
HemaNew program ... |
Topic: CICS - MQ |
Hema_Manyam
Replies: 2
Views: 1797
|
Forum: CICS and Middleware Posted: Tue Dec 20, 2005 7:38 am Subject: CICS - MQ |
Hi,
I have a new program written in MQ running under CICS.
what is the setup that needs to be done to initiate a cics transaction when ever the data arrives in queue ?
Thanks
Hema |
Topic: CICS - DB2 - SYNCPOINT ROLLBACK |
Hema_Manyam
Replies: 7
Views: 11095
|
Forum: CICS and Middleware Posted: Tue Dec 20, 2005 12:56 am Subject: CICS - DB2 - SYNCPOINT ROLLBACK |
Manas,
Its nice to see the 2 thumb rules. I believe, I have understood the difference now.
But one small correction to what you said. EXEC CICS RETURN implies an implicit SYNCPOINT at the highes ... |
Topic: CICS XCTL - LINK - CALL |
Hema_Manyam
Replies: 3
Views: 2354
|
Forum: CICS and Middleware Posted: Tue Dec 20, 2005 12:38 am Subject: CICS XCTL - LINK - CALL |
Thank you Jeba & Manas. That was a very nice explanation.
MVSFORUMS is a great group. I am happy to be part of it.
Thanks
Hema |
Topic: CICS - DB2 - SYNCPOINT ROLLBACK |
Hema_Manyam
Replies: 7
Views: 11095
|
Forum: CICS and Middleware Posted: Sun Dec 18, 2005 9:54 am Subject: CICS - DB2 - SYNCPOINT ROLLBACK |
Hi Kolusu,
Thanks for clarifying my second point.
Regarding the first point, per your advise I have read the link again. See the below lines from that link. It says that it would rollback all t ... |
Topic: ADSO : Diff bet Include module and Dialogs |
Hema_Manyam
Replies: 1
Views: 1393
|
Forum: CICS and Middleware Posted: Sat Dec 17, 2005 7:56 am Subject: ADSO : Diff bet Include module and Dialogs |
Second option is the best
Thanks
MHS |
|