View previous topic :: View next topic
|
Author |
Message |
t1nt1n
New User
Joined: 08 Jul 2005 Posts: 31
|
|
|
|
Can someone help me with a sample program that uses a PATH call to delete a complete path in a PL/I and IMS DB program.
Thanks in advance |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hi t1nt1n,
In Ims DB if u delete one segment all its dependent will automatically delete.
So I am not able to understand why u need a path call to delete segments? |
|
Back to top |
|
|
t1nt1n
New User
Joined: 08 Jul 2005 Posts: 31
|
|
|
|
Gupta i do not want to delete the segment, the data in the segments. |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
Here you can find the command codes among one to define a path call (*D). Path calls can retrieve and insert a sequence of segments in one time. To replace you first retrieve the stuff with a path call (gethold call), delete the root (key is in the key feedback area), modify the segments in the IO-area from the getcall and insert the stuff using the path call.
Advice: store the link somewhere because most answers can be found there |
|
Back to top |
|
|
t1nt1n
New User
Joined: 08 Jul 2005 Posts: 31
|
|
|
|
Thanks, lemme try and let yu know. |
|
Back to top |
|
|
|