View previous topic :: View next topic
|
Author |
Message |
rohanthengal
Active User
Joined: 19 Mar 2009 Posts: 206 Location: Globe, India
|
|
|
|
I am new to IMS DB and was trying some hands-on with HDAM databases.
Can anyone pls help me with understanding of Randomizer/RMNAME parameter of HDAM database. I have given it as
Code: |
DBD NAME=CMPHDAM,ACCESS=HDAM,RMNAME=(DFSHDC40,3,2048,2048) |
.
My VSAM details are:
Code: |
DEFINE CLUSTER -
(NAME(xxxx.CMPHDAM.COMPDS) -
NONINDEXED -
OWNER(xxxx) -
VOL(DEVXXX) -
RECORDSIZE(2041 2041) -
REUSE -
SHAREOPTIONS(3 3) -
SPEED -
STAGE) -
DATA(NAME(xxxx.CMPHDAM.COMPDS.DATA) -
CYLINDERS(2 1) -
CONTROLINTERVALSIZE(2048)) |
I inserted segments in order of root segments 0001 (with children), 0002 (with children)... When issued GN unqualified calls against this HDAM database, i am getting segments starting from 0002 (with children), 0001 (with children) instead of 0001 (with children), 0002 (with children).
P.S. - The order of insert is in natural order of 0001(with child segments), 0002 (with child segs)..
This is something new concept for me.
Your any guidance would be helpful. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
the vsam definition is irrelevant for the question asked
www.ibm.com/support/knowledgecenter/en/SSEPH2_13.1.0/com.ibm.ims13.doc.dag/ims_damdball.htm
Quote: |
In an HDAM or a PHDAM database, the order in which you load database records does not matter. The user randomizing module determines where each root is stored. However, as with all types of databases, when the database is loaded, all dependents of a root must be loaded in hierarchical sequence following the root. |
a unqualified GN will get segments in physical not logical order |
|
Back to top |
|
|
rohanthengal
Active User
Joined: 19 Mar 2009 Posts: 206 Location: Globe, India
|
|
|
|
Thanks Enrico. I understand. |
|
Back to top |
|
|
rohanthengal
Active User
Joined: 19 Mar 2009 Posts: 206 Location: Globe, India
|
|
|
|
Team, I tried searching on RMNAME and read the knowledge center help. I have a question on how to take the judgement on deciding the values for anchor point, rbn values in RMNAME.
Code: |
RMNAME=(module,arch,rbn,bytes) |
|
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
from the manual ...
Quote: |
Optional operands, such as anch and rbn, might be required by certain randomizing modules. See the documentation for the randomizing module you are using. |
|
|
Back to top |
|
|
|