Operation Codes (opcode)

930 Views


RPG IV allows you to do many different types of operations on your data.

Operation codes, entered on the calculation specifications, indicate what operations will be done.

For example, if you want to read a new record, you could use the READ operation code. 

The following is a list of the types of operations available.
• Arithmetic operations
• Array operations
• Bit operations
• Branching operations
• Call operations
• Compare operations
• Conversion operations
• Data-area operations
• Date operations
• Declarative operations
• Error-handling operations
• File operations
• Indicator-setting operations
• Information operations
• Initialization operations
• Memory management operations
• Move operations
• Move zone operations
• Result operations
• Size operations
• String operations
• Structured programming operations
• Subroutine operations
• Test operations

List of Operation Codes in Free-Form Syntax: 

 

Post Comments