IBM MAINFRAME HELP & SUPPORT FORUMS
Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
 

what is multiple positioning

THIS IS AN ARCHIVE FORUM: CLICK HERE TO GO TO THE ORIGINAL TOPIC

 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> IMS DB/DC
View previous topic :: View next topic  
Author Message
gopal



Joined: 16 Nov 2004
Posts: 1
Location: bangalore

Posted: Thu Nov 18, 2004 9:55 pm    Post subject: what is multiple positioning  

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


thanx
Back to top  
NILESHK2302



Joined: 13 Feb 2004
Posts: 14
Location: hyd

Posted: Fri Mar 04, 2005 6:19 am    Post subject: multi positioning in IMS  

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



Joined: 28 Mar 2005
Posts: 8

Posted: Mon Mar 28, 2005 4:20 pm    Post subject:  

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  
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> IMS DB/DC
Page 1 of 1
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM