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

Deleting/Updating segments with no unique fields


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

New User


Joined: 04 May 2007
Posts: 3
Location: Mumbai

PostPosted: Mon May 05, 2008 2:38 pm
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
Bitneuker

CICS Moderator


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

PostPosted: Mon May 05, 2008 7:51 pm
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
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 Deleting a Tape file JCL & VSAM 14
No new posts CA7 deleting files in steps after job... CA Products 4
No new posts Updating a 1 byte thats in occurs mul... DFSORT/ICETOOL 6
No new posts Concatenate 2 fields (usage national)... COBOL Programming 2
No new posts Any JCL or VSAM Utility to get number... JCL & VSAM 1
Search our Forums:

Back to Top