Problem:
I have a database with pointers. The database will allow me to load the parent segments, but not the child segments. This renders the database unusable in Mainframe Express. How do I get past this issue.
Resolution:
You, of course, have a logical relationship in your database, but for MFIMS
to handle it we need to first load the physical database and then the logical
database. The IMSDBU utility is the easiest and preferred method to use.
It starts by directly loading the physical databases and then uses a Pointer
Update function to resolve the logical relationships.
When you are in MFE, go to the main menu and select Tools>IMS>Database
Utility. As a reference you can see this in the Users Guide (online manual)
Chapter 35.4, figure 35-6 shows the screen where you LOAD the IMS
database and once it finishes, you then run the PTRUPDATE utility.
So follow these steps:
- gen the PSB and DBD
- take the unloaded IMS database files and present them to IMSDBU
- run the PTRUPDATE utility
- check the IMSMTO.LOG and IMSDBU.LOG files in the project folder's
LISTING directory (they are ASCII text and can be viewed using our
IDE Editor or Notepad)
- if everything is fine, then you can continue on with the Cobol compiles
for your project
#MFDS
#EnterpriseDeveloper