|
|
| Author |
Message |
gopal
New User
Joined: 16 Nov 2004 Posts: 1 Location: bangalore
|
|
|
|
hi, can any one plz explain me what multiple positioning with one example.
thanx |
|
| Back to top |
|
 |
References
|
Posted: Thu Nov 18, 2004 9:55 pm Post subject: Re: what is multiple positioning |
 |
|
|
 |
NILESHK2302
New User
Joined: 13 Feb 2004 Posts: 14 Location: hyd
|
|
|
|
Hi Gopal,
Multi positioning in IMS is nothing but accessing the same database with different views. For example you want to access the few child segments in one call and few other segments in another call wherein you dont want to disturb the PCB pointer where exactly it has set for both the calls. You can visualize this as a join condition when u use in DB2. The position is maintained relative to the PCB mask that you use in your program. |
|
| Back to top |
|
 |
Vijay Bhadauria
New User
Joined: 28 Mar 2005 Posts: 8
|
|
|
|
E.g.
Suppose A is the Root Segment, B is child of A, and C & D are child of B.
C1,c2,c3,c4 are occurrences of C and D1,d2,d3,d4 are occurrences of D.
A-----> B ------>C1,c2,c3,c4
------->D1,d2,d3,d4
If you set a parentage on B by giving GU or GN call and then issuing following GNP calls:
Calls Single positioning Multiple Positioning
-------------------------------------------------------------------------------------
GNP C c1 c1
GNP D d1 d1
GNP C ?GE? (Not found) c2 |
|
| Back to top |
|
 |
|
|