Getting started / 04

From source member to program.

PDM is the member workbench. A member list, editor and compiler are connected by numbered options.

WRKMBRPDM FILE(LEARN/QCBLLESRC)
  1. Press F6 to create a member. Enter a member name, source type (CBLLE, RPGLE or CLLE) and a description. Enter opens the editor.
  2. In the line-command prefix area, enter I to insert a line or I5 for five lines, and press Enter. Type in the source area and press Enter to apply the edits. D deletes a line; DD marks both ends of a block to delete.
  3. Use the SEU==> field for FIND 'HELLO', TOP, BOTTOM or SAVE. F16 repeats a find. Roll keys move through the source.
  4. F3 opens the exit panel. Leave “Change/create member” as Y and press Enter to save; N discards changes. Back in the list, option 2 edits and option 5 displays a member.
  5. Option 14 compiles supported member types. Option 16 runs the corresponding program. Explicit compile commands in the program guide are also available.

Prompt, check, find and copy

F10 switches between source editing and the command cursor. With the cursor on a single CL source line, F4 opens its command prompt and returns the changed text without running it. F7 checks all lines. CL checks use the command validator; RPG/COBOL checks cover basic fixed columns and do not replace compilation. Continued CL prompting is unsupported and preserves the line.

F13 changes uppercase input, syntax checking and roll count for this editor session. F14 finds/changes with case and column-range controls; F16 repeats find and F17 repeats change. F15 browses another source member and copies a selected range after a destination line. This is a full-screen browse/copy subset, not the complete SEU split-screen interface.

Wide displays and F19/F20 let you reach later source columns while retaining hidden text. F24 switches key legends. In default mappings, Shift+F1 is F13 and Shift+F2 is F14. See keyboard settings and accessibility.

The editor implements a useful SEU-style subset. It is not IBM SEU, and it does not provide all of its syntax checking, prompts or line commands. Use the displayed legends and command reference.