aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Mainframe Programming: COBOL, JCL, and ECL
  • Consider the following COBOL entries: 05 X PIC 99 VALUE 1...
Multiple choice technology mainframe

Consider the following COBOL entries: 05 X PIC 99 VALUE 10. SUBTRACT 20 FROM X. The resultant value of X will be ?

  1. Abends

  2. -10

  3. 10

  4. Syntax error

Reveal answer Fill a bubble to check yourself
C Correct answer

Keep practicing — related questions

  • Consider the following COBOL entries: 05 X PIC 99 VALUE 10. SUBTRACT 20 FROM X. The resultant value of X wi...
  • "05 X PIC 99 VALUE 10. SUBTRACT 20 FROM X. DISPLAY X The result would be?"
  • Suppose if the Variables A and B are declared as S9(7) and 9(7). Which of the below statement(s) violate CO...
  • What abend will be hit when a COBOL program is trying to move Alphabetic Data into Numeric fields?
  • In COBOL consider the data division, WS-X PICTURE PPP9999. MOVE 123 TO WS-X. What is the value stored in WS-X?
  • Take a look at the following COBOL instruction. When will instruction-3 be executed? IF A=B THEN instructio...
  • Which of the following words can NOT be used to perform calculations in a COBOL program
  • REDEFINE X(250) by X(245) - Is it possible
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy