C and C++ language options to use with the installation verification procedures

The Db2 C and C++ samples can be run with some compiler options.

These options, which were tested by IBM®, are shown in the following tables.

If you have a problem executing the Db2 C and C++ samples, ensure that your compiler options are consistent with the options in the following tables.

Table 1. C language options
Options Options Options Options Options
NOAGGR
NOALIAS
ARGPARSE1
NOCHECKOUT2
NOCSECT
NODECK
NODLL
NOSSCOMM
NOUPCONV
NOEVENTS
EXECOPS
NOEXPMAC
NOEXPORTALL
FLAG(I)
NOGONUMBER
HALT(16)1
START
XREF
NOHWOPTS
NOINLINE3
LIST
NOLOCALE
NOLONGNAME
NOLSEARCH
MAXMEM(2000)4
TARGET(LE)
NOMEMORY
NESTINC(255)
OBJECT
NOOE1
NOOFFSET
NOOPTIMIZE
PLIST(HOST1
TERMINAL
NOPPONLY
REDIR1
NORENT
NOSEARCH
NOSHOWINC
SOURCE
SPILL(128)4
NOTEST5
Note:
  • 1 This option is used by IBM C/C++ for z/OS®.
  • 2 NOPPTRACE, PPCHECK, GOTO, ACCURACY, PARM, NOENUM, NOEXTERN, TRUNC, INIT, NOPORT, GENERAL.
  • 3 AUTO, NOREPORT, 100, 1000.
  • 4 This option is used only by IBM AD/Cycle C/370 V1R2.
  • 5 SYM, BLOCK, LINE, NOPATH.

The table below contains the C++ language options.

Table 2. C++ language options
Options Options Options Options Options
ARGPARSE
NOATTRIBUTE
NOCSECT
EXECOPS
NOEXPMAC
NOEXPORTALL
FLAG(I)
NOGONUMBER
NOINFO
NOINLRPT
LANGLVL(EXTENDED)
NOLIST
NOLOCALE
LONGNAME
MARGINS
NESTINC(255)
OBJECT
NOOE
NOOFFSET
OPTIMIZE(0)
PLIST(HOST)
NOPPONLY
REDIR
NOSHOWINC
NOSOM
SOMEINIT
NOSOMGS
SOURCE
NOSRCMSG
START
TARGET(LE)
TERMINAL
NOTEST
XREF
HALT(16)
MEMORY
NOSEQUENCE
TEMPINC
 

The installation CLIST customizes C++ compiler parameters in sample job DSNTEJ2E if you have specified C++ for MVS/ESA V3R2 or a subsequent release on panel DSNTIPU.