Download Print this page

HP 3000 Manual page 264

Mpe/ix computer systems, rpg/xl utilities
Hide thumbs Also See for 3000:

Advertisement

Constant Type
Legal values for this field are C or blank.
If C is specified in the Constant type specification, constant information given in the field is displayed in
the output field. If the field is blank, blanks are displayed.
If a blank is specified, information from the program output buffer area is displayed.
If M is specified in the constant type entry, and the message set number and message number entries are
specified, these numbers are used to obtain a message from the merged catalog file, which is then
displayed in this field at runtime. If the message number entries are not specified, the message set
number and message number entries are taken from the RPG output buffer at runtime and used to obtain
the message text from the catalog file.
If the message text cannot be obtained using the message I.D. provided, blanks are displayed.
Message Set Number
Legal values for this field are M or blank.
If the constant type specified is M (message), you can specify a message set number representing the
message set number within a catalog file that is to be merged (see "Referencing Messages and Merging
Catalog Files"). The message will not be merged until you use the merge catalog option in either the main
menu or the form utilities menu.
Message Number
Legal values for this field are M or blank.
If the constant type specified is M (message), you can specify a message number representing the message
number within a message set of a message catalog file.
Data Types
Legal values for this field are A, B, D, N, S, and blank.
The letter given in this entry indicates the type of data that a user can enter in an input field. Data type is
ignored for a field that is output only. The data types are described in Table 2-4.
Data Type
A
The field can only contain alphabetic data.
B or blank
The field can contain any alphanumeric data.
N
The field can only contain numeric data, commas, periods, plus, or minus signs. The editing
characters are stripped when the data is moved to the program buffer, except for the sign, if any.
S
The field can contain only signed numeric data with one position of the field reserved for a sign. The
field can be from 2 to 16 characters long. Although the sign for field is displayed on the screen, the
buffer space allocated for the field is one character less because the sign is overpunched on the low-
order digit.
The field can only contain numeric data, commas, periods, plus, or minus signs. The edit characters
D
(comma, period, plus, and minus) are not stripped from this field before it is sent to the user
program. This field can be defined as alphanumeric in the RPG program.
2- 266
Table 8: Data Types
Description

Advertisement

loading