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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.