EDTF - IBM Edit File Utility

The Edit File (EDTF) command allows you to edit an (IFS) stream file or a database file. This command can also be used to browse a file or directory. EDTF is not a code editor tool, think of its a basic NOTEPAD style editor. It offers no syntax checking.

If SEU is not accessible you can use the EDTF command to edit from any command line:

Green Screen Alternatives to SEU 1

In an emergency, EDTF is a useful alternative to DFU for quick minor code changes in IBM i Source Code:

Green Screen Alternatives to SEU 2

Example 1: Editing a Stream File

EDTF   STMF('/mydir/myfile.txt')

Example 2: Editing a Database File Member

EDTF   FILE(MYLIB/MYFILE) MBR(MYMBR1)
{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
>