View previous topic :: View next topic
|
Author |
Message |
Verma,Raman
New User
Joined: 13 Oct 2006 Posts: 15
|
|
|
|
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 |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
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 |
|
|
|