Using Source Files

This chapter provides the information you need to enter RPG source statements. It also briefly describes the tools necessary to complete this step.

To enter RPG source statements into the system, use one of the following methods:

Use WebSphere Development Studio Client for System i. This is the recommended method and documentation about editing source appears in that product's online help. Your program editing tasks are simplified with the Remote Systems LPEX editor. The editor can access source files on your workstation or your System i. When a compilation results in errors, you can jump directly from the compiler messages to an editor containing the source. The editor opens with the cursor positioned at the offending source statements so that you can correct them.

See Using the application development tools in the client product for information about getting started with the client tools.

Initially, you may want to enter your source statements into a file called QRPGLESRC. New members of the file QRPGLESRC automatically receive a default type of RPGLE. Furthermore, the default source file for the ILE RPG commands that create modules and bind them into program objects is QRPGLESRC. IBM® supplies a source file QRPGLESRC in library QGPL. It has a record length of 112 characters.

Note:
You can use mixed case when entering source. However, the ILE RPG compiler will convert most of the source to uppercase when it compiles it. It will not convert literals, array data or table data.

Your source can be in two different kinds of files:

  1. Source physical files
  2. IFS (Integrated File System) files


[ Top of Page | Previous Page | Next Page | Contents | Index ]