Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Language Reference Manual

Scaling factor

The picture character F specifies a picture scaling factor for fixed-point decimal numbers. It can appear only once at the right end of the picture specification.

Read syntax diagramSkip visual syntax diagram>>-F-(-+-----+-integer)----------------------------------------><
       +- + -+
       '- - -'
 
F
Specifies the picture scaling factor. The picture scaling factor specifies that the decimal point in the arithmetic value of the variable is that number of places to the right (if the picture scaling factor is positive) or to the left (if negative) of its assumed position in the character value.

The number of digits following the V picture character minus the integer specified with F must be between -128 and 127.

Table 43 shows examples of the picture scaling factor character.

Table 43. Examples of scaling factor characters
 
Source Attributes
Source Data
(in constant form)
 
Picture Specification
 
Character Value
 FIXED(4,0)
FIXED(7,0)
FIXED(5,5)
 1200
-1234500
.00012
 99F(2)
S999V99F(4)
99F(-5)
 12
-12345
12
 FIXED(6,6)
 .012345
 999V99F(-4)
 12345

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)