How does one reorg an HDAM IMS database when changing RAPS
(Root Anchor Points)?

Answers were Sorted based on User's Feedback



How does one reorg an HDAM IMS database when changing RAPS (Root Anchor Points)?..

Answer / david

image that baby FIRST to keep what you have! then follow the
steps listed in the first answer.

Is This Answer Correct ?    2 Yes 1 No

How does one reorg an HDAM IMS database when changing RAPS (Root Anchor Points)?..

Answer / s

1.Unload the DB
2.Delete/Define Database Datasets (if space allocation
needs to be changed make necessary changes)
3.Change the DBD to calculate how many RAPS is needed.
RAPS is the number of DB records that can be stored in a
Block, say 8KB Blocksize. Say you have 1000 byte records
and 16,000 records 8*1024/1000= 8. Relative Block Number
(RBN) is the number of blocks in the Root addressable area
= 16000/8 = 2000. Add some % to these blocks as free space,
say 2500.
Make changes to DBD. RMNAME(DFSHDC40,8,2500)
4.Reload DB with new DBD.
5.Use other utilities to rebuild logical relationships and
secondary indices.
6.Image Copy the DB.

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More IMS Interview Questions

I have PCB with structure: PCB TYPE=DB, C DBDNAME=EMPCADBD, C KEYLEN=18, C PROCOPT=LS SENSEG NAME=EMPLOYEE, C PARENT=0 SENSEG NAME=COMPDTL, C PARENT=EMPLOYEE SENSEG NAME=BANKDTL, C PARENT=COMPDTL SENSEG NAME=SALDTLS, C PARENT=BANKDTL SENSEG NAME=EDUCDATA, C PARENT=EMPLOYEE SENSEG NAME=EMERDETL, C PARENT=EDUCDATA SENSEG NAME=ADDRESS, C PARENT=EMPLOYEE ************************************************************ *********** PSBGEN PSBNAME=PSBCALDP,LANG=COBOL END Requirement is to Create a report based on Salary brackets. ( Use SSA’s for logic) · It should have CTCGROSS brackets and No of employees o Employee names falling in each bracket Salary < 100,000 No of Employees Employee-Name Level 100,000 < Salary < 300,000 No of Employees Employee-Name Level 300,000 < Salary No of Employees Employee-Name Level

1 Answers   Accenture,


Which DB access method (OSAM or VSAM) is used for primary index or secondary index and why?

1 Answers  


What is hierarchical database?

0 Answers  


can u tell me and give me an example : how to code a program checkpoint , restart, and tell me when and where i have to run 2 programs...Thanks

1 Answers  


What is a Hierarchy path?

4 Answers  






what is the maximumm length of account information in job card of a jcl?

8 Answers   Accenture,


What is difference between concurrent image copy and online image copy?

1 Answers   EDS,


how to create a changeman read only audit and update only audit Specifications for the Read only Audit 1) Read HFFD database unqualified. 2) Read FDRT, FDDM, FDAP segments. If FDAP-APP-STS is ‘2’ read the FDAV segment and get the FDAV segment which has FDAV-APV-OPTION as ‘X’ If FDAP-APP-STS is ‘5’ read the HFAC database. Read the ACRT segment qualified based on the key obtained from the FDAP segment from HFFD database. Conditions for writing into output file: a. App Type should be NEWR b. App Status should be 1, 2 & 5. c. Write 50 records per app status. For e.g. first 50 records for App status 1, 2 & 5 each The output file should contain the following fields from the database FDRT-COMP-CTRY-CODE X(03). FDRT-CUST-ID-NUM X(10) FDDM-DEM-SEQ-NUM X(01) FDAP-APP-SEQ X(02) FDAP-JNT-IND X(01) FDAP-APP-STS X(01) FDAV-APV-OPTION X(01) FDAV-APV-DT X(06) FDAV-APV-AMT X(07) ACRT-ACCT-NUM X(06) ACRT-SEG-BUS-TYPE X(02) ACRT-NM1-LAST X(19) ACRT-NM1-SS X(09) ACRT-NM1-1ST X(12) ACRT-NM1-INIT X(01) ACRT-NM1-SFX X(03) ACRT-NM1-TITLE X(02) PSB – DVAN2BMP In case you get a GE for any of the conditions, write to output file along with the details of the database segment which was not found. We need to complete this whole process by tomorrow. Run the audit in DLI mode. 2) Sort the output file created in step 1 on Cust ID, Dem Seq & App Seq. Specifications for the Update Audit 3) Take the output of step 2 as input for an update audit. Details are as follows: Read each record & check the app status. If app status is less than 2 then update the FDAP-NEW- MONEY-ENT to $25000.00 PSB - AUDBMPJ The job would be a BMP job. The test job would be run in IMSE region. Note - The proc (which will be called by the job) and the job should also be present in the change-man package itself. You’ll have a test job in your PDS along with overrides to execute the program in test regions. The job would be a DLI job. The test job would be run in IMSE region. It’ll have the following steps. 1) Delete-define output and error files. 2) Use a copybook for the output layout.

0 Answers   Cap Gemini,


What is the maximum number of levels allowed in ims db?

0 Answers  


What is dbd?

0 Answers  


My IMS main progam is calling Db2 subroutine ...Its giving - 923 db2 sql code..so could any one tell how to solve this issue.

0 Answers   Cap Gemini,


Define the terms Parent & Child.

3 Answers  


Categories