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

GN calls failing with logical segment


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

New User


Joined: 10 Mar 2005
Posts: 81

PostPosted: Fri Feb 02, 2007 3:06 am
Reply with quote

i have 2 DB 01 and 02

01 has the following structure---
A
|
B

02 has the following structure
C
|
D

Now, D is logically defined as parent of B. Hence when i do a call like
CALL 'CBLTDLI' USING GN
PCB-01
DLI-IO-AREA
SSA-C
SSA-D
SSA-B

I am getting a return code of 'GE'
SSA-C == Qualified
SSA-D == Qualified
SSA-B == Unqualified

But the segment B is existing.

Can anyone help me on this. Where i am going wrong?
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Fri Feb 02, 2007 7:01 pm
Reply with quote

Since you didn't get a status code pointing at nonexisting segments I take it you have a correct logical db. GE means not found so either C or D is not found. What does the key feedback area tell you? And why a GN; this will cause the db to be read every segment from the position you left off. You may have past the C/D/B so if they are 'behind' you a GN results in a GE. Why not use a GU on the root to start from the beginning using the primary index (C) followed by GNP (D) and then B?
Back to top
View user's profile Send private message
kalukakkad

New User


Joined: 10 Mar 2005
Posts: 81

PostPosted: Sat Feb 03, 2007 10:54 pm
Reply with quote

Thanks Bitneuker, your suggestion helped to find the issue. There was another GN call before, hence the subsequent call gave a 'GE'. The problem is resolved now. Thanks for your help.
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Mon Feb 05, 2007 5:57 pm
Reply with quote

kalukakkad wrote:
Thanks Bitneuker, your suggestion helped to find the issue. There was another GN call before, hence the subsequent call gave a 'GE'. The problem is resolved now. Thanks for your help.


It was a pleasure to me helping you. And thank you for your reply telling us your problem was solved; doesn't happen too often icon_wink.gif
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 COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Rotate partition-logical & physic... DB2 0
No new posts SMF Record Date conversion failing CLIST & REXX 1
No new posts IMS SEGMENT READ ISSUE IMS DB/DC 1
No new posts Inserting records into the empty segm... IMS DB/DC 1
Search our Forums:

Back to Top