ΓööΓöÇΓö¼ΓöÇRERUN ON assignment-name-1ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇ.ΓöÇΓöÿ
The COS function returns a numeric value that approximates the cosine of an
angle or arc, expressed in radians, that is specified by the argument. The
returned value is greater than or equal to -1 and less than or equal to +1.
The function type is numeric.
ΓöÇΓöÇΓöÇFUNCTION COS (argument-1)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
ΓòÉΓòÉΓòÉ 1.100. CURRENT-DATE Function ΓòÉΓòÉΓòÉ
Description
The CURRENT-DATE function returns a 21-character alphanumeric value that
represents the calendar date, time of day, and local time differential from
Greenwich Mean Time provided by the system on which the function is
The ORD function returns an integer value that is the ordinal position of its
argument in the collating sequence for the program. The lowest ordinal
position is 1.
The function type is integer.
The function result is a three-digit integer.
ΓöÇΓöÇΓöÇFUNCTION ORD (argument-1)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
ΓòÉΓòÉΓòÉ 1.121. ORD-MAX Function ΓòÉΓòÉΓòÉ
Description
The ORD-MAX function returns a value that is the ordinal number of the
position, in the argument list, of the argument that contains the maximum
The RANDOM function returns a numeric value that is a pseudo-random number
from a rectangular distribution.
The function type is numeric.
ΓöÇΓöÇΓöÇFUNCTION RANDOM ΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
Γöé Γöé
Γöö(ΓöÇΓöÇargument-1ΓöÇΓöÇ)Γöÿ
ΓòÉΓòÉΓòÉ <hidden> argument-1 ΓòÉΓòÉΓòÉ
If you specify argument-1, it must be zero or a positive integer, up to and
including (10**18) - 1. However, only those values from zero up to and
including 2,147,483,645 will yield a distinct sequence of pseudo-random
numbers.
Argument-1 is the seed value used to generate a sequence of pseudo-random
numbers. If a subsequent reference within a run unit specifies argument-1, a
new sequence of random numbers will start.
If the first reference to this function in the run unit does not specify
argument-1, the seed value used will be zero.
In each case, subsequent references (within a run unit) without specifying
argument-1 return the next number in the current sequence.
ΓòÉΓòÉΓòÉ 1.125. RANGE Function ΓòÉΓòÉΓòÉ
Description
The RANGE function returns a value that is equal to the value of the maximum
argument minus the value of the minimum argument.
The function type depends on the argument type. For example, if the argument
types are integer, the function type is integer; if at least one argument
The SIN function returns a numeric value that approximates the sin of an
angle or arc, expressed in radians, that is specified by the argument. The
returned value is greater than or equal to -1 and less than or equal to +1.
The function type is numeric.
ΓöÇΓöÇΓöÇFUNCTION SIN (argument-1)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
ΓòÉΓòÉΓòÉ 1.129. SQRT Function ΓòÉΓòÉΓòÉ
Description
The SQRT function returns a numeric value that approximates the square root
of the argument specified. The returned value is the absolute value of the
approximation of the square root of the argument specified.
ΓöÇΓöÇΓöÇFUNCTION SUM (ΓöÇΓöÇΓöÇ argument-1 ΓöÇΓöÇΓö┤ΓöÇ)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
ΓòÉΓòÉΓòÉ 1.132. TAN Function ΓòÉΓòÉΓòÉ
Description
The TAN function returns a numeric value that approximates the tangent of an
angle or arc, expressed in radians, that is specified by the argument.
The function type is numeric.
ΓöÇΓöÇΓöÇFUNCTION TAN (argument-1)ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
ΓòÉΓòÉΓòÉ 1.133. UPPER-CASE Function ΓòÉΓòÉΓòÉ
Description
The UPPER-CASE function returns a character string that is the same length as
the argument specified, with the lowercase letters replaced by corresponding