Appendix B.RPG IV Coding Examples

B.1.1Using Pointers in RPG IV

This example is in source file QPOINTER in library GG244358.

RTVPGMMODC the command specifications

/*----------------------------------------------------------------------------*/ /* Keyword information: */ /* */ /* FROMLIB - Specify the library that you want to have searched for */ /* ILE programs */ /* */ /* OUTFILE - Specify the File where you want to receive the information, */ /* if the file does not exist it is created with a record */ /* length of 508. */ /* If the file name exists, it is used to store the information */ /* */ /* MBROPT - Specify when an existing file is used, whether you want */ /* to replace or add the records to it. */ /* */ /* The program called ...

Get Moving to Integrated Language Environment for RPG IV now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.