4 15 7 About the IBM Program Editor SEU

LANSA for i

4.15.7 About the IBM Program Editor SEU

It is possible to edit an RDML program using the IBM supplied source editors called SEU. If the "editor" nominated at the top right of the RDML program display screen is SEU when the CHANGE function key is used, then the respective IBM utility will be used to edit the RDML program, rather than the LANSA program editor.

SEU is universally used by programmers and very widely used by other IBM i users. It is beyond the scope of this guide to describe SEU in any detail. If you are unfamiliar with the features and functions of SEU refer to the appropriate IBM manual.

In addition, SEU have online HELP facilities of their own. Once you have started to use SEU press the HELP key and review the extensive HELP text available.

By using SEU, an RDML program can be edited just like any other RPG or CL program. All the features of SEU are available and can be used.

Some points about the way SEU is used by LANSA are:

  • LANSA does not store RDML programs in a source file. Thus LANSA creates a "work" file called FUNCWORK in library QTEMP and re-formats the RDML program into it to allow it to be edited as source. When the edit session is completed LANSA then re-formats the source RDML program back into the internal LANSA format.
  • The re-formatting procedure may change the program layout. Since LANSA must re-format the RDML program to convert it to source and then to re-format it back into the LANSA internal format, the layout of the actual source lines may vary slightly. This change will never affect the commands used or the program logic in any way - merely the way the commands are formatted into lines.
  • The RDML Audit information associated with each RDML command is not preserved when using SEU. When the edit session is successfully completed, all RDML commands for the function will be updated to have the same RDML Audit information.: date, user and, if in use, task identifier.