Difference between GE and GB return code in GN Call ?



IBM's hierarchical database management system with a Database Manager (IMS DB) and a Transaction Manager(IMS DC)

Difference between GE and GB return code in GN Call ?

Postby Poha Eater » Thu Jul 11, 2019 5:21 pm

Hello Everyone,

This is my first post on this forum. I have just started to learn IMS DB and having confusion between GE and GB return code by GN call. As per my understanding, GE status code comes when the segment is not found and GB comes when End of the database happens.

In another words, Suppose if i am doing any GN call with qualified SSA and the value greater than the value given in Qualified SSA is present in the database then GE will come and if the SSA is not found and also there is no greater value present in the Database than the value given in the Qualifies SSA then it will give the GB return code. Please confirm if my understanding is correct. If not, then can anyone please clear the confusion with a small example.


Thanks in advance !
Poha Eater
 
Posts: 1
Joined: Thu Jul 11, 2019 4:37 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Difference between GE and GB return code in GN Call ?

 

Return to IMS DB/DC

 


  • Related topics
    Replies
    Views
    Last post