Developer for System z
COBOL for Windows, Version 7.5, Programming Guide
Compiling, linking, running, and debugging your program
Compiling, linking, and running programs
Setting environment variables
Setting environment variables for COBOL for Windows
Compiler environment variables
Linker environment variables
Runtime environment variables
TZ environment parameter variables
Compiling programs
Compiling from the command line
Examples: using cob2 for compiling
Compiling using batch files or command files
Specifying compiler options with the PROCESS (CBL) statement
Correcting errors in your source program
Severity codes for compiler error messages
Generating a list of compiler error messages
Messages and listings for compiler-detected errors
Format of compiler error messages
cob2 options
Options that apply to compiling
Options that apply to linking
Options that apply to both compiling and linking
Linking programs
File names and extensions supported by cob2
Specifying linker options
Linking through the compiler
Linking from the command line
Examples: using cob2 for linking
Example: overriding linker options
Linker input and output files
Linker search rules
Example: linker search rules
File-name defaults
Correcting errors in linking
Linker return codes
Linker errors in program-names
Using NMAKE to update projects
Running NMAKE on the command line
Running NMAKE with a command file
Defining description files for NMAKE
Running programs
Redistributing COBOL for Windows DLLs
Compiling, linking, and running OO applications
Compiling OO applications
Preparing OO applications
Example: compiling and linking a COBOL class definition
Running OO applications
Running OO applications that start with a main method
Running OO applications that start with a COBOL program
Compiler options
Conflicting compiler options
ADATA
ARITH
BINARY
CALLINT
CHAR
CICS
COLLSEQ
COMPILE
CURRENCY
DATEPROC
DIAGTRUNC
DYNAM
ENTRYINT
EXIT
Character string formats
User-exit work area
Linkage conventions
Parameter list for exit modules
Using INEXIT
Using LIBEXIT
Using PRTEXIT
Using ADEXIT
FLAG
FLAGSTD
FLOAT
LIB
LINECOUNT
LIST
LSTFILE
MAP
MDECK
NCOLLSEQ
NSYMBOL
NUMBER
OPTIMIZE
PGMNAME
PGMNAME(UPPER)
PGMNAME(MIXED)
PROBE
QUOTE/APOST
SEPOBJ
Batch compilation
SEQUENCE
SIZE
SOSI
SOURCE
SPACE
SQL
SSRANGE
TERMINAL
TEST
THREAD
TRUNC
TRUNC example 1
TRUNC example 2
VBREF
WSCLEAR
XREF
YEARWINDOW
ZWB
Compiler-directing statements
Linker options
/?
/ALIGNADDR
/ALIGNFILE
/BASE
/CODE
/DATA
/DBGPACK, /NODBGPACK
/DEBUG, /NODEBUG
/DEFAULTLIBRARYSEARCH, /NODEFAULTLIBRARYSEARCH
/DLL
/ENTRY
/EXECUTABLE
/EXTDICTIONARY, /NOEXTDICTIONARY
/FIXED, /NOFIXED
/FORCE, /NOFORCE
/HEAP
/HELP
/INCLUDE
/INFORMATION, /NOINFORMATION
/LINENUMBERS, /NOLINENUMBERS
/LOGO, /NOLOGO
/MAP, /NOMAP
/OUT
/PMTYPE
/SECTION
/SEGMENTS
/STACK
/STUB
/SUBSYSTEM
/VERBOSE, /NOVERBOSE
/VERSION
Runtime options
CHECK
DEBUG
ERRCOUNT
FILESYS
TRAP
UPSI
Debugging
Debugging with source language
Tracing program logic
Finding and handling input-output errors
Validating data
Finding uninitialized data
Generating information about procedures
Example: USE FOR DEBUGGING
Debugging using compiler options
Finding coding errors
Finding line sequence problems
Checking for valid ranges
Selecting the level of error to be diagnosed
Example: embedded messages
Finding program entity definitions and references
Listing data items
Using the debugger
Getting listings
Example: short listing
Example: SOURCE and NUMBER output
Example: MAP output
Example: embedded map summary
Terms and symbols used in MAP output
Example: nested program map
Example: XREF output - data-name cross-references
Example: XREF output - program-name cross-references
Example: embedded cross-reference
Example: VBREF compiler output
Debugging user exits
Debugging assembler routines
Terms of use
|
Feedback
Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)