Previous Topic Next topic Print topic


Using the IMS Database Editor Command Line Utility

From an Enterprise Developer command prompt, you can invoke the IMS Database Editor using the following syntax:

mfdatatools [file-type] [file-name] [/imslib imsgenpath] [/imsdat imsdatabasepath] [/acblib path]
file-type
Can be one of
/create_slf
Use this type to create a segment layout file (.slf). If you specify this option, you must also specify the /imslib option.
/dbd dbdname
Use this type to open a database from a DBD file. If you specify this option, you must also specify the /imslib and /imsdat options.
/psb psbname
Use this type to open a database from a PSB file. If you specify this option, you must specify the file name without the file extension, also you must specify the /imslib and /imsdat options.
file-name
The (path name) and file name of the debug information file (.idy) file. Specify this option only when creating a segment layout file (option /create_slf).
/imslib imsgenpath
The location of DBDGEN2.DAT, DBDGEN2F.DAT and PSBGEN3.DAT files. This is the equivalent of setting the ES_IMSDAT environment variable; if this variable is already set, you do not need to specify this parameter.
/imsdat imsdatabasepath
The location of the IMS DB files. This is the equivalent of setting the ES_IMSLIB environment variable; if this variable is already set, you do not need to specify this parameter.
/acblib path
The location of IMS ACB files. This is the equivalent of setting the ES_ACBLIB environment variable; if this variable is already set, you do not need to specify this parameter.
If this parameter is omitted, the path name specified for /imslib is used.

Comments:

If you run mfdatatools without any additional parameters, the IDE is displayed without any file opened.

Previous Topic Next topic Print topic