Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
what is multiple positioning

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
Author Message
gopal

New User


Joined: 16 Nov 2004
Posts: 1
Location: bangalore

PostPosted: Thu Nov 18, 2004 9:55 pm    Post subject: what is multiple positioning
Reply with quote

hi, can any one plz explain me what multiple positioning with one example.


thanx
Back to top
View user's profile Send private message
References
PostPosted: Thu Nov 18, 2004 9:55 pm    Post subject: Re: what is multiple positioning Reply with quote

NILESHK2302

New User


Joined: 13 Feb 2004
Posts: 14
Location: hyd

PostPosted: Fri Mar 04, 2005 6:19 am    Post subject: multi positioning in IMS
Reply with quote

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
View user's profile Send private message
Vijay Bhadauria

New User


Joined: 28 Mar 2005
Posts: 8

PostPosted: Mon Mar 28, 2005 4:20 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1