ILE RPG Programmer's Guide RDS For I 7.1
User Manual:
Open the PDF directly: View PDF
Page Count: 616 [warning: Documents this large are best viewed by clicking the View PDF Link!]
- Contents
- About This Guide
- Using the application development tools in the client product
- Part 1. ILE RPG Introduction
- Chapter 1. Overview of the RPG IV Programming Language
- Chapter 2. RPG Programming in ILE
- Chapter 3. Program Creation Strategies
- Chapter 4. Creating an Application Using Multiple Procedures
- Part 2. Creating and Running an ILE RPG Application
- Chapter 5. Using Source Files
- Chapter 6. Creating a Program with the CRTBNDRPG Command
- Chapter 7. Creating a Program with the CRTRPGMOD and CRTPGM Commands
- Chapter 8. Creating a Service Program
- Chapter 9. Running a Program
- Chapter 10. Calling Programs and Procedures
- Program/Procedure Call Overview
- Using a Prototyped Call
- Passing Prototyped Parameters
- Interlanguage Calling Considerations
- Using the Fixed-Form Call Operations
- Returning from a Called Program or Procedure
- Using Bindable APIs
- Calling a Graphics Routine
- Calling Special Routines
- Storage Model
- Multithreading Considerations
- Running Concurrently in Multiple Threads
- Running Serialized in Multiple Threads
- Activation Group Considerations for the THREAD keyword
- Storage that is Shared Among Multiple Threads
- How to Avoid Deadlock Between Modules
- All-Thread Static Variables
- When to use a serialized procedure
- When a serialized procedure does not provide sufficient protection
- Difficulty of manually synchronizing access to shared resources
- Using thread-related APIs
- Chapter 11. RPG and the eBusiness World
- RPG and XML
- RPG and MQSeries
- RPG and Java
- Introduction to Java and RPG
- Calling Java Methods from ILE RPG
- Calling methods in your own classes
- Controlling how the Java Virtual Machine is set up
- RPG Native Methods
- Coding Errors when calling Java from RPG
- Additional RPG Coding for Using Java
- Additional Considerations
- Advanced JNI Coding
- Calling RPG programs from Java using PCML
- Part 3. Debugging and Exception Handling
- Chapter 12. Debugging Programs
- The ILE Source
- Preparing a Program for Debugging
- Starting the ILE Source
- Adding/Removing Programs from a Debug Session
- Viewing the Program Source
- Setting and Removing Breakpoints
- Setting and Removing Unconditional Job Breakpoints
- Setting and Removing Unconditional Thread Breakpoints
- Setting and Removing Conditional Job Breakpoints
- National Language Sort Sequence (NLSS)
- Setting and Removing Job Breakpoints Using Statement Numbers
- Setting and Removing Conditional Thread Breakpoints
- Removing All Job and Thread Breakpoints
- Setting and Removing Watch Conditions
- Example of Setting a Watch Condition
- Stepping Through the Program Object
- Displaying Data and Expressions
- Unexpected Results when Evaluating Variables
- Displaying the Contents of an Array
- Displaying the Contents of a Table
- Displaying Data Structures
- Displaying Indicators
- Displaying Fields as Hexadecimal Values
- Displaying Fields in Character Format
- Displaying UCS-2 Data
- Displaying Variable-Length Fields
- Displaying Data Addressed by Pointers
- Evaluating Based Variables
- Displaying Null-Capable Fields
- Using Debug Built-In Functions
- Debugging an XML-SAX Handling Procedure
- Changing the Value of Fields
- Displaying Attributes of a Field
- Equating a Name with a Field, Expression, or Command
- Source Debug National Language Support for ILE RPG
- Sample Source for Debug Examples
- Chapter 13. Handling Exceptions
- Chapter 14. Obtaining a Dump
- Part 4. Working with Files and Devices
- Chapter 15. Defining Files
- Chapter 16. General File Considerations
- Chapter 17. Accessing Database Files
- Chapter 18. Accessing Externally Attached Devices
- Types of Device Files
- Accessing Printer Devices
- Accessing Tape Devices
- Accessing Display Devices
- Using Sequential Files
- Using SPECIAL Files
- Chapter 19. Using WORKSTN Files
- Chapter 20. Example of an Interactive Application
- Part 5. Appendixes
- Appendix A. Behavioral Differences Between OPM RPG/400 and ILE RPG for AS/400
- Appendix B. Using the RPG III to RPG IV Conversion Aid
- Conversion Overview
- Converting Your Source
- The CVTRPGSRC Command
- Converting a Member Using the Defaults
- Converting All Members in a File
- Converting Some Members in a File
- Performing a Trial Conversion
- Obtaining Conversion Reports
- Converting Auto Report Source Members
- Converting Source Members with Embedded SQL
- Inserting Specification Templates
- Converting Source from a Data File
- Example of Source Conversion
- Analyzing Your Conversion
- Resolving Conversion Problems
- Appendix C. The Create Commands
- Appendix D. Compiler Listings
- Notices
- Bibliography
- Index