IMS calls



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

IMS calls

Postby goeld » Fri Jan 15, 2010 5:15 pm

Hi,

I have a general IMS database structure with 3 level hierarchy. In each level I have multiple segments. I want to retrieve all the segments in this database using IMS calls.
Could you please let me know what calls needs to be made to retrieve all the segments starting from level 0 till the last level and all segments in each level?

Thanks.
goeld
 
Posts: 1
Joined: Fri Jan 15, 2010 4:56 pm
Has thanked: 0 time
Been thanked: 0 time

Re: IMS calls

Postby Sandy Zimmer » Fri Feb 05, 2010 6:06 pm

You can read thru the entire database - all segments - all levels by NOT using any SSA. You can then look at your PCB to determine what level you are on and the keys all the way up and down the chain.
Sandy Zimmer
 
Posts: 28
Joined: Mon Jul 30, 2007 8:10 pm
Has thanked: 0 time
Been thanked: 0 time

Re: IMS calls

Postby Sandy Zimmer » Fri Feb 05, 2010 7:57 pm

One more little bit of advice - make sure that you check for "GB" - end of database with your "GN". If you do not, IMS will start at the beginning of the database again and again and again.
Sandy Zimmer
 
Posts: 28
Joined: Mon Jul 30, 2007 8:10 pm
Has thanked: 0 time
Been thanked: 0 time

Re: IMS calls

Postby tirupathi » Mon Sep 27, 2010 10:22 pm

Ims db vs dc?
tirupathi
 
Posts: 1
Joined: Fri Sep 03, 2010 7:19 pm
Has thanked: 0 time
Been thanked: 0 time

Re: IMS calls

Postby NicC » Mon Sep 27, 2010 11:30 pm

either
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: IMS calls

Postby dhs » Thu Oct 14, 2010 11:32 pm

A possible approach is the above. You might also want to use 3 PCBs with only sensitivity to segments at that level with key sensitivity to higher level segments.
dhs
 
Posts: 9
Joined: Thu Oct 14, 2010 10:43 pm
Has thanked: 0 time
Been thanked: 0 time


Return to IMS DB/DC

 


  • Related topics
    Replies
    Views
    Last post