IBM SC34-5764-01 User Manual

Page 236

Advertising
background image

┌────────────────────────────────────────┐

│

┌────────────────────────────────┐

│

│START

│

│

│Token is first one in template. │

│

│Length=length(source string)

│

│

│Match start=1. Match end=1.

│

│

└─────────┬──────────────────────┘

│

┌──────────

│

│

│

│

│

┌───────────────────┐yes ┌────────────────────┐

│

│

│End of template?

├─── │Parsing complete.

│

│

│

└─────────┬─────────┘

└────────────────────┘

│

│

no

│

│

┌───────────────────┐

│

│

│CALL Find Next

│

│

│

│ Pattern.

│

│

│

└─────────┬─────────┘

│

│

│

│

┌───────────────────┐

│

│

│CALL Word Parsing. │

│

│

└─────────┬─────────┘

│

│

│

│

┌───────────────────┐

│

│

│Step to next token.│

│

│

└─────────┬─────────┘

│

│

│

│

┌───────────────────┐ yes ┌────────────────────┐

│

│

│Token a comma?

├──── │Set next source

│

│

│

└─────────┬─────────┘

│string and template.├───┘

│

│ no

└────────────────────┘

└────────────┘

Figure 50. Conceptual Overview of Parsing

Parsing

214

CICS TS for VSE/ESA: REXX Guide

Advertising