IBM i | AS400 | iSeries

5 Lessons

0% Not started

SEU (Source Entry Utility)

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.

Course overview post 1
SEU with Split Screen

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
  • SAVE
  • FILE
  • HIDE
  • TOP
  • 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:

  • CAPS
  • TABS
  • ROLL

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.

Ready to learn?


IBM i Software Developer, Digital Dad, AS400 Anarchist, RPG Modernizer, Shameless Trekkie, Belligerent Nerd, Englishman Abroad and Passionate Eater of Cheese and Biscuits.

Nick Litten Dot Com is a mixture of blog posts that can be sometimes serious, frequently playful and probably down-right pointless all in the space of a day.

Enjoy your stay, feel free to comment and remember: If at first you don't succeed then skydiving probably isn't a hobby you should look into.