MPE/iX Shell and Utilities Reference Manual, Vol 1

dc(1) MPE/iX Shell and Utilities dc(1)
Message: negative argument to Q
Cause: You attempted to use the Q operator but the value on the top of the stack was
negative. Q cannot take a negative argument.
Action: Make sure that the stack has a positive number on top when using the Q opera-
tor.
Message: negative index
Cause: You attempted to use a negative number as an array index.
Action: Use a positive number as an array index.
Message: number expected, string found
Cause: When popping a value from the stack, dc expected a number but a string value
was found.
Action: Make sure that the stack contains the proper type of value when performing
operations using the stack.
Message: numerical constant is too long
Cause: You specified a numerical constant that had more than 1000 digits.
Action: Use a numerical constant with less than 1000 digits.
Message: oct_num is unimplemented
Cause: You specified a character which is not a currently implemented operators.
oct_num is the octal value of the character.
Action: See the DESCRIPTION section of this man page for a list of valid dc operators.
Message: out of memory (fatal)
Cause: dc ran out of system resources.
Action: Free up some resources, check for infinite recursion when executing strings, and
make sure information is not being left on the stack.
Message: output radix too big
Cause: You specified an output radix that is too large for dc to handle.
Action: Specify a smaller output radix.
Message: readstk?
Cause: You attempted to pop too many values off the stack with the Q operator.
Action: Make sure that the top value on the stack is not greater than the number of cur-
rently executing strings.
Message: save: args
Cause: You attempted to use the s or S operator when there was no value on the
stack.
Action: Make sure that there is at least one value on the stack before trying to use the s
and S commands.
1-166 Commands and Utilities