HP 3000 Manuals

RPG COMPILER CONVENTIONS [ MPE Segmenter Reference Manual ] MPE/iX 5.0 Documentation


MPE Segmenter Reference Manual

Appendix F  RPG COMPILER CONVENTIONS 

The structure of this language is significantly different from that of
other programming languages.  It is difficult to relate object code
generated to original source statements.  Thus, most RPG programmers do
not interface with the system at the segment level, and the language
provides less programmer control over segmentation than other languages.

The RPG compiler determines RBMs based on individual source program
requirements.

The SEGMENT= parameter of the $CONTROL command, used by some compilers to
assign different Segment names to program units, is not supported by RPG
because of its limited application with this compiler.

$CONTROL SEG=maxsegsize 

 *  Allows programmer to limit segment size to n x 1024 words (not to
    exceed 4096 words).

Outer block generated automatically.

 *  One RBM for the outer block.

 *  Programmer can specify name of outer block.

 *  Compiler assigns default name RPGOBJ.



MPE/iX 5.0 Documentation