COBOL Manual for TNS/E Programs (H06.03+)
Migrating TNS/R Programs to TNS/E Programs
HP COBOL Manual for TNS/E Programs—520347-003
33-3
Source Program Changes
4. Compile your source program with the ECOBOL compiler.
For the Guardian environment, see Running the Compiler. For the OSS
environment, see Section 19, Using HP COBOL in the OSS Environment.
The ECOBOL compiler needs more symbol table space than the NMCOBOL
compiler does. If the ECOBOL compilation fails due to dictionary overflow, use the
PARAM SYMBOL-BLOCKS command to increase the space available for the
symbol table and embedded SQL/MP statements and then recompile.
5. Run the HP COBOL program that you compiled in Step 4.
6. If necessary, debug the program.
Source Program Changes
Source program changes fall into these categories:
•
General Migration Tasks
•
Removal Required
•
Possible Changes Required
•
Removal Optional
General Migration Tasks
If your HP COBOL program calls obsolete or changed Guardian procedures, replace
them. Change any calls to procedures affected by either the Kernel Managed Swap
Facility (KMSF) or the native process architecture (for example, process creation calls).
For more information on the obsolete or changed procedures, see the H-Series
Application Migration Guide.
Removal Required
Replace any references to TNS/R libraries with references to the analogous TNS/E
libraries:
References to TNS/R libraries can appear in these contexts:
•
CONSULT directive
•
SEARCH directive
•
File-mnemonic clause of the SPECIAL-NAMES paragraph
•
OF or IN clause of the CALL or ENTER statement
Replace ... With ...
NMCOBEX0 ECOBEX0
NMCOBEX1 ECOBEX1
NMCOBEXT ECOBEXT










