HP RPG/XL Programmer's Guide (30318-90001)

A- 4
Rewind Operations
HP RPG does not support all tape-rewinding operations, since the
operating system performs these tape operations.
Quotation Marks
Because other HP languages use the double quotation mark as the delimiter
for constants and edit words, HP RPG also uses them for the same purpose.
To continue to use the single quotation mark as the delimiter character
for constants and edit words, use the $CONTROL compiler subsystem command
with the QUOTE= parameter. Compiler subsystem commands are discussed in
the
HP RPG Reference Manual
.
File and Program Names
File and program names must begin with a letter (A-Z), followed by
letters (A-Z) or digits (0-9). File names may contain up to eight
characters. If the file is in a different group or account, you must
enter a :FILE command to identify its location. Append the group and
account to the file name. For instance, to qualify the file named
FILENAME, enter FILENAME.GROUPNAME.ACCOUNTNAME. See the
MPE XL General
User's Reference Manual
for more information on qualifying file names.
Program names may contain up to six characters.
RPG Features That Are Not Supported
HP RPG does not support the following IBM RPG features:
Sterling Notation
The Sterling currency (pounds, shillings, pence) specifications (Header,
Input, and Output) must be changed.
Telecommunications
HP RPG does not currently support telecommunications specifications.
ULABL Operation
RPG does not support ULABL calculation operations that make external
subroutine fields accessible to an RPG program. HP RPG does, however,
support the RLABL and PARM operations. RLABL makes fields, tables,
arrays, and indicators in RPG programs available to external subroutines.
PARM passes parameters to and from external subroutines.
Card Reader/Punch/Interpreter
HP RPG does not support punched card devices. You must manually convert
code related to these devices.
Header Specification Features
The following Header Specification features are not supported:
* Variable memory sizes during compilation and execution.
* Destination device of a compiled object program.
* Inquiry request option (to allow/disallow interruption and roll-out
of a running program, followed by roll-in of a new program).
* Normal halt bypass when the object program transmits an
unrecognizable character to an output device.
* Sharing of a single output area by all disc files.
Migrating from MPE V RPG
This section lists the features that are not supported when you compile
and run a program under MPE XL. To run RPG programs in compatibility mode
under MPE XL, STORE them onto tape then RESTORE them onto the MPE XL
system. (See the MPE XL migration guides for complete information about
how to do this.)
To convert RPG V programs to RPG XL, first STORE them onto tape. Then
make any changes to the program to reflect the features that are no
longer supported (see the next section). Finally, recompile the programs