Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

GN calls failing with logical segment

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: GN calls failing with logical segment
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Fri Feb 02, 2007 7:01 pm    Post subject:
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    Post subject: Re: GN calls failing with logical segment
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Mon Feb 05, 2007 5:57 pm    Post subject: Re: GN calls failing with logical segment
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    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts TSO Logon Failing - Acount Not matching SLNewton TSO/ISPF 1 Thu Aug 25, 2016 9:37 pm
No new posts FTOPEN TEMP is failing due to dataset... mbenaud TSO/ISPF 7 Thu Jul 28, 2016 4:28 pm
No new posts FileAid to compare(logical operations... anand1204 Compuware & Other Tools 3 Wed Apr 06, 2016 2:55 am
No new posts Sending system service calls by AIBTDLI. lind sh IMS DB/DC 1 Wed Mar 16, 2016 6:51 pm
No new posts Scan for Calls to DB2 kctechpro2 IBM Tools 10 Fri Sep 04, 2015 11:31 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us