Compaq COBOL AAQ2G1FTK User Manual

Page 166

Advertising
background image

Using the STRING, UNSTRING, and INSPECT Statements
5.3 Examining and Replacing Characters Using the INSPECT Statement

Table 5–10 Values Resulting from Implicit Redefinition

Original
Value

Altered
Value

Restored Value

} (173)

0 (60)

} (173)

A (101)

1 (61)

A (101)

B (102)

2 (62)

B (102)

C (103)

3 (63)

C (103)

D (104)

4 (64)

D (104)

E (105)

5 (65)

E (105)

F (106)

6 (66)

F (106)

G (107)

7 (67)

G (107)

H (110)

8 (70)

H (110)

I (111)

9 (71)

I (111)

{ (175)

0 (60)

{ (175)

J (112)

1 (61)

J (112)

K (113)

2 (62)

K (113)

L (114)

3 (63)

L (114)

M (115)

4 (64)

M (115)

N (116)

5 (65)

N (116)

O (117)

6 (66)

O (117)

P (120)

7 (67)

P (120)

Q (121)

8 (70)

Q (121)

R (122)

9 (71)

R (122)

0 (60)

0 (60)

} (173)

1 (61)

1 (61)

A (101)

2 (62)

2 (62)

B (102)

3 (63)

3 (63)

C (103)

4 (64)

4 (64)

D (104)

(continued on next page)

5–20 Using the STRING, UNSTRING, and INSPECT Statements

Advertising