Can a group data item contain both numeric and alphanumeric data items?

  • No
  • Only if explicitly specified using the PICTURE clause
  • Only if explicitly specified using the USAGE clause
  • Yes
Yes, a group data item in COBOL can contain both numeric and alphanumeric data items. This flexibility allows for the grouping of related data items regardless of their data types, facilitating better organization and readability of code.
Add your answer
Loading...

Leave a comment

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