MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to delete a record from ims db

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS
View previous topic :: View next topic  
Author Message
venus
Beginner


Joined: 02 Jun 2006
Posts: 16
Topics: 11

PostPosted: Fri Sep 15, 2006 11:22 pm    Post subject: How to delete a record from ims db Reply with quote

Hi,
using file-aid for ims , how can i delete a record from ims db.
can u please explain
Back to top
View user's profile Send private message
Grant
Beginner


Joined: 02 Dec 2002
Posts: 45
Topics: 1
Location: Sydney, NSW, Australia

PostPosted: Sat Sep 16, 2006 3:21 am    Post subject: Reply with quote

Note sure if you are serious or not, but I'd start with looking up DELETE in the index of the IMS DB Programming Guide
Back to top
View user's profile Send private message
sunkusiva
Beginner


Joined: 04 Apr 2006
Posts: 8
Topics: 1

PostPosted: Tue Sep 19, 2006 7:43 pm    Post subject: Reply with quote

Grant,
In the File-Aid Go with Option 2 (Edit Mode). In the same fashion you go to browse the data, go in and use 'CHAR' on the command screen.

You will end up seeing the contents like following.

Code:

   LEVEL  SEGMENT  ----+----1----+----2----+----3----+----4----+----5---
__ 1      FPAR000  PARENT 000                                           
D_  2     FCHI001    CHILD 001                                         
__   3    FCHI011      CHILD 011                                       
__   3    FCHI011      CHILD 011                                       
__   3    FCHI011      CHILD 011                                       
__   3    FCHI011      CHILD 011                                       
__   3    FCHI011      CHILD 011                                       
__   3    FCHI011      CHILD 011                                       
__   3    FCHI011      CHILD 011                                       
__   3    FCHI011      CHILD 011                                       
__   3    FCHI011      CHILD 011                                       
__   3    FCHI011      CHILD 011                                       

Use 'D' whereever you want to delete,Press PF3 to save and come out
Thumb rule : All the child occurences under that parent will be automatically deleted.

Thanks
Siva.
Back to top
View user's profile Send private message
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Sat Sep 23, 2006 9:05 am    Post subject: Reply with quote

If you don't want to delete entire child .You can also display the records and delete the record which you want.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group