Page 1 of 1

IMS calls

PostPosted: Fri Jan 15, 2010 5:15 pm
by goeld
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.

Re: IMS calls

PostPosted: Fri Feb 05, 2010 6:06 pm
by Sandy Zimmer
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.

Re: IMS calls

PostPosted: Fri Feb 05, 2010 7:57 pm
by Sandy Zimmer
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.

Re: IMS calls

PostPosted: Mon Sep 27, 2010 10:22 pm
by tirupathi
Ims db vs dc?

Re: IMS calls

PostPosted: Mon Sep 27, 2010 11:30 pm
by NicC
either

Re: IMS calls

PostPosted: Thu Oct 14, 2010 11:32 pm
by dhs
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.