Difference between revisions of "Test268 Section 3"

From MidrangeWiki
Jump to: navigation, search
 
Line 44: Line 44:
  
  
=== Use the D-spec keywords.
+
=== Use the D-spec keywords ===

Revision as of 22:49, 28 November 2005


Section 3 - Core RPG (15%)

Recognize appropriate use of RPG creation commands (e.g., CRTxxxPGM, CRTxxxMOD, CRTPGM, CRTBNDxxx)

Define basic arrays (e.g., compile time, pre-run time, run time) using D specs

Use basic array handling (e.g., *IN, LOOKUP, SORTA, MOVE and MOVEA, indexing)

Code and use figurative constants (e.g., *LOVAL, *HIVAL, *ALL, *BLANKS, *ZEROS, *ON, *OFF)

Code and use job date and system date

Code and use structured operation codes (e.g., DO DOUxx, DOWxx, IF/ELSE/ELSEIF, SELECT/WHEN, CASxx/EXSR)

Code and use structured operation codes with expressions (+, -, * ,/, **, <, >, =, (), and, or, not)

Code and use date data types and arithmetic operations, including date operations in expressions

Code and use SDS

Code and use *INZSR

Code and use RPG IV built-in functions

Use the H-spec keywords

Use RPG IV OpCodes (e.g., Arithmetic, Date, Message, Array, Declarative, File, Branching, Indicator setting, String handling, Structured programming, compare, initialization, subroutine, data area)

Use the D-spec keywords