>- What is "on input" as described under NOPFD? That is on input to a statement, before a statement starts operating on the data.
>- Which allowed behavior of COBOL 5.2 is closer to MIG: NOPFD or PFD? It depends on what behavior you mean, but for preferred sign correction you need NNUMPROC(NOPFD). If you have all preferred signs already, you can use NUMPROC(PFD). We do not test invalid COBOL as in your example, so the behavior for us is rather unknown. We are coming out with a new option to help customers find if they have invalid zoned decimal (numeric DISPLAY) data, and that is a new compiler option called ZONECHECK. It is similar to SSRANGE in that it tells the compiler to generate code to validate the data for every reference to numeric DISPLAY data items that are input to a statement. The method used is the NUMERIC Class Test. This option could be used to determine if your zoned decimal data items are using valid signs on input. Cheers, TomR >> COBOL is the Language of the Future! << ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
