| View previous topic :: View next topic |
| Author |
Message |
venus Beginner
Joined: 02 Jun 2006 Posts: 16 Topics: 11
|
Posted: Fri Sep 15, 2006 11:22 pm Post subject: How to delete a record from ims db |
|
|
Hi,
using file-aid for ims , how can i delete a record from ims db.
can u please explain |
|
| Back to top |
|
 |
Grant Beginner
Joined: 02 Dec 2002 Posts: 45 Topics: 1 Location: Sydney, NSW, Australia
|
Posted: Sat Sep 16, 2006 3:21 am Post subject: |
|
|
| 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 |
|
 |
sunkusiva Beginner
Joined: 04 Apr 2006 Posts: 8 Topics: 1
|
Posted: Tue Sep 19, 2006 7:43 pm Post subject: |
|
|
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 |
|
 |
vak255 Intermediate

Joined: 10 Sep 2004 Posts: 384 Topics: 79
|
Posted: Sat Sep 23, 2006 9:05 am Post subject: |
|
|
| 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 |
|
 |
|
|
|