To load a database you can either use the database management utility (as described in the section IMSDBU Utility) or perform the following steps:
mfims imsdbu load datfilename
for %i in (*.dat) do mfims imsdbu load %idatfilename is case sensitive.
By default, this loads the database from a file with the same basename as datfilename but with the extension .DBU. You can change this behavior using the DSN and LAYOUT options.
Execute the MFDBUJCL utility:
//step EXEC PGM=MFDBUJCL,PARM='LOAD,database,dataset' //SYSOUT DD SYSOUT=*
Where database is the name of the database and dataset is the data set where the database is located. For more information about the MFDBUJCL program, see IMSDBUJCL Utility.