Function
Description
DELWORD
Returns a string after deleting a specified number of words, starting at a
specified word in the input string.
FIND *
Returns the word number of the first word of a specified phrase found
within the input string.
INDEX *
Returns the character position of the first character of a specified string
found in the input string.
INSERT
Returns a character string after inserting one input string into another
string after a specified character position.
LASTPOS
Returns the starting character position of the last occurrence of one
string in another.
LENGTH
Returns the length of the input string.
OVERLAY
Returns a string that is the target string overlaid by a second input
string.
POS
Returns the character position of one string in another.
REVERSE
Returns a character string, the characters of which are in reverse order
(swapped end for end).
STRIP
Returns a character string after removing leading or trailing characters
or both from the input string.
SUBSTR
Returns a portion of the input string beginning at a specified character
position.
SUBWORD
Returns a portion of the input string starting at a specified word number.
TRANSLATE
Returns a character string with each character of the input string
translated to another character or unchanged.
VERIFY
Returns a number indicating whether an input string is composed only of
characters from another input string or returns the character position of
the first unmatched character.
WORD
Returns a word from an input string as indicated by a specified number.
WORDINDEX
Returns the character position in an input string of the first character in
the specified word.
WORDLENGTH
Returns the length of a specified word in the input string.
WORDPOS
Returns the word number of the first word of a specified phrase in the
input string.
WORDS
Returns the number of words in the input string.
* Indicates a non-SAA built-in function provided only by TSO/E.
Miscellaneous Functions
Function
Description
ADDRESS
Returns the name of the environment to which commands are currently
being sent.
ARG
Returns an argument string or information about the argument strings to
a program or internal routine.
BITAND
Returns a string composed of the two input strings logically ANDed
together, bit by bit.
BITOR
Returns a string composed of the two input strings logically ORed
together, bit by bit.
Built-In Functions
Chapter 5. Using Functions
65
Содержание TSO/E REXX
Страница 1: ...z OS TSO E REXX User s Guide SA22 7791 00 ...
Страница 2: ......
Страница 3: ...z OS TSO E REXX User s Guide SA22 7791 00 ...
Страница 10: ...viii z OS V1R1 0 TSO E REXX User s Guide ...
Страница 12: ...x z OS V1R1 0 TSO E REXX User s Guide ...
Страница 14: ...xii z OS V1R1 0 TSO E REXX User s Guide ...
Страница 18: ...xvi z OS V1R1 0 TSO E REXX User s Guide ...
Страница 20: ...2 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 58: ...Tracing Expressions with the TRACE Instruction 40 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 78: ...60 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 86: ...Built In Functions 68 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 128: ...Issuing Other Types of Commands from an Exec 110 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 136: ...Debugging Execs 118 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 170: ...Protecting Elements in the Data Stack 152 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 201: ...Part 3 Appendixes Copyright IBM Corp 1988 2001 183 ...
Страница 202: ...184 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 222: ...Using Variables 204 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 226: ...208 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 238: ...220 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 241: ......