Command Line Examples

Use the following commands from a Visual COBOL 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