Phil Smith wrote:

>Is it normal for code to actually care? 

Of course, it is normal.

For example, this COBOL statement checks the data (From COBOL manual):

    If Count-x is numeric then display "Data is good"

Look for NUMPROC compiler option and NUMCLS option for COBOL for example.

Try to do a COMPUTE with a character for a nice S0Cx abend. ;-D

>if we say "Heck with it, we can't tell, so we'll just mark it positive", is 
>that likely to cause problems?

Yes, you will get problems, especially if you intend to do comparisions + 
calculations where signs are important.

Groete / Greetings
Elardus Engelbrecht

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to