You are tasked with parsing and modifying a text field in a COBOL program. Which COBOL statement can help you achieve this?

  • INSPECT statement
  • PERFORM VARYING statement
  • STRING statement
  • UNSTRING statement
The UNSTRING statement in COBOL is used for parsing and extracting portions of a text field. It allows you to break down a text field into smaller components based on specified delimiters, enabling you to modify or manipulate the text as needed.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *