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

Difference between a qualified and an unqualified GN GNP cal


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

New User


Joined: 13 Oct 2006
Posts: 15

PostPosted: Tue May 08, 2007 11:49 am
Reply with quote

Hi,

Can some one please help me with the following concepts...
How IMS executes a GN or a GNP call. How does it maintain a position on Db segment occurence when it executes a GN / GNP ?

Also, I am not clear how a qualified GN / GNP call is better (if so) or atleast different over an unqualified call? Do we have a difference in the return codes (GK is returned for unqualified calls when GN / GNP moves to a different segment on the same level whereas qualified calls will return GE...Please correct me if I am wrong)

Best Regards...
Raman
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Tue May 08, 2007 12:22 pm
Reply with quote

GN - GET NEXT segment here IMS doesnt holds the parentage

GNP - GET NEXT within Parent, IMS holds parentage and then it does GET next segment under the parent

In GNP - You can expect GK return code,
In GN with Qual or Unqual SSA- You cannot expect GK but it's always GB End of Database

In GU - It's GE status code
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 Timestamp difference and its average ... DB2 11
No new posts Difference when accessing dataset in ... JCL & VSAM 7
No new posts What is the difference between Taskty... Compuware & Other Tools 2
No new posts Difference between VALIDPROC and CHEC... DB2 3
No new posts Difference between CEE3250C and CEE3204S COBOL Programming 2
Search our Forums:

Back to Top