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


Invoking callable services from COBOL

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

In COBOL, invoke a Language Environment callable service using the following syntax:

Figure 1. Sample invocation of a callable service from COBOL
01 Feedback.
COPY CEEIGZCT
⋮
CALL "CEESERV" USING parm1 parm2 ... parmn fc

CEEIGZCT is an include file shipped with Language Environment that contains declarations of Language Environment symbolic feedback codes.

You can omit the feedback code parameter in COBOL for OS/390® & VM and COBOL for MVS & VM as shown in the following syntax:
Figure 2. Omitting the feedback code when calling a service from COBOL
01 Feedback.
COPY CEEIGZCT
CALL "CEESERV" USING parm1 parm2 ... parmn OMITTED

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014