IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Can we delete a root segment


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Ganesh Kalam
Warnings : 1

New User


Joined: 11 Aug 2005
Posts: 45
Location: India

PostPosted: Thu Aug 11, 2005 3:34 pm
Reply with quote

Hi friends .........

Can we delete a root segment without deleting the child segments in an IMS DB.
Back to top
View user's profile Send private message
banu

New User


Joined: 09 Aug 2005
Posts: 8
Location: Chennai

PostPosted: Thu Aug 11, 2005 4:43 pm
Reply with quote

HI,

Yes, you can delete the root segment without deleting the child segments.
Back to top
View user's profile Send private message
itssreehere
Warnings : 1

New User


Joined: 10 Jan 2006
Posts: 65
Location: chennai

PostPosted: Wed Jan 11, 2006 7:56 pm
Reply with quote

If you delete the route segment occurance, all the subordinates will get deleted.

sreejith.K.K
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Wed Jan 11, 2006 7:58 pm
Reply with quote

Maybe, just maybe banu tried to say that you don't need to delete the dependent segments before deleting the parent/root. At least, I hope he did icon_wink.gif
Back to top
View user's profile Send private message
gowtham_1982
Warnings : 1

Active User


Joined: 02 Dec 2005
Posts: 109

PostPosted: Thu Jan 12, 2006 3:48 pm
Reply with quote

banu wrote:
HI,

Yes, you can delete the root segment without deleting the child segments.



hai Banupriya,

i think if we delete a segment at any level all the dependent segments also get deleted. in our case, if we delete the root all the dependents get deleted. this is equivalent to deleting the entire database record altogether.


corrections welcomed,

gowtham
Back to top
View user's profile Send private message
amitchaudhary
Warnings : 1

New User


Joined: 13 May 2005
Posts: 8

PostPosted: Thu Jan 26, 2006 6:36 pm
Reply with quote

Hi all,
If we delete any segment at any leve ( including root), all the dependent segments will get deleted, you dont have to delete the childs before deleting the parent segment. IMS take cares of that thing.

In case you want to change the root, you have to actually copy all the child segment by reading them one by one, insert them to the segment with new key and delete the old segment with old key.

thanks
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts DELETE SPUFI DB2 1
No new posts DSNTIAUL driven delete IBM Tools 0
No new posts How to delete a user's alias from the... JCL & VSAM 11
No new posts Delete file row if blanks in the firs... DFSORT/ICETOOL 5
No new posts volume mass delete RMM JCL & VSAM 2
Search our Forums:

Back to Top