Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Deleting/Updating segments with no unique fields

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
Author Message
seddy

New User


Joined: 04 May 2007
Posts: 3
Location: Mumbai

PostPosted: Mon May 05, 2008 2:38 pm    Post subject: Deleting/Updating segments with no unique fields
Reply with quote

I am new to IMSDB and am just trying to get familiar with IMSDB programming. I have a case wherein the segment does not hold any key fields. In case I need to update or delete such a segment, how do I go about it?
Back to top
View user's profile Send private message
References
PostPosted: Mon May 05, 2008 2:38 pm    Post subject: Re: Deleting/Updating segments with no unique fields Reply with quote

Bitneuker

IMS Moderator


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

PostPosted: Mon May 05, 2008 7:51 pm    Post subject:
Reply with quote

Reserve the segment using GHN, GHNP or GHU; the H stands for HOLD so nobody else can modify the segment. After that use the REPL call. This can be done for any segment type with or without (unique sequence field). Since you are new to IMS please take some time and read the manuals. Also check the sticky where to find info about IMS.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1