MAX(
,
number
)
returns the largest number from the list specified, formatted according to the current NUMERIC settings.
Here are some examples:
MAX(12,6,7,9)
->
12
MAX(17.3,19,17.03)
->
19
MAX(-7,-3,-4.3)
->
-3
MAX(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,MAX(20,21))
->
21
Implementation maximum:
You can specify up to 20
number
s, and can nest calls to MAX if more
arguments are needed.
MIN (Minimum)
MIN(
,
number
)
returns the smallest number from the list specified, formatted according to the current NUMERIC settings.
Here are some examples:
MIN(12,6,7,9)
->
6
MIN(17.3,19,17.03)
->
17.03
MIN(-7,-3,-4.3)
->
-7
MIN(21,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,MIN(2,1))
->
1
Implementation maximum:
You can specify up to 20
number
s, and can nest calls to MIN if more
arguments are needed.
OVERLAY
OVERLAY(
new
,
target
,
n
,
length
,
pad
)
returns the string
target
, which, starting at the
n
th character, is overlaid with the string
new
, padded or
truncated to length
length
. (The overlay may extend beyond the end of the original
target
string.) If you
specify
length
, it must be a positive whole number or zero. The default value for
length
is the length of
new
. If
n
is greater than the length of the target string, padding is added before the
new
string. The default
pad
character is a blank, and the default value for
n
is
1
. If you specify
n
, it must be a positive whole
number.
Here are some examples:
OVERLAY(' ','abcdef',3)
->
'ab def'
OVERLAY('.','abcdef',3,2)
->
'ab. ef'
OVERLAY('qq','abcd')
->
'qqcd'
OVERLAY('qq','abcd',4)
->
'abcqq'
OVERLAY('123','abc',5,6,'+')
->
'abc+123+++'
POS (Position)
POS(
needle
,
haystack
,
start
)
returns the position of one string,
needle
, in another,
haystack
. (See also the INDEX and LASTPOS
functions.) Returns
0
if
needle
is the null string or is not found or if
start
is greater than the length of
Functions
Chapter 14. Functions
189
Содержание SC34-5764-01
Страница 1: ...CICS Transaction Server for VSE ESA REXX Guide SC34 5764 01...
Страница 2: ......
Страница 3: ...CICS Transaction Server for VSE ESA REXX Guide SC34 5764 01...
Страница 22: ...xx CICS TS for VSE ESA REXX Guide...
Страница 23: ...Part 1 User s Guide Copyright IBM Corp 1992 2009 1...
Страница 24: ...2 CICS TS for VSE ESA REXX Guide...
Страница 40: ...18 CICS TS for VSE ESA REXX Guide...
Страница 54: ...Using Variables and Expressions 32 CICS TS for VSE ESA REXX Guide...
Страница 106: ...84 CICS TS for VSE ESA REXX Guide...
Страница 110: ...88 CICS TS for VSE ESA REXX Guide...
Страница 122: ...100 CICS TS for VSE ESA REXX Guide...
Страница 123: ...Part 2 Reference Copyright IBM Corp 1992 2009 101...
Страница 124: ...102 CICS TS for VSE ESA REXX Guide...
Страница 130: ...Introduction 108 CICS TS for VSE ESA REXX Guide...
Страница 152: ...REXX General Concepts 130 CICS TS for VSE ESA REXX Guide...
Страница 224: ...Functions 202 CICS TS for VSE ESA REXX Guide...
Страница 252: ...230 CICS TS for VSE ESA REXX Guide...
Страница 278: ...256 CICS TS for VSE ESA REXX Guide...
Страница 312: ...DB2 Interface 290 CICS TS for VSE ESA REXX Guide...
Страница 316: ...High level Client Server Support 294 CICS TS for VSE ESA REXX Guide...
Страница 340: ...318 CICS TS for VSE ESA REXX Guide...
Страница 344: ...for execs Commands 322 CICS TS for VSE ESA REXX Guide...
Страница 399: ...Part 3 Appendixes Copyright IBM Corp 1992 2009 377...
Страница 400: ...378 CICS TS for VSE ESA REXX Guide...
Страница 438: ...416 CICS TS for VSE ESA REXX Guide...
Страница 442: ...System Definition Customization Administration 420 CICS TS for VSE ESA REXX Guide...
Страница 446: ...Security 424 CICS TS for VSE ESA REXX Guide...
Страница 448: ...426 CICS TS for VSE ESA REXX Guide...
Страница 464: ...442 CICS TS for VSE ESA REXX Guide...
Страница 466: ...444 CICS TS for VSE ESA REXX Guide...
Страница 468: ...446 CICS TS for VSE ESA REXX Guide...
Страница 476: ...454 CICS TS for VSE ESA REXX Guide...
Страница 478: ...456 CICS TS for VSE ESA REXX Guide...
Страница 479: ......
Страница 480: ...SC34 5764 01...
Страница 481: ...Spine information CICS TS for VSE ESA REXX Guide...