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: 1187
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
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Compiling program in endeavor for tra... RALAKKAL Compuware & Other Tools 4 Mon Jun 05, 2017 8:27 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm

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