Binder Manual (G06.24+, H06.03+)

BIND Commands
Binder Manual528613-003
3-56
SELECT Command
Binder groups return values (values returned on the stack) into these classes:
°
Two-byte scalar.
°
Four-byte scalar.
°
Four-byte real scalar.
°
Eight-byte scalar.
°
Eight-byte real scalar.
°
No return type.
Binder provides language consistency checking by making sure that callers specify
the correct language for called routines. If a caller explicitly states that the
language of a called routine is unspecified, Binder does not perform this check.
If one caller specifies one language, and a subsequent caller specifies a different
language, and neither of them has been resolved, Binder issues the message:
**** WARNING 149 **** Referencing procedures do not agree
on the language of procedure procedure-name.
After it issues the message, Binder must determine which language to use for
subsequent checking. If either caller is written in the same language as the called
routine, Binder uses that language. If both callers specify languages other than that
of the called routine, Binder selects the language of one of the caller routines.
Binder makes this selection in the following order: COBOL85, FORTRAN, TAL, C,
Pascal. For example, if one caller specifies C and another caller specifies
COBOL85, Binder selects COBOL85 for the called routine.
Once Binder has determined the language of a called routine, and a caller
specifies a different language, Binder issues the message:
**** WARNING 148 **** Referencing procedures claim
that procedure procedure-name is written in a
different language.
If Binder issues these messages during a bind session, examine calls to the
named procedure in your source code to make sure they specify the correct
language. Note that two routines in the same object file cannot have the same
name, even if they are written in different languages.
Considerations
The SELECT command accepts OSS pathnames.
OMIT does not remove an entry point name from the include list.You cannot use
OMIT for nested code blocks.
REFER works only for entry point references that are not present; it does not apply
to entry points already on the include list.