On Thu, Jun 1, 2017 at 12:04 AM, Peter Hunkeler <[email protected]> wrote: > > <snip> > > What is special about COBOL's standard: Truncation also silently occurs > with computational fields. > > @John: > There's the DIAGTRUNC compiler option which causes truncation to be > flagged. >
Only applies to MOVE statements with _numeric receivers_ per https://www.ibm.com/support/knowledgecenter/SS6SG3_6.1.0/com.ibm.cobol61.ent.doc/custom/igycch220.html Causes the compiler to issue a severity-4 (warning) diagnostic message for MOVE statements with numeric receivers when the receiving data item has fewer integer positions than the sending data item or literal. > > -- > Peter Hunkeler > > -- Windows. A funny name for a operating system that doesn't let you see anything. Maranatha! <>< John McKown ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
