TNS/R Native Application Migration Guide

COBOL85 Migration Tasks
TNS/R Native Application Migration Guide523745-001
4-5
Removal Required
USE DEBUGGING statement
The 1985 COBOL standard classifies the USE DEBUGGING statement as
obsolete, so you are advised not to use it even in TNS COBOL85 programs. The
NMCOBOL compiler does not recognize the USE DEBUGGING statement, and
the COBOL85 compiler no longer recognizes the names of the debug items, which
are:
°
DEBUG-CONTENTS
°
DEBUG-ITEM
°
DEBUG-LINE
°
DEBUG-NAME
°
DEBUG-SUB-1
°
DEBUG-SUB-2
°
DEBUG-SUB-3
Remove any references to these TNS libraries, which NMCOBOL cannot use and does
not need.
CBL85UTL
COBOLLIB
CLULIB
Make these substitutions:
References to the preceding libraries could have appeared in the following contexts:
CONSULT directive
LIBRARY directive
SEARCH directive
File-mnemonic clause of the SPECIAL-NAMES paragraph
OF or IN clause of the CALL or ENTER statement
Replace ... With ...
COBOLEX0 NMCOBEX0
COBOLEX1 NMCOBEX1
COBOLEXT NMCOBEXT