In a COBOL program for processing employee data, you need to store the employee's unique identification number. Which type of COBOL variable would you use for this purpose?

  • PIC 9(5) DISPLAY
  • PIC 9(6) USAGE COMP-3
  • PIC S9(9)
  • PIC X(10)
For storing unique identification numbers in COBOL, PIC S9(9) is appropriate. It allows for numeric values with sign, suitable for representing employee IDs.
Add your answer
Loading...

Leave a comment

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