Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
C/C++ syntax z/OS Language Environment Programming Reference SA38-0683-00 |
|
In C or C++, use the following syntax to invoke a Language Environment callable service with a feedback code in effect: Syntax >>-ceexxxx--(parm1, parm2, ...parmn, fc);---------------------->< Note: "..." is "and so on," not the C ellipsis operator.
Use the following syntax to invoke callable services with an omitted feedback code parameter: Syntax >>-CEExxxx--(parm1, parm2, ...parmn, NULL);-------------------->< See Parameter list for invoking callable services for a description of this syntax. Language Environment callable services always have a return type of void and should be prototyped as such. Input strings for callable services are not NULL terminated in C/C++. You can use the SCEEH.H file leawi.h to declare Language Environment callable services, in conjunction with a C/C++ call to a Language Environment callable service, as shown in Figure 1. Figure 1. Sample
callable services invocation syntax for C/C++
To help in checking the success of your applications, Language Environment provides FBCHECK in the ceeedcct.h file. FBCHECK compares a feedback code against a condition token you supply to determine whether you receive the feedback code you should. |
Copyright IBM Corporation 1990, 2014
|