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

Usage of command code 'F'


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

New User


Joined: 17 Sep 2007
Posts: 68
Location: Kochi

PostPosted: Fri Nov 21, 2008 11:20 am
Reply with quote

Hi,

Can anyone please let me know how to use command code 'F'.

As per the logic, I need to issue Get next calls and get the count of a particulat root segment. If number of root segments > = 6, issue Get hold unique call for the first occurence of the root segment and delete it.

By the time I would have issued Get next calls i would be the last occurence of the root segment. But I need to delete the first occurence. Will I be ale to use 'F' command code in this scenario?

Thanks.
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Fri Nov 21, 2008 5:21 pm
Reply with quote

You do not use command codes to go after the root - it won't work. Just start at the beginning of the database with an unqualified SSA for your root. Do loop adding to your counter as long as your status code is blank. When GB, do not add - you are done.

Why do you need to delete the first root?
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts IBM IMU Utility for Easytrieve Code t... IBM Tools 0
No new posts USAGE parameter of RACDCERT CONNECT c... All Other Mainframe Topics 2
No new posts creat new line command in front of Me... TSO/ISPF 4
No new posts c all command JCL & VSAM 11
No new posts purge jobs with return code 0 and ret... JCL & VSAM 6
Search our Forums:


Back to Top