Difference between revisions of "Test268 Section 3"

From MidrangeWiki
Jump to: navigation, search
(Recognize appropriate use of RPG creation commands (e.g., CRTxxxPGM, CRTxxxMOD, CRTPGM, CRTBNDxxx))
(Recognize appropriate use of RPG creation commands (e.g., CRTxxxPGM, CRTxxxMOD, CRTPGM, CRTBNDxxx))
Line 10: Line 10:
  
 
* CRTxxxPGM
 
* CRTxxxPGM
 +
** Used for compiling a RPG ILE 4 program without the "NOMAIN" H-Spec
 
* CRTxxxMOD
 
* CRTxxxMOD
 +
** Used for compiling a RPG ILE 4 program with the "NOMAIN" H-Spec
 
* CRTPGM
 
* CRTPGM
 
* CRTBNDxxx
 
* CRTBNDxxx

Revision as of 18:34, 29 November 2005

<< Previous Section | Home | Next Section >>

Section 3 - Core RPG (15%)

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

  • CRTxxxPGM
    • Used for compiling a RPG ILE 4 program without the "NOMAIN" H-Spec
  • CRTxxxMOD
    • Used for compiling a RPG ILE 4 program with the "NOMAIN" H-Spec
  • CRTPGM
  • CRTBNDxxx

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

  • Compile Time
  • Pre-Run Time
  • Run Time

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)

  • *ALL
  • *BLANKS
  • *HIVAL
  • *LOVAL
  • *OFF
  • *ON
  • *ZEROS

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

See Program Status Data Structure

Code and use *INZSR

Code and use RPG IV built-in functions

See Built In Functions

Use the H-spec keywords

See 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

See D-Spec Keywords


<< Previous Section | Home | Next Section >>