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

what is multiple positioning


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

New User


Joined: 16 Nov 2004
Posts: 1
Location: bangalore

PostPosted: Thu Nov 18, 2004 9:55 pm
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
NILESHK2302

New User


Joined: 13 Feb 2004
Posts: 14
Location: hyd

PostPosted: Fri Mar 04, 2005 6:19 am
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
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
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 INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Grouping by multiple headers DFSORT/ICETOOL 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
Search our Forums:

Back to Top