🎴 Flashcard Mode
COBOL Programming and IBM Mainframe Concepts
Card1 / 20
Mastered0
Review0
QuestionClick to flip
The maximum value of the integer argument to the FACTORIAL function when you specify ARITH (COMPAT) is?
AnswerClick to flip back
A
(c) 28
💡 Explanation:
In IBM COBOL with ARITH(COMPAT) compiler option, the FACTORIAL function accepts integer arguments from 0 to 28 maximum. This is due to the storage size limitations for the result - values beyond 28! exceed standard numeric representation capacity.