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

Access difference primary/secondary IMS DB


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

New User


Joined: 22 Jan 2010
Posts: 4
Location: Bhubaneswar

PostPosted: Fri Mar 23, 2012 2:13 pm
Reply with quote

Hi All,

This is a peculiar issue we are facing while accessing IMS DB in production region.

We have an online IMS-DC screen that picks up the data from Secondary index database. When we are trying to fetch the same data from the same segment of primary database (for which this secondary index defined) through a batch BMP job, we are getting GE status code.

We used a GN with a qualified call to read the segments from primary database.

Need help/pointers and possilble scenarios where these issues can happen.

Thanks,
Sai kumar.
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Thu Mar 29, 2012 1:55 am
Reply with quote

We don't have enough info to help. Is this an addition to an existing process? Was this put into a PRODUCTION environment without testing?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Mar 29, 2012 2:20 am
Reply with quote

Quote:
Was this put into a PRODUCTION environment without testing?

No!
that's how we test..... in production
Back to top
View user's profile Send private message
sai1621

New User


Joined: 22 Jan 2010
Posts: 4
Location: Bhubaneswar

PostPosted: Thu Mar 29, 2012 10:58 am
Reply with quote

Hi,

Thanks for your prompt response !

The primary and secondary index database are in production environment since 1990's.

We are facing an issue with the access of data.

An online screen picks up data from secondary index whereas when we try accessing the same data from the primary database using a batch BMP program, it is not picked up.

Instead we tried to extract all the occurences of that particular segment type but the data is not present in the extract file.

Secondary index might not reflect the entire data from the primary database (concept of Sparse indexing) using EXIT ROUTINES, but just wanted to know is the other way round is possible or not.

Thanks,
Sai Kumar.
Back to top
View user's profile Send private message
sai1621

New User


Joined: 22 Jan 2010
Posts: 4
Location: Bhubaneswar

PostPosted: Tue Apr 10, 2012 3:24 pm
Reply with quote

All,

The issue is with the DBRC setup for the secondary index.

Its been setup for a incorrect VSAM dataset. Identified this from spool logs in the master IMS* environment job.

Altered the DBRC to point to the correct VSAM dataset, followed by re-build of secondary index.

This resolved the issue.

Thanks
Back to top
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Tue Apr 10, 2012 8:34 pm
Reply with quote

That's been that way since the 1990's???
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 Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts How to access web services/website? Mainframe Interview Questions 4
No new posts Query on edit primary command CLIST & REXX 5
No new posts Query on edit primary command CLIST & REXX 1
Search our Forums:

Back to Top