rpg 4 Operation Codes in as400
To perform any action in RPG or RPG - ILE you need to provide an OpCode. The OpCode also written as Op-Code is actually a short form of Operation Code.
http://publib.boulder.ibm.com/iseries/v5r2/ic2924/books/c092508430.htm
http://www.letsas400.com/ile_rpg_iv/rpgle_opcodes
To perform any action in RPG or RPG - ILE you need to provide an OpCode. The OpCode also written as Op-Code is actually a short form of Operation Code.
http://publib.boulder.ibm.com/iseries/v5r2/ic2924/books/c092508430.htm
http://www.letsas400.com/ile_rpg_iv/rpgle_opcodes
- DSPLY - Display Function
- DUMP - Program Dump
- ELSE - Else
- ELSEIF - Else If
- ENDyy - End a Structured Group
- ENDSR - End of Subroutine
- EVAL - Evaluate expression
- EVALR - Evaluate expression, right adjust
- EXCEPT - Calculation Time Output
- EXFMT - Write/Then Read Format
- EXSR - Invoke Subroutine
- EXTRCT - Extract Date/Time/Timestamp
- FEOD - Force End of Data
- FOR - For
- FORCE - Force a Certain File to Be Read Next Cycle
- GOTO - Go To
- IF - Else If
- IFxx - If
- IN - Random Retrieval from a File
- ITER - Iterate
- KFLD - Define Parts of a Key
- KLIST - Define a Composite Key
- LEAVE - Leave a Do/For Group
- LEAVESR - Leave a Subroutine
- LOOKUP - Look Up a Table or Array Element
- MHHZO - Move High to High Zone
- MHLZO - Move High to Low Zone
- MLHZO - Move Low to High Zone
- MLLZO - Move Low to Low Zone
- MONITOR - Begin a Monitor Group
- MOVE - Move
- MOVEA - Move Array
- MOVEL - Move Left
- MULT - Multiply
- MVR - Move Remainder
- NEXT - Next
- OCCUR - Set/Get Occurrence of a Data Structure
- ON-ERROR - On Error
- OPEN - Return File Open Condition
- ORxx - Or
- OTHER - Otherwise Select
- OUT - Write a Data Area
- PARM - Identify Parameters
- PLIST - Identify a Parameter List
- POST - Post
- READ - Read a Record
- READC - Read Next Changed Record
- READE - Read Equal Key
- READP - Read Prior Record
- READPE - Read Prior Equal
- REALLOC - Reallocate Storage
- REL - Release
- RESET - Reset
- RETURN - Return to Caller
- ROLBK - Roll Back
- SCAN - Scan for Characters
- SELECT - Begin a Select Group
- SETGT - Set Greater Than
- SETLL - Set Lower Limit
- SETOFF - Set Indicator Off
- SETON - Set Indicator On
- SHTDN - Shut Down
- SORTA - Sort an Array
- SQRT - Square Root of Expression
- SUB - Subtract
- SUBDUR - Subtract Duration
- SUBST - Get Substring
- TAG - Tag
- TEST - Test Date/Time/Timestamp
- TESTB - Test Bit
- TESTN - Test Numeric
- TESTZ - Test Zone
- TIME - Convert to Time
- UNLOCK - Unlock a Data Area or Release a Record
- UPDATE - Modify Existing Record
- WHEN - When True Then Select
- WHENxx - When True Then Select
- WRITE - Create New Records
- XFOOT - Sum Array Expression Elements
- XLATE - Translate
- Z-ADD - Zero and Add
- Z-SUB - Zero and Subtract
No comments:
Post a Comment