You must have a specific software for the compilation and execution of the applications generated with RPG generator.
- In the iSeries you must have GX library installed. It can be obtained here.
- You must have an iSeries connection to be able to transfer the programs. The connection may be TCP/IP or it may be through Client Access.
- To be able to work in the iSeries the user must have the rights detailed, see "Necessary permits to work" and "Permits/Approvals required for GX library".
- Create a model selecting the RPG generator.
- Select File/New/Knoledge Base (CTRL+MAYUSCULAS+N)
- Select a Name and Location for the KB then press Create with default options
- Go to preferences, Select the Environment and change the following properties:
- User Interface: Windows
- Language: RPG/400 (the Data Source will change to iSeries Native)
- Target Path: you can leave it as is but we recommend changing it to something similar to RPGiSeries<Id>
- Name: you can leave it as is but we recommend changing it to something similar to RPGiSeries
- Select Generator and update the following properties:
- Server Name: iSeries IP or Name
- User: iSeries User
- Password: iSeries Password
- Select Default Data Store, rigth click and Change Data Store: iSeries Native
- In the DBMS options, type the name of the programs and data library to be created in the iSeries.
- Select the transfer method to be used for the transfer. TCP/IP is recommended since it is the fastest according to the tests performed.
- Once this has been setup, the model can be created in the iSeries.
- Once the programs have been specified and generated, you must transfer them to the iSeries. For this, you must go to the Run or F5 option and select the programs you want to transfer. Thereupon, the programs are sent to the iSeries for them to be compiled. Once the programs have been transferred and compiled they can be executed from the iSeries commands line.
- If you want to see the developer menu associated to this model, you must type gx/gx Program_Library_name
Use the GXimpdbr command. For further details on how to execute this command, we suggest reading here.
RPG Generator Properties