TNS/R Native Application Migration Guide
TNS/R Native Application Migration Guide—523745-001
4-1
4 COBOL85 Migration Tasks
This section describes how to migrate COBOL85 programs to TNS/R native mode.
The compilers to which this section applies are:
You can have COBOL85 source programs that can be compiled with the D32.00,
D42.00, and D44.00 versions of the COBOL85 compilers and the D44.01 version of
the NMCOBOL compiler—“common source code.”
The code space limit for a TNS COBOL85 program is 128 KB. For a native COBOL85
program, it is 32 megabytes.
The data space limit of approximately 60 KB for the sum of all of the Working-Storage
Sections and File Sections of a TNS process does not apply to native COBOL85
programs. The Working-Storage Section and the Extended-Storage Section are the
same in native COBOL85. The small data area is limited to 32,768 characters, but you
can use the LARGEDATA directive to put additional data items in the large data space.
Subsections:
•
Migrating COBOL85 Programs
•
Changing the Source Program on page 4-4
•
Using the Inspect Debugger for Native COBOL85 Programs on page 4-10
Migrating COBOL85 Programs
The recommended procedure for migration from TNS COBOL85 to native COBOL85
is:
1. Change your program so that it runs in the CRE, if it does not already (see the
COBOL85 for NonStop Systems Manual).
2. Verify that you have adequate system resources for the migrated programs.
Native object files use approximately the same amount of disk space as
accelerated object files. Native processes use approximately the same amount of
processor memory as TNS processes running in accelerated mode.
Compiler T Number
TNS COBOL85 T9257
TNS cobol T8498
TNS/R NMCOBOL T8107
TNS/R nmcobol T8107