If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > DB2 Doubts

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-03-10, 10:08
denisvenis denisvenis is offline
Registered User
 
Join Date: Dec 2008
Posts: 29
DB2 Doubts

Hi,

I am having following doubts:

1) In cobol batch program having CHECHPOINT and RESTART facility.Suppose In porgram after opening cursor with hold and retrieving some row batch job abends.
If I restart program,do I need to open cursor again?

2) A table is partitioned with table controlled and one cluster index is created on table.Then for each partition,the rows will placed in partitined key order or clutster index key order?

3) A table controlled partitioning has been implemented on single column,
can we update partitioning column?

4) A index controlled partitioning has been implemented on single column,
can we update partitioning column?

5) what is the use of Data partitining secondary index over normal index?

6) what is BUILD2 phase and how Data partitining secondary index is related to it?

7) If we give crete table command,embeded in program and later issued ROLLBACK statement,then the created table will deleted or marked as invalid?
Reply With Quote
  #2 (permalink)  
Old 04-05-10, 05:38
dr_te_z dr_te_z is offline
Registered User
 
Join Date: Jan 2009
Location: Zoetermeer, Holland
Posts: 555
Quote:
Originally Posted by denisvenis View Post
1) In cobol batch program having CHECHPOINT and RESTART facility.Suppose In porgram after opening cursor with hold and retrieving some row batch job abends.
If I restart program,do I need to open cursor again?
IMS/BMP I persume?
Yes, you do need to open the cursor again. The program should recognize that it is in a re-start situation. It is good practice to store the "last comitted key value" in your IMS region. Then you know where to (re)start.
Reply With Quote
  #3 (permalink)  
Old 04-05-10, 18:25
dav1mo dav1mo is offline
Registered User
 
Join Date: Dec 2007
Location: Richmond, VA
Posts: 782
Hi Denis,
Here is my contact info to speak with me about hiring me to come teach a class at your location. dav1mo@yahoo.com

Dave
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On