Command Line Examples

Use the following commands from an Enterprise Developer command prompt to perform specific operations relating to Classic Data File Tools.

Data File Editor

The following example opens a data file:

mfdatatools c:\dats\dfdaccount.dat

The following example opens a sequential data file, using a maximum record length of 350 characters, and using the EBCDIC character set:

mfdatatools /data c:\dats\dfdstaff.dat /org seq /reclen 350 /charset ebcdic

The following example opens a record layout file:

mfdatatools c:\dats\dfdstaff.str

The following example opens the Layout editor, enabling you to create a new record layout file from the debug information file specified:

mfdatatools /create_str c:\projects\dft\dfdstaff.idy

IMS DB Editor

The following example opens a segment layout file:

mfdatatools c:\projects\dft\demo03dd.slf

The following example opens the IMS DB Editor, enabling you to create a segment layout file from the debug information file specified:

mfdatatools /create_slf c:\projects\dft\demo001t.idy /imslib c:\ims\

The following example opens a database in the IMS DB Editor, using the DBD file specified:

mfdatatools /dbd demo03dd /imslib c:\ims\ /imsdat c:\ims\ /acblib c:\ims\

The following example opens a database in the IMS DB Editor, using the PSB file specified:

mfdatatools /psb demo001t 3 /imslib c:\ims\ /imsdat c:\ims\ /acblib c:\ims\