Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

PL/I & Assembler :: RE: IBM0472S ONCODE=290 The INVALIDOP

$
0
0
Author: Robert Sample
Posted: Tue May 09, 2017 8:04 pm (GMT 5.5)

Quote:
Max value a bin fixed(32) can hold is 2147483648. So the PIC declaration is Okay.
Until you get a value of 4588313000 in the variable. Merely saying the code has run fine for a year (or 5 years or whatever) does NOT mean the code won't cause problems tomorrow -- it all depends upon what value is stored in KC_KONDBAH04, and unless that is a fixed value there is ALWAYS the potential for a problem with your assignment statement.
Quote:
The funny thing is sometimes the job executes successfully after restart in CTRL-M.
This implies the problem is something else entirely -- such as a wild branch or some other external action impacting the code. Such problems are notoriously difficult to diagnose and correct. If your site has a code analyzer, you need to turn it on for the program and take the performance hit until you collect enough data to figure out the true problem and resolve it.
_________________
TANSTAAFL

The first rule of code reuse is that the code needs to be worth re-using.

"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." -- Donald Knuth


Viewing all articles
Browse latest Browse all 8500