Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Deleting a path in PL/I & IMS DB program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: Deleting a path in PL/I & IMS DB program
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: 1191
Location: Bangalore,India

PostPosted: Fri Dec 22, 2006 11:52 am    Post subject:
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    Post subject:
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Fri Dec 22, 2006 6:31 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Rexx code to find greater then symobl... Bharath Vikraman CLIST & REXX 8 Tue May 29, 2018 9:40 am
No new posts How to convert 2 bytes into single by... pkmurali DB2 6 Fri May 25, 2018 1:41 pm
No new posts Cobol program till a given time or fo... ankita agarwal COBOL Programming 7 Fri May 18, 2018 2:24 pm
No new posts Program usage statistics? John Poulakos CICS 6 Wed May 16, 2018 2:22 am
No new posts Error executing Java program in OSGI ... danik56 CICS 0 Thu Apr 26, 2018 12:16 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us