Binder Manual (G06.24+, H06.03+)
Using Binder
Binder Manual—528613-003
2-9
Examples
Use the Binder INFO command with the DETAIL clause to show the ENV attribute of a
particular data or code block. For example:
Examples
The following examples show the different combinations for binding C, COBOL85, and
TAL modules. Pascal modules can be substituted for C modules and FORTRAN
modules can be substituted for COBOL85 modules throughout these examples.
•
Binding a C-series C module with a D-series C module
A C-series C module is a member of the OLD Binder group. A D-Series C module
is a member of the COMMON Binder group.
You cannot bind these two modules together without recompilation. You must
recompile the C-series module using a D-series compiler to bind these modules.
•
Binding a C-series COBOL85 module with a D-series COBOL85 module
A C-series COBOL85 module is a member of the OLD Binder group. A D-series
COBOL85 module can be a member of either the OLD or COMMON Binder
groups.
You can bind the C-series module with a D-series module compiled without an
ENV directive or with an ENV OLD directive.
Otherwise, you must recompile, recompile the C-series module using a D-series
compiler with an ENV COMMON directive.
•
Binding a D-series C module with a D-series COBOL85 module
A D-series C module is a member of the COMMON Binder group. A D-series
COBOL85 module can be a member of either the OLD or COMMON Binder
groups.
You must compile the COBOL85 module with an ENV COMMON directive to bind
these two modules together.
Table 2-3. Run-Time Environment Resulting From Binding Modules
Binder Group
Binder Group OLD COMMON NEUTRAL
OLD language-specific Not allowed language-specific
COMMON Not allowed CRE CRE
NEUTRAL
language-specific CRE language-specific or
CRE
@ add * from test
@ info *, detail
TEST^PROCEDURE 167
LANG: TAL ENV: NEUTRAL TIME: 1994-06-19 09:48