And unfortunately it does NOT allow the same range of values that the C/C++ compiler's ARCH option allows. The C/C++ compiler will generate code for ARCH(0) (generates code "suitable for all models") to ARCH(10) (generates code for EC12):
http://publibfp.dhe.ibm.com/cgi-bin/bookmgr/BOOKS/cbcug1b0/4.20?DT=20120802022433 It would appear that either I was wrong in my assumption that COBOL had adopted the C/C++ back end or else in adopting it they restricted the possible values which can be used to z990/z890 and up. Peter -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Norbert Friemel Sent: Thursday, July 18, 2013 7:17 PM To: [email protected] Subject: Re: COBOL Parser On Thu, 18 Jul 2013 18:12:42 -0500, Norbert Friemel wrote: > >There's an ARCH option in COBOL 5.1: >http://pic.dhe.ibm.com/infocenter/pdthelp/v1r1/index.jsp?topic=%2Fcom.ibm.entcobol.doc_5.1%2FPGandLR%2Frlpre.html > http://pic.dhe.ibm.com/infocenter/pdthelp/v1r1/index.jsp?topic=%2Fcom.ibm.entcobol.doc_5.1%2Fcustom%2Figycch319.html Norbert Friemel -- This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
