Wednesday, March 11, 2009

COBOL INSPECT

1. Inspect statement, Note must initiate the Count field before using it, which cannot automatically set to zero.
01 COUNT-FIELD PIC S999 SIGN LEADING SEPARATE.

INSPECT WORK-FIELD TALLYING
COUNT-FIELD FOR CHARACTERS.

No comments:

Post a Comment