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

Deleting a path in PL/I & IMS DB program


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

New User


Joined: 08 Jul 2005
Posts: 31

PostPosted: Fri Dec 22, 2006 11:45 am
Reply with quote

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
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Fri Dec 22, 2006 11:52 am
Reply with quote

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
View user's profile Send private message
t1nt1n

New User


Joined: 08 Jul 2005
Posts: 31

PostPosted: Fri Dec 22, 2006 4:15 pm
Reply with quote

Gupta i do not want to delete the segment, the data in the segments.
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: Fri Dec 22, 2006 6:31 pm
Reply with quote

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 icon_idea.gif
Back to top
View user's profile Send private message
t1nt1n

New User


Joined: 08 Jul 2005
Posts: 31

PostPosted: Mon Dec 25, 2006 12:00 pm
Reply with quote

Thanks, lemme try and let yu know.
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 Using API Gateway from CICS program CICS 0
No new posts SET PATH in View DDL DB2 2
No new posts DB2 Event passed to the Application P... DB2 1
No new posts Deleting a Tape file JCL & VSAM 14
No new posts How to pass the PARM value to my targ... COBOL Programming 8
Search our Forums:

Back to Top