Loading data

You can use Load (option 3.4) to load data that was previously extracted with the FM/IMS Extract (option 3.3) utility into a database.

Load can use a Dynamic PSB or a Static PSB.

There are three types of loads:

No replace
The Load only attempts to insert the segment. If the Insert call receives an II status code, the Load does not replace the existing segment in the database with the load segment.
Replace

The Load attempts to insert the segment as it does for No replace. However, if the Insert call receives an II status code, the Load replaces the existing segment in the database with the load segment. Note: If a segment has a non-unique key or no key, existing segments in the database are not replaced. The load segments will be inserted even when there is an existing segment in the database with the same key.

Initial
This uses a Load PSB to insert the IMS segments into an empty, uninitialized database. If the database has not yet been emptied, you can use the Delete/define data sets option to prepare the files.
Restrictions: FM/IMS load process cannot be used to recover logically related databases with pointer errors. Such problems should be addressed by utilizing the IMS utilities.

The tasks described in this section are: