Formatting Functions
Function
Description
CENTER or
CENTRE
Returns a string of a specified length with the input string centered in it, with pad characters
added as necessary to make up the length.
COPIES
Returns the specified number of concatenated copies of the input string.
FORMAT
Returns the input number, rounded and formatted.
JUSTIFY
1
Returns a specified string formatted by adding pad characters between words to justify to both
margins.
LEFT
Returns a string of the specified length, truncated or padded on the right as needed.
RIGHT
Returns a string of the specified length, truncated or padded on the left as needed.
SPACE
Returns the words in the input string with a specified number of pad characters between each
word.
String Manipulating Functions
Function
Description
ABBREV
Returns a string indicating if one string is equal to the specified number of leading characters of
another string.
DELSTR
Returns a string after deleting a specified number of characters, starting at a specified point in
the input string.
DELWORD
Returns a string after deleting a specified number of words, starting at a specified word in the
input string.
FIND
1
Returns the word number of the first word of a specified phrase found within the input string.
INDEX
1
Returns the character position of the first character of a specified string found in the input string.
INSERT
Returns a character string after inserting another input string into it from 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 that is the reverse of the original.
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 a specified number indicates.
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.
1. Is a non-SAA built-in function REXX/CICS provides.
Using Functions
54
CICS TS for VSE/ESA: REXX Guide
Содержание 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...