SEU – Your Grandfathers Code Editor
SEU, IBM’s Source Entry Utility (aka Stoneage Editing Utility) is a basic green screen code editor.
SEU runs exclusively in terminal mode, offering a solid source code editing tool. It’s basic but has a long heritage and some very well known techniques for writing code quickly, and some nifty secret tricks which we will look at in this class. Partnered with PDM, SEU can be an invaluable asset to every IBM i Software Development Team.
SEU commands provide a short-cut to the functions on the Find/Change Options, Find Options, Exit, and Change Session Defaults displays without leaving the work screen. SEU commands are free format commands.
The command parameters are either required and positional, or optional and can be entered in any order.
To run an SEU command, type it on the command line and press a positional function key: for example, Enter, Roll Up or Down, F19=Left, F20=Right.
Some commands have abbreviations: for example, you can enter F or FIND to run the FIND command. To retrieve the last command you entered, type F9=Retrieve. If the cursor is in the data area, you can use F10=Cursor to move the cursor back and forth between the data area and the command line. SEU remembers up to 50 commands. To see help for an SEU command, type the command on the command line and press the help key.
Note: You cannot enter system commands on the command line, but you can enter a system command on the work screen by pressing F21=System command. A window appears where you can enter a system command.
You can enter the following SEU commands on any command line on the work screen (Edit, Browse or Split displays):
- FIND or F
- CHANGE or C
- CANCEL or CAN
- SET or S
Note: FILE, SAVE, and CHANGE commands can only be used in an Edit session or in the top session of a Split Edit/Browse display.
The SET command has these options:
Note: The SHIFT and TABS options can only be used in an Edit session or in the top session of a Split Edit/Browse display.