This section describes the syntax and parameters you need to invoke
Language Environment callable
services.
- CEExxxx
- The name of the callable service. By including a reference to
a header file in your code, you can avoid declaring each callable
service as an external entry. See Header, copy, or include files for
these file names.
- parm1 parm2 ... parmn
- Optional or required parameters passed to or returned from the
called service. Some callable service parameters are optional in C/C++ and PL/I only.
If you do not want to pass the parm or you do not want the return
value, you can omit the parm, using the appropriate syntax to indicate
that the parm is omitted.
- fc
- A feedback code that indicates the result of the service. fc can
be omitted when you use C/C++, PL/I, and COBOL (COBOL for MVS & VM Release
2 or later).
If
you specify fc as an argument, feedback
information in the form of a condition token is returned to the calling
routine. The condition token indicates whether the service completed
successfully or whether a condition was encountered while the service
was running. In Language Environment you can
decode the condition token so that it can be acted on.
If you
omit fc as an argument, using the appropriate
syntax to indicate fc is omitted, the condition
is signaled if the service was not successful.
Because callable
services call other services, these other services might generate
feedback codes.