Compaq COBOL AAQ2G1FTK User Manual page 6

Compaq computer accessories user manual
Table of Contents

Advertisement

4.3.7
Assigning Index Values Using the SET Statement . . . . . . . . . . . . . . . .
4.3.7.1
4.3.7.2
4.3.8
Implementing a Sequential Search . . . . . . . . . . . . . . . . . . . . . . . .
4.3.8.1
4.3.8.2
Implementing a Binary Search . . . . . . . . . . . . . . . . . . . . . . . . . . .
Concatenating Data Using the STRING Statement . . . . . . . . . . . . . . . . . .
5.1
5.1.1
Multiple Sending Items . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.1.2
Using the DELIMITED BY Phrase . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.1.3
Using the POINTER Phrase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.1.4
Using the OVERFLOW Phrase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Common STRING Statement Errors . . . . . . . . . . . . . . . . . . . . . . . . . .
5.1.5
Separating Data Using the UNSTRING Statement . . . . . . . . . . . . . . . . . .
5.2
5.2.1
Multiple Receiving Items . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.2.2
5.2.2.1
Multiple Delimiters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.2.3
Using the COUNT Phrase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.2.4
5.2.5
5.2.6
Phrase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.2.7
5.2.8
Common UNSTRING Statement Errors . . . . . . . . . . . . . . . . . . . . . . .
5.3
5.3.1
Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.3.2
5.3.3
Implicit Redefinition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.3.4
Examining the INSPECT Operation . . . . . . . . . . . . . . . . . . . . . . . . . .
Setting the Scanner . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.3.4.1
Active/Inactive Arguments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.3.4.2
5.3.4.3
Finding an Argument Match . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.3.5
The TALLYING Phrase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.3.5.1
The Tally Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.3.5.2
The Tally Argument . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
The Tally Argument List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.3.5.3
Interference in Tally Argument Lists . . . . . . . . . . . . . . . . . . . . . . .
5.3.5.4
5.3.6
Using the REPLACING Phrase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.3.6.1
The Search Argument . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.3.6.2
The Replacement Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.3.6.3
The Replacement Argument . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
The Replacement Argument List . . . . . . . . . . . . . . . . . . . . . . . . . .
5.3.6.4
Interference in Replacement Argument Lists . . . . . . . . . . . . . . . . .
5.3.6.5
5.3.7
Using the CONVERTING Option . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.3.8
Common INSPECT Statement Errors . . . . . . . . . . . . . . . . . . . . . . . . .
vi
4-16
4-16
4-16
4-16
4-17
4-18
5-1
5-1
5-2
5-4
5-4
5-6
5-6
5-6
5-8
5-12
5-12
5-13
5-14
5-15
5-16
5-16
5-17
5-17
5-18
5-18
5-21
5-22
5-22
5-23
5-24
5-24
5-24
5-25
5-27
5-30
5-30
5-31
5-31
5-31
5-32
5-33
5-33

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COBOL AAQ2G1FTK and is the answer not in the manual?

Questions and answers

Table of Contents