IBM SC34-5764-01 Manual page 424

Cics transaction server for vse/esa
Table of Contents

Advertisement

RIGHT('a<>',2)
CENTER('<.A.B>',10,'<.E>') ->
CENTER('<.A.B>',11,'<.E>') ->
CENTER('<.A.B>',10,'e')
Applying the character concatenation for padding and character extraction from a string rules.
LENGTH
In EBCDIC:
LENGTH('<.A.B><.C.D><>')
Applying the counting characters rule.
REVERSE
In EBCDIC:
REVERSE('<.A.B><.C.D><>')
Applying the character extraction from a string and character concatenation rules.
SPACE
In EBCDIC:
SPACE('a<.A.B. .C.D>',1)
SPACE('a<.A><><. .C.D>',1,'x') -> 'a<.A>x<.C.D>'
SPACE('a<.A><. .C.D>',1,'<.E>') -> 'a<.A.E.C.D>'
Applying the word extraction from a string and character concatenation rules.
STRIP
In EBCDIC:
STRIP('<><.A><.B><.A><>',,'<.A>')
Applying the character extraction from a string and character concatenation rules.
SUBSTR and DELSTR
In EBCDIC:
SUBSTR('<><.A><><.B><.C.D>',1,2) -> '<.A><><.B>'
DELSTR('<><.A><><.B><.C.D>',1,2) -> '<><.C.D>'
SUBSTR('<.A><><.B><.C.D>',2,2)
DELSTR('<.A><><.B><.C.D>',2,2)
SUBSTR('<.A.B><>',1,2)
SUBSTR('<.A.B><>',1)
Applying the character extraction from a string and character concatenation rules.
SUBWORD and DELWORD
In EBCDIC:
SUBWORD('<><. .A. . .B><.C. .D>',1,2) -> '<.A. . .B><.C>'
DELWORD('<><. .A. . .B><.C. .D>',1,2) -> '<><. .D>'
SUBWORD('<><.A. . .B><.C. .D>',1,2)
DELWORD('<><.A. . .B><.C. .D>',1,2)
SUBWORD('<.A. .B><.C><> <.D>',1,2)
DELWORD('<.A. .B><.C><> <.D>',1,2)
Applying the word extraction from a string and character concatenation rules.
SYMBOL
In EBCDIC:
402
CICS TS for VSE/ESA: REXX Guide
->
' a'
'<.E.E.E.E.A.B.E.E.E.E>'
'<.E.E.E.E.A.B.E.E.E.E.E>'
->
'eeee<.A.B>eeee'
->
4
->
'<><.D.C><.B.A>'
-> 'a<.A.B> <.C.D>'
-> '<.B>'
-> '<.B><.C>'
-> '<.A><><.D>'
-> '<.A.B>'
-> '<.A.B><>'
-> '<.A. . .B><.C>'
-> '<><.D>'
-> '<.A. .B><.C>'
-> '<.D>'

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rexx

Table of Contents