If you are using RDi, log on to a session on the IBM i by using an emulator.You could also compile from the command line by using the CRTBNDRPG command, and by using F4 to prompt the command. If you are using SEU, exit the editor by using F3, and compile by using option 14.Either way, select the CRTBNDRPG command, and take all the defaults. If you are using RDi, you can compile from the menu within the editor, or you can save your changes and compile by right-clicking on the member in the navigation.If you still want to use SEU, you have to exit with errors after you save your source. The RPG syntax checker used by SEU was last updated in 6.1, so it does not understand the new syntax. Warning: SEU gives errors for every free-form H, F, D, or P statement.Open the member in SEU by using the "2" option.Create a source member HELLO in the file by using F6 in WRKMBRPDM or by using the ADDPFM command, giving it type RPGLE.WRKMBRPDM specifying your library and source file.Create a source file by using the CRTSRCPF command.Create a library by using the CRTLIB command.Create a source member in the file called HELLO.RPGLE.(Replace yourlibrary in the instructions with the name of the library you created.) You need it later when you call your first program. Remember the name of the library you create. Readers can choose to ignore those "Bonus features" sections without worrying about missing something, since the material is covered in later chapters. The coding examples are intended to show the feature being discussed, but they sometimes have a "Bonus features for this example" section following the example that lists additional interesting things to note about the example, usually things that have not been discussed yet. #Rpg xp maker tutorial manuals#That you know where to find the manuals for RPG in the IBM Knowledge Center.That you have some prior knowledge of IBM i (also known as AS/400, iSeries, System i).That you have no prior knowledge of RPG III.But 7.1 will be sufficient for most of this tutorial.) If so, this will be noted with the example. (There may be some coding examples that require later releases. That you have IBM i 7.1 or later so that you can use the free-form version of most RPG IV statement types.This tutorial is intended for experienced programmers who want to learn RPG IV (also known as ILE RPG).
0 Comments
Leave a Reply. |
AuthorMary ArchivesCategories |