In Rational® Developer for System z® Version 7.6, COBOL for Windows® is enhanced to provide traceback information for some runtime messages. If traceback information is available for a given message, additional lines of information appear after the message text.
cob2 -g FNREM01.CBLresults in the source-file name FNREM01.CBL and a line number 1839 from the source file appearing in the traceback information for message IWZ036W:
IWZ036W Truncation of high order digit positions occurred in program FNREM01
on line number 1967.
iwzrlib.dll : 0
FNREM01.CBL : 1839
iwzrlib.dll : 0
iwzrwin1.obj : 0
kernel32.dll : 0
cob2 FNREM01.CBLresults in the executable-file name FNREM01.exe and a line number 0 appearing in the traceback information for message IWZ036W:
IWZ036W Truncation of high order digit positions occurred in program FNREM01
on line number 1967.
iwzrlib.dll : 0
FNREM01.exe : 0
iwzrlib.dll : 0
iwzrwin1.obj : 0
kernel32.dll : 0
Traceback information is directed to stderr.
COBOL for Windows Programming Guide content will be updated at a future release to indicate these changes.