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

RMNAME option in HDAM


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

Active User


Joined: 19 Mar 2009
Posts: 206
Location: Globe, India

PostPosted: Thu Jan 14, 2021 8:21 pm
Reply with quote

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. icon_eek.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Jan 14, 2021 9:25 pm
Reply with quote

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

Active User


Joined: 19 Mar 2009
Posts: 206
Location: Globe, India

PostPosted: Sat Jan 16, 2021 11:41 pm
Reply with quote

Thanks Enrico. I understand.
Back to top
View user's profile Send private message
rohanthengal

Active User


Joined: 19 Mar 2009
Posts: 206
Location: Globe, India

PostPosted: Mon Jan 18, 2021 9:37 pm
Reply with quote

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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Jan 19, 2021 12:09 am
Reply with quote

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
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 SCOPE PENDING option -check data DB2 2
No new posts OUTFIL with SAVE option DFSORT/ICETOOL 7
No new posts CICS vs LE: STORAGE option CICS 0
No new posts INSYNC option with same function as I... JCL & VSAM 0
No new posts Option DYNALLOC second parameter. DFSORT/ICETOOL 11
Search our Forums:

Back to Top