z/OS Language Environment Concepts Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Invoking callable services from PL/I

z/OS Language Environment Concepts Guide
SA38-0687-00

In PL/I, invoke a Language Environment callable service (with feedback code) using the following syntax:

Figure 1. Sample invocation of a callable service from PL/I
%INCLUDE CEEIBMAW
⋮
CALL CEESERV (parm1, parm2, ... parmn, fc);

CEEIBMAW is an include file shipped with Language Environment that contains declarations of Language Environment callable services.

PL/I allows you to omit arguments when invoking callable services. To do so, code an asterisk (*) in place of the argument.

Figure 2. Omitting the feedback code when calling a service from PL/I
%INCLUDE CEEIBMAW
⋮
CALL CEESERV (parm1, parm2, ... parmn, *);

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014